OAI/Computability/TypeSystem/Values.lean
119 declarations, 0 contain sorry, 0 declared as axioms
The actual candidate bases and the three kinds of observation values. Plain indices retain their exact normalized expression tag. All coordinates are candidates, rather than arbitrary sets of terms.
- theorem
OAI.PureTypeSystem.PrimaryEdge.target_feasibleline 14 - theorem
OAI.PureTypeSystem.ObservationLayers.nonemptyline 23 - theorem
OAI.PureTypeSystem.ActiveLayer.nonemptyline 32 - theorem
OAI.PureTypeSystem.ActiveLayer.classifyline 34 - abbrev
OAI.PureTypeSystem.ObservationValues.Candidateline 49 - abbrev
OAI.PureTypeSystem.ObservationValues.ActualTypeline 50 - abbrev
OAI.PureTypeSystem.ObservationValues.Baseline 51 - def
OAI.PureTypeSystem.ObservationValues.topBaseline 53 - def
OAI.PureTypeSystem.ObservationValues.Base.updateline 56Source documentation
The exact coordinate update used at product syntax.
noncomputable def Base.update (b : Base Ω) (T : ActualType Ω) (A : Candidate Ω T.val) : Base Ω := …
Mentions: OAI.PureTypeSystem.ObservationValues.Base, OAI.PureTypeSystem.ObservationValues.ActualType, OAI.PureTypeSystem.ObservationValues.Candidate
- theorem
OAI.PureTypeSystem.ObservationValues.Base.update_sameline 59 - theorem
OAI.PureTypeSystem.ObservationValues.Base.update_otherline 62 - abbrev
OAI.PureTypeSystem.ObservationValues.PlainValueline 68 - abbrev
OAI.PureTypeSystem.ObservationValues.Plusline 69 - abbrev
OAI.PureTypeSystem.ObservationValues.Minusline 70 - inductive
OAI.PureTypeSystem.ObservationValues.RawValueline 72 - def
OAI.PureTypeSystem.ObservationValues.Fitsline 78Source documentation
The tag and sign checks for an actual normalized type.
def Fits (T : Expr S) : RawValue (hw := hw) Ω C hno → Prop …
Mentions: OAI.PureTypeSystem.Expr, OAI.PureTypeSystem.ObservationValues.RawValue
- abbrev
OAI.PureTypeSystem.ObservationValues.Valueline 83 - structure
OAI.PureTypeSystem.ObservationValues.ActiveTypeline 85 - abbrev
OAI.PureTypeSystem.ObservationValues.ActiveType.ofActualline 93 - def
OAI.PureTypeSystem.ObservationValues.ActiveType.actualline 105 - def
OAI.PureTypeSystem.ObservationValues.plainDefaultline 108 - def
OAI.PureTypeSystem.ObservationValues.distinguishedline 111 - def
OAI.PureTypeSystem.ObservationValues.RawValue.baseline 124 - def
OAI.PureTypeSystem.ObservationValues.withBaseline 130Source documentation
Updating only the base keeps every nonempty observation unchanged.
noncomputable def withBase (T : ActiveType Ω C) (b : Base Ω) : Value (hw := hw) Ω C hno T.type := by …
Mentions: OAI.PureTypeSystem.ObservationValues.ActiveType, OAI.PureTypeSystem.ObservationValues.Base, OAI.PureTypeSystem.ObservationValues.Value
- theorem
OAI.PureTypeSystem.ObservationValues.withBase_baseline 145 - def
OAI.PureTypeSystem.ObservationValues.projectline 157Source documentation
Invalid exit tags receive exactly the distinguished target.
noncomputable def project (T : ActiveType Ω C) (v : RawValue (hw := hw) Ω C hno) : Value (hw := hw) Ω C hno T.type := …
Mentions: OAI.PureTypeSystem.ObservationValues.ActiveType, OAI.PureTypeSystem.ObservationValues.RawValue, OAI.PureTypeSystem.ObservationValues.Value
- theorem
OAI.PureTypeSystem.ObservationValues.project_validline 160 - def
OAI.PureTypeSystem.ObservationValues.RawValue.LevelEqline 175 - def
OAI.PureTypeSystem.ObservationValues.RawValue.Boundedline 181 - theorem
OAI.PureTypeSystem.ObservationValues.RawValue.level_reflline 186 - theorem
OAI.PureTypeSystem.ObservationValues.RawValue.level_monoline 189 - theorem
OAI.PureTypeSystem.ObservationValues.RawValue.bounded_monoline 194 - theorem
OAI.PureTypeSystem.ObservationValues.RawValue.exists_boundline 199 - theorem
OAI.PureTypeSystem.ObservationValues.RawValue.level_baseline 205 - theorem
OAI.PureTypeSystem.FreeLayer.path_signline 218 - structure
OAI.PureTypeSystem.ObservationValues.FrameKeyline 230Source documentation
A frame's key has the exact normalized domain and active target.
structure FrameKey (T : ActiveType Ω C) where …
- theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.sortedline 242 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.domain_normalline 245 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.body_normalline 247 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.domain_sortedline 249 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.target_sortedline 253 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.profile_dataline 259 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.target_pathline 269 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.domain_activeline 275 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.domain_edgeline 280 - def
OAI.PureTypeSystem.ObservationValues.FrameKey.targetline 285 - def
OAI.PureTypeSystem.ObservationValues.FrameKey.domainTypeline 295 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.plain_targetline 298 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.plain_domainline 302 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.free_target_signline 306 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.free_domain_signline 313 - theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.domain_directline 321Source documentation
The third binder fact: quantified active payloads in a component's product candidate are direct and hence can never be free minus.
theorem domain_direct (hC : IsComponent (PrimaryEdge P) C) (hK : Ω.profile T.type ∈ C) (hL : Ω.profile (a.target hw).type ∈ C) (hd : ActiveLayer P C (Ω.profile a.domain)) : DirectLayer P C (Ω.profile a.domain) := by …Mentions: OAI.PureTypeSystem.IsComponent, OAI.PureTypeSystem.PrimaryEdge, OAI.PureTypeSystem.ActiveLayer, OAI.PureTypeSystem.DirectLayer
- theorem
OAI.PureTypeSystem.ObservationValues.FrameKey.domain_not_minusline 330 - def
OAI.PureTypeSystem.ObservationValues.PayloadFitsline 340Source documentation
Absence is mandatory at inactive domains. There are no latent values.
def PayloadFits (D : Expr S) (p : Option (RawValue (hw := hw) Ω C hno)) : Prop := …
Mentions: OAI.PureTypeSystem.Expr, OAI.PureTypeSystem.ObservationValues.RawValue
- theorem
OAI.PureTypeSystem.ObservationValues.Fits.activeline 347 - abbrev
OAI.PureTypeSystem.ObservationValues.PlusFrameline 354 - abbrev
OAI.PureTypeSystem.ObservationValues.MinusFrameline 356 - def
OAI.PureTypeSystem.ObservationValues.plusPayloadline 359 - def
OAI.PureTypeSystem.ObservationValues.minusPayloadline 365 - def
OAI.PureTypeSystem.ObservationValues.Gateline 372Source documentation
Exact gates for continue/exit operations at free lambdas.
def Gate (T : ActiveType Ω C) (q : Expr S) (p : Option (RawValue (hw := hw) Ω C hno)) (exit : Bool) : Prop := …Mentions: OAI.PureTypeSystem.ObservationValues.ActiveType, OAI.PureTypeSystem.Expr, OAI.PureTypeSystem.ObservationValues.RawValue
- theorem
OAI.PureTypeSystem.Converts.appline 381 - theorem
OAI.PureTypeSystem.Converts.lamline 387 - theorem
OAI.PureTypeSystem.Expr.Scoped.subst_convertsline 396 - theorem
OAI.PureTypeSystem.Lookup.exists_of_ltline 415 - theorem
OAI.PureTypeSystem.Lookup.uniqueline 425 - theorem
OAI.PureTypeSystem.ContextTower.HasType.actual_typeline 435 - theorem
OAI.PureTypeSystem.ContextTower.HasType.actual_expressionline 441 - def
OAI.PureTypeSystem.ObservationValues.Parameter.Boundedline 453 - def
OAI.PureTypeSystem.ObservationValues.Parameter.LevelEqline 456 - theorem
OAI.PureTypeSystem.ObservationValues.Parameter.level_reflline 462 - theorem
OAI.PureTypeSystem.ObservationValues.Parameter.level_monoline 467 - theorem
OAI.PureTypeSystem.ObservationValues.Parameter.bounded_monoline 472 - theorem
OAI.PureTypeSystem.ObservationValues.Parameter.exists_boundline 475 - structure
OAI.PureTypeSystem.ObservationValues.Environmentline 485Source documentation
Typed raw substitutions with precisely one observation parameter per active actual declaration and none at inactive declarations.
structure Environment (Γ : List (Expr S)) where …
Mentions: OAI.PureTypeSystem.Expr
- def
OAI.PureTypeSystem.ObservationValues.Environment.Boundedline 494 - def
OAI.PureTypeSystem.ObservationValues.Environment.ImageCompatibleline 496 - def
OAI.PureTypeSystem.ObservationValues.Environment.LevelEqline 499 - theorem
OAI.PureTypeSystem.ObservationValues.Environment.bounded_monoline 502 - theorem
OAI.PureTypeSystem.ObservationValues.Environment.exists_boundline 505 - theorem
OAI.PureTypeSystem.ObservationValues.Environment.level_reflline 519 - theorem
OAI.PureTypeSystem.ObservationValues.Environment.level_monoline 522 - def
OAI.PureTypeSystem.ObservationValues.Environment.consline 527Source documentation
Binding a raw actual term does not normalize or evaluate its syntax.
def cons {A a : Expr S} (ha : Ω.HasType a (A.subst e.images)) (p : Option (RawValue (hw := hw) Ω C hno)) …Mentions: OAI.PureTypeSystem.Expr, OAI.PureTypeSystem.ObservationValues.RawValue
- theorem
OAI.PureTypeSystem.ObservationValues.Environment.bounded_consline 540 - theorem
OAI.PureTypeSystem.ObservationValues.Environment.actual_expr_eqline 550 - theorem
OAI.PureTypeSystem.ObservationValues.Environment.actual_type_eqline 557 - theorem
OAI.PureTypeSystem.WeaklyNormalizing.pi_domainline 568 - theorem
OAI.PureTypeSystem.WeaklyNormalizing.pi_bodyline 572 - theorem
OAI.PureTypeSystem.Expr.instantiate_liftSubline 580 - theorem
OAI.PureTypeSystem.ContextTower.HasType.denormalize_typeline 593 - theorem
OAI.PureTypeSystem.ObservationValues.PayloadFits.exists_of_actualline 605 - structure
OAI.PureTypeSystem.ObservationValues.ProductInstanceline 613Source documentation
A product's exact stored formation data and its raw environment.
structure ProductInstance where …
- def
OAI.PureTypeSystem.ObservationValues.ProductInstance.rawDomainline 627 - def
OAI.PureTypeSystem.ObservationValues.ProductInstance.rawBodyline 628 - def
OAI.PureTypeSystem.ObservationValues.ProductInstance.domainNFline 629 - def
OAI.PureTypeSystem.ObservationValues.ProductInstance.bodyNFline 630 - def
OAI.PureTypeSystem.ObservationValues.ProductInstance.rawTargetline 631 - def
OAI.PureTypeSystem.ObservationValues.ProductInstance.targetNFline 633 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.rawDomain_typedline 635 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.rawProduct_typedline 638 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.domain_typedline 641 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.domain_normalline 643 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.body_normalline 645 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.product_nfline 648 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.product_typedline 652 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.rawArgumentline 656 - def
OAI.PureTypeSystem.ObservationValues.ProductInstance.extendline 659 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.rawTarget_typedline 664 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.target_typedline 668 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.target_normalline 671 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.target_eqline 674 - def
OAI.PureTypeSystem.ObservationValues.ProductInstance.testersline 684Source documentation
The tester set uses the domain Read precisely at this primary component.
noncomputable def testers (d : Candidate Ω t.domainNF) : Set (Expr S) := …
Mentions: OAI.PureTypeSystem.ObservationValues.Candidate, OAI.PureTypeSystem.Expr
- theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.testers_topline 687 - abbrev
OAI.PureTypeSystem.ObservationValues.ProductInstance.BodyReadsline 695Source documentation
Every raw tester and every matching payload has its own body Read. This quantification is over all payloads, not only semantic realizers.
abbrev BodyReads := ∀ (n : Expr S), Ω.HasType n t.domainNF → …
Mentions: OAI.PureTypeSystem.Expr
- def
OAI.PureTypeSystem.ObservationValues.ProductInstance.fibersline 698 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.fibers_candidateline 705 - def
OAI.PureTypeSystem.ObservationValues.ProductInstance.candidateline 718 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.candidate_topline 723 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.candidate_bodyline 726 - theorem
OAI.PureTypeSystem.ObservationValues.ProductInstance.candidate_outsideline 735