Documentation

Cedar.Thm.SymCC.Env.WF

Basic properties of well-formed symbolic environments #

This file proves basic lemmas about well-formedness predicate on environments. #

theorem Cedar.Thm.wf_εs_implies_wf_tags {ety : Spec.EntityType} {τs : SymCC.SymTags} {εs : SymCC.SymEntities} (hwε : εs.WellFormed) (hτs : εs.tags ety = some (some τs)) :
theorem Cedar.Thm.wf_εnv_for_ite_implies {x₁ x₂ x₃ : Spec.Expr} {εnv : SymCC.SymEnv} :
εnv.WellFormedFor (x₁.ite x₂ x₃)εnv.WellFormedFor x₁ εnv.WellFormedFor x₂ εnv.WellFormedFor x₃
theorem Cedar.Thm.wf_env_for_ite_implies {x₁ x₂ x₃ : Spec.Expr} {env : Spec.Env} (h₁ : env.WellFormedFor (x₁.ite x₂ x₃)) :
env.WellFormedFor x₁ env.WellFormedFor x₂ env.WellFormedFor x₃
theorem Cedar.Thm.wf_εnv_for_and_implies {x₁ x₂ : Spec.Expr} {εnv : SymCC.SymEnv} :
εnv.WellFormedFor (x₁.and x₂)εnv.WellFormedFor x₁ εnv.WellFormedFor x₂
theorem Cedar.Thm.wf_env_for_and_implies {x₁ x₂ : Spec.Expr} {env : Spec.Env} :
env.WellFormedFor (x₁.and x₂)env.WellFormedFor x₁ env.WellFormedFor x₂
theorem Cedar.Thm.wf_εnv_for_or_implies {x₁ x₂ : Spec.Expr} {εnv : SymCC.SymEnv} :
εnv.WellFormedFor (x₁.or x₂)εnv.WellFormedFor x₁ εnv.WellFormedFor x₂
theorem Cedar.Thm.wf_env_for_or_implies {x₁ x₂ : Spec.Expr} {env : Spec.Env} :
env.WellFormedFor (x₁.or x₂)env.WellFormedFor x₁ env.WellFormedFor x₂
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem Cedar.Thm.same_domain_symmetric {εs₁ εs₂ : SymCC.SymEntities} :
    SameDomain εs₁ εs₂SameDomain εs₂ εs₁
    theorem Cedar.Thm.wf_uuf_same_domain {εs₁ εs₂ : SymCC.SymEntities} {f : SymCC.UUF} :
    SameDomain εs₁ εs₂SymCC.UUF.WellFormed εs₁ fSymCC.UUF.WellFormed εs₂ f
    theorem Cedar.Thm.wt_op_same_domain {εs₁ εs₂ : SymCC.SymEntities} {op : SymCC.Op} {ts : List SymCC.Term} {ty : SymCC.TermType} :
    SameDomain εs₁ εs₂SymCC.Op.WellTyped εs₁ op ts tySymCC.Op.WellTyped εs₂ op ts ty
    theorem Cedar.Thm.wf_term_same_domain {εs₁ εs₂ : SymCC.SymEntities} {t : SymCC.Term} :
    SameDomain εs₁ εs₂SymCC.Term.WellFormed εs₁ tSymCC.Term.WellFormed εs₂ t
    theorem Cedar.Thm.wf_udf_same_domain {εs₁ εs₂ : SymCC.SymEntities} {f : SymCC.UDF} :
    SameDomain εs₁ εs₂SymCC.UDF.WellFormed εs₁ fSymCC.UDF.WellFormed εs₂ f
    theorem Cedar.Thm.wf_interpretation_same_domain {εs₁ εs₂ : SymCC.SymEntities} {I : SymCC.Interpretation} :
    SameDomain εs₁ εs₂I.WellFormed εs₁I.WellFormed εs₂

    SymEnv being well-formed implies that any attribute function is well-formed