Documentation

Cedar.Thm.SymCC.Term.Same

Properties of the Same predicate on Terms #

This file contains lemmas about the Same predicate on Terms.

theorem Cedar.Thm.same_outcomes_implies_eq {o₁ o₂ : Spec.Outcome Spec.Value} {t : SymCC.Term} :
o₁ to₂ to₁ = o₂
@[irreducible]
theorem Cedar.Thm.record_value?_find?_required {a : Spec.Attr} {tₐ : SymCC.Term} {rt : Data.Map Spec.Attr SymCC.Term} {rv : Data.Map Spec.Attr Spec.Value} (hw : rt.WellFormed) (hty : ∀ (ty : SymCC.TermType), tₐ.typeOf = ty.optionFalse) (hf : rt.find? a = some tₐ) (hr : (SymCC.Term.record rt).value? = some (Spec.Value.record rv)) :
(vₐ : Spec.Value), rv.find? a = some vₐ tₐ.value? = some vₐ
theorem Cedar.Thm.same_value_inj {t₁ t₂ : SymCC.Term} {v : Spec.Value} {εs : SymCC.SymEntities} :
SymCC.Term.WellFormed εs t₁SymCC.Term.WellFormed εs t₂t₁.typeOf = t₂.typeOfv t₁v t₂t₁ = t₂