Documentation

Cedar.Thm.Validation.EnvironmentValidation

This file proves that various *.validateWellFormed functions correctly implement their spec versions.

theorem Cedar.Thm.environment_some_mem_environments {schema : Validation.Schema} {principal resource : Spec.EntityType} {action : Spec.EntityUID} {env : Validation.TypeEnv} (h : schema.environment? principal resource action = some env) :
env ∈ schema.environments

Completeness: well-formed environments pass the executable checks #

Every environment of a schema has the schema's maps and the request type of one of its actions.

A schema passes the well-formedness check when its maps are well-formed in each of its environments.