OAI/Computability/TypeSystem/ObservationReduction.lean
31 declarations, 0 contain sorry, 0 declared as axioms
- theorem
OAI.PureTypeSystem.ObservationValues.Value.asPlus_plusline 13 - theorem
OAI.PureTypeSystem.ObservationValues.Value.asMinus_minusline 16 - theorem
OAI.PureTypeSystem.ObservationValues.plain_betaline 21 - theorem
OAI.PureTypeSystem.ObservationValues.exitValue_tagline 29 - theorem
OAI.PureTypeSystem.ObservationValues.lambdaExit_parameterline 34 - theorem
OAI.PureTypeSystem.ObservationValues.plusContinue_gateline 59 - theorem
OAI.PureTypeSystem.ObservationValues.plusContinue_parameterline 84 - theorem
OAI.PureTypeSystem.ObservationValues.minusContinue_gateline 93 - theorem
OAI.PureTypeSystem.ObservationValues.minusContinue_parameterline 118 - theorem
OAI.PureTypeSystem.ObservationValues.plusLambda_sliceline 127 - theorem
OAI.PureTypeSystem.ObservationValues.minusLambda_sliceline 133 - theorem
OAI.PureTypeSystem.ObservationValues.lambda_betaline 142Source documentation
The raw lambda equation. The sole representability premise is supplied below from the proved uniform finite-bound lemma for an actual body tree.
theorem lambda_beta (T : ActiveType Ω C) (act : LambdaAction (hw := hw) Ω C hno T) …
Mentions: OAI.PureTypeSystem.ObservationValues.ActiveType, OAI.PureTypeSystem.ObservationValues.LambdaAction
- theorem
OAI.PureTypeSystem.ObservationValues.PreResult.abstraction_betaline 188 - theorem
OAI.PureTypeSystem.ObservationValues.PreResult.application_frameline 207 - theorem
OAI.PureTypeSystem.ObservationValues.PreResult.abstractionAction_rawline 223 - theorem
OAI.PureTypeSystem.ObservationValues.application_abstraction_betaline 249 - structure
OAI.PureTypeSystem.ObservationValues.GoodTransportline 293Source documentation
Exact tree transport at a fixed root expectation. Only good observations are equated; raw environments and values are otherwise unrestricted.
structure GoodTransport {Γ : List (Expr S)} {M N T : Expr S} (t : TypingTree P Γ M T) (t' : TypingTree P Γ N T) : Prop where …Mentions: OAI.PureTypeSystem.Expr, OAI.PureTypeSystem.TypingTree
- theorem
OAI.PureTypeSystem.ObservationValues.baseRead_transportline 302 - theorem
OAI.PureTypeSystem.ObservationValues.root_transportline 337 - theorem
OAI.PureTypeSystem.ObservationValues.Environment.cons_imagesline 412 - theorem
OAI.PureTypeSystem.ObservationValues.GoodTransport.reflline 420 - theorem
OAI.PureTypeSystem.ObservationValues.GoodTransport.parameter_eqline 422 - theorem
OAI.PureTypeSystem.ObservationValues.application_transportline 431 - theorem
OAI.PureTypeSystem.ObservationValues.abstraction_transportline 471 - theorem
OAI.PureTypeSystem.ObservationValues.product_transportline 520 - theorem
OAI.PureTypeSystem.ObservationValues.reduction_transportline 603 - theorem
OAI.PureTypeSystem.ObservationValues.GoodTransport.transline 682 - theorem
OAI.PureTypeSystem.ObservationValues.reduces_transportline 696 - theorem
OAI.PureTypeSystem.ObservationValues.normalize_transportline 707Source documentation
The good part of any stored tree is transported to a normal stored tree.
theorem normalize_transport (hC : IsComponent (PrimaryEdge P) C) {Γ : List (Expr S)} {M T : Expr S} (t : TypingTree P Γ M T) : ∃ t' : TypingTree P Γ M.normalForm T, GoodTransport (hw := hw) Ω C hno t t' := …Mentions: OAI.PureTypeSystem.IsComponent, OAI.PureTypeSystem.PrimaryEdge, OAI.PureTypeSystem.Expr, OAI.PureTypeSystem.TypingTree, OAI.PureTypeSystem.ObservationValues.GoodTransport
- theorem
OAI.PureTypeSystem.ObservationValues.good_normal_valueline 714Source documentation
An arbitrary good active value equals every normal-tree value at a convertible expectation. This does not assume goodness of the target tree.
theorem good_normal_value (hC : IsComponent (PrimaryEdge P) C) {Γ : List (Expr S)} {M T U : Expr S} (t : TypingTree P Γ M T) (t' : TypingTree P Γ M.normalForm U) (hc : Converts T U) (e : Environment (hw := hw) Ω C hno Γ) …Mentions: OAI.PureTypeSystem.IsComponent, OAI.PureTypeSystem.PrimaryEdge, OAI.PureTypeSystem.Expr, OAI.PureTypeSystem.TypingTree, OAI.PureTypeSystem.Converts, OAI.PureTypeSystem.ObservationValues.Environment
- theorem
OAI.PureTypeSystem.ObservationValues.good_normal_readline 729Source documentation
An arbitrary good literal-sort Read equals its normal-syntax interpretation, even for a different literal expected sort in a nonfunctional specification.
theorem good_normal_read (hC : IsComponent (PrimaryEdge P) C) {Γ : List (Expr S)} {M : Expr S} {s r : S} (t : TypingTree P Γ M (.sort s)) (t' : TypingTree P Γ M.normalForm (.sort r)) (e : Environment (hw := hw) Ω C hno Γ) (hg : ReadGood Ω C t e.images) : …Mentions: OAI.PureTypeSystem.IsComponent, OAI.PureTypeSystem.PrimaryEdge, OAI.PureTypeSystem.Expr, OAI.PureTypeSystem.TypingTree, OAI.PureTypeSystem.ObservationValues.Environment, OAI.PureTypeSystem.ObservationValues.ReadGood