Documentation

Cedar.Thm.Validation.Typechecker.Types

This file contains useful definitions and lemmas about Cedar types.

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        For every entity (uid, data) in the store,

        1. The entity's type is defined in the type store.
        2. The entity's attributes match the attribute types indicated in the type store.
        3. The entity's ancestors' types are consistent with the ancestor information in the type store.
        4. The entity's tags' types are consistent with the tags information in the type store.
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Similar to WellFormedEntityData, but a special case for action entities since they are stored disjoint from ets

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Each entry in the store is valid

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                @[irreducible]
                theorem Cedar.Thm.instance_of_lub_left {env : Validation.TypeEnv} {v : Spec.Value} {ty ty₁ ty₂ : Validation.CedarType} (h₁ : (ty₁ ty₂) = some ty) (h₂ : InstanceOfType env v ty₁) :
                theorem Cedar.Thm.instance_of_lub {env : Validation.TypeEnv} {v : Spec.Value} {ty ty₁ ty₂ : Validation.CedarType} (h₁ : (ty₁ ty₂) = some ty) (h₂ : InstanceOfType env v ty₁ InstanceOfType env v ty₂) :

                TODO: move this back to Cedar/Thm/Validation/Typechecker/LitVar.lean after we fix the proof.

                Obtains the fact of well-formed environment from InstanceOfWellFormedEnvironment.