OAI/Computability/TypeSystem/Candidates.lean
31 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.PureTypeSystem.Candidates.ActualTypeline 14Source documentation
Source actual types: a normal sorted expression, or a literal sort.
def ActualType (T : Expr S) : Prop := …
Mentions: OAI.PureTypeSystem.Expr
- def
OAI.PureTypeSystem.Candidates.Topline 17 - inductive
OAI.PureTypeSystem.Candidates.TestedStackline 21Source documentation
Tests follow the exact normal successive types, not other typings.
inductive TestedStack : Expr S → List (Expr S) → Prop | nil (T) : TestedStack T [] | cons {D E n ns} : n ∈ Top Ω D → TestedStack (E.instantiate n).normalForm ns → TestedStack (.pi D E) (n :: ns)Mentions: OAI.PureTypeSystem.Expr, OAI.PureTypeSystem.Candidates.Top
- def
OAI.PureTypeSystem.Candidates.Groundline 26 - theorem
OAI.PureTypeSystem.Candidates.TestedStack.snline 33 - theorem
OAI.PureTypeSystem.Candidates.TestedStack.forall_snline 38 - theorem
OAI.PureTypeSystem.Candidates.ground_le_topline 51 - theorem
OAI.PureTypeSystem.Candidates.sort_ground_eq_topline 55 - theorem
OAI.PureTypeSystem.Candidates.var_groundline 63 - theorem
OAI.PureTypeSystem.Candidates.ground_applicationline 66 - def
OAI.PureTypeSystem.Candidates.ExpansionClosedline 74Source documentation
Head expansion, with exact typing and SN of every annotation/spine component.
def ExpansionClosed (Ω : ContextTower P) (T : Expr S) (C : Set (Expr S)) : Prop := …
Mentions: OAI.PureTypeSystem.ContextTower, OAI.PureTypeSystem.Expr
- structure
OAI.PureTypeSystem.Candidates.IsCandidateline 81 - theorem
OAI.PureTypeSystem.Candidates.top_candidateline 86 - def
OAI.PureTypeSystem.Candidates.Meetline 93Source documentation
The bounded intersection makes the empty meet the typed top.
def Meet (Ω : ContextTower P) (T : Expr S) (Cs : Set (Set (Expr S))) : Set (Expr S) := …
Mentions: OAI.PureTypeSystem.ContextTower, OAI.PureTypeSystem.Expr
- theorem
OAI.PureTypeSystem.Candidates.meet_candidateline 96 - def
OAI.PureTypeSystem.Candidates.Bottomline 106 - theorem
OAI.PureTypeSystem.Candidates.bottom_candidateline 109 - theorem
OAI.PureTypeSystem.Candidates.bottom_leline 112 - def
OAI.PureTypeSystem.Candidates.ProductTestline 116Source documentation
Arbitrary indexed product tests.
def ProductTest (Ω : ContextTower P) (D E : Expr S) (A : Set (Expr S)) (Cs : Expr S → Set (Set (Expr S))) : Set (Expr S) := …Mentions: OAI.PureTypeSystem.ContextTower, OAI.PureTypeSystem.Expr
- theorem
OAI.PureTypeSystem.Candidates.productTest_candidateline 120 - abbrev
OAI.PureTypeSystem.Candidates.Candidateline 163 - instance
OAI.PureTypeSystem.Candidates.(instance at line 165)line 165 - instance
OAI.PureTypeSystem.Candidates.(instance at line 170)line 170 - def
OAI.PureTypeSystem.Candidates.SignedCandidateline 181Source documentation
Changing coordinate order changes no candidate sets.
def SignedCandidate (b : Bool) : Type u := if b then (Candidate Ω T)ᵒᵈ else Candidate Ω T
Mentions: OAI.PureTypeSystem.Candidates.Candidate
- instance
OAI.PureTypeSystem.Candidates.(instance at line 183)line 183 - def
OAI.PureTypeSystem.Candidates.SignedCandidate.setline 191 - def
OAI.PureTypeSystem.Candidates.SignedCandidate.wrapline 194 - theorem
OAI.PureTypeSystem.Candidates.SignedCandidate.set_wrapline 197 - theorem
OAI.PureTypeSystem.Candidates.SignedCandidate.candidateline 200 - theorem
OAI.PureTypeSystem.Candidates.SignedCandidate.orderline 203 - theorem
OAI.PureTypeSystem.Candidates.SignedCandidate.extline 207