OAI/Computability/TypeSystem/Profiles.lean
61 declarations, 0 contain sorry, 0 declared as axioms
Finite component order for the exact signed graphs of the manuscript.
- def
OAI.PureTypeSystem.Profileline 10Source documentation
Sorts assigned to the full normal form.
def Profile {S : Type u} (P : Specification S) (Γ : List (Expr S)) (T : Expr S) : Set S := {s | HasType P Γ T.normalForm (.sort s)}Mentions: OAI.PureTypeSystem.Specification, OAI.PureTypeSystem.Expr, OAI.PureTypeSystem.HasType
- def
OAI.PureTypeSystem.AxProfileline 13 - def
OAI.PureTypeSystem.OutProfileline 16 - def
OAI.PureTypeSystem.FeasibleProfileline 21Source documentation
Semantic feasible profiles. Normal witnesses are retained, rather than assuming the manuscript's characterization of this finite set.
def FeasibleProfile {S : Type u} (P : Specification S) (I : Set S) : Prop := …Mentions: OAI.PureTypeSystem.Specification
- structure
OAI.PureTypeSystem.ProfileTripleline 24 - inductive
OAI.PureTypeSystem.PrimaryEdgeline 31Source documentation
The sign is true for a domain edge and false for a positive edge.
inductive PrimaryEdge {S : Type u} (P : Specification S) : Set S → Set S → Bool → Prop | inclusion {I J} : FeasibleProfile P I → FeasibleProfile P J → J ⊂ I → PrimaryEdge P I J false | domain {I J K} : ProfileTriple P I J K → PrimaryEdge P I K true | codomain {I J K} : ProfileTriple P I J K → PrimaryEdge P J K false /-- Finite directed walks, with repeated edges permitted and parity retained. -/Mentions: OAI.PureTypeSystem.Specification, OAI.PureTypeSystem.FeasibleProfile, OAI.PureTypeSystem.ProfileTriple
- inductive
OAI.PureTypeSystem.SignedPathline 39Source documentation
Finite directed walks, with repeated edges permitted and parity retained.
inductive SignedPath {V : Type*} (E : V → V → Bool → Prop) : V → V → Bool → Prop | nil (v) : SignedPath E v v false | cons {u v w p q} : E u v p → SignedPath E v w q → SignedPath E u w (Bool.xor p q) - def
OAI.PureTypeSystem.Reachline 44 - def
OAI.PureTypeSystem.PositivePathline 47 - def
OAI.PureTypeSystem.IsComponentline 51Source documentation
A full strongly connected component, not merely a connected subset.
def IsComponent {V : Type*} (E : V → V → Bool → Prop) (C : Set V) : Prop := … - theorem
OAI.PureTypeSystem.SignedPath.singletonline 58 - theorem
OAI.PureTypeSystem.SignedPath.appendline 61 - theorem
OAI.PureTypeSystem.SignedPath.parity_uniqueline 68 - theorem
OAI.PureTypeSystem.Reach.reflline 82 - theorem
OAI.PureTypeSystem.Reach.transline 84 - theorem
OAI.PureTypeSystem.Reach.singleline 89 - theorem
OAI.PureTypeSystem.PositivePath.parityline 97 - theorem
OAI.PureTypeSystem.PositivePath.reachline 102 - theorem
OAI.PureTypeSystem.IsComponent.connectedline 110 - theorem
OAI.PureTypeSystem.IsComponent.betweenline 114 - def
OAI.PureTypeSystem.ObservationLayersline 122Source documentation
Positive closure of the sort-profile seeds.
def ObservationLayers {S : Type u} (P : Specification S) (C : Set (Set S)) : Set (Set S) := {I | ∃ s, {s} ∈ C ∧ (AxProfile P s).Nonempty ∧ …Mentions: OAI.PureTypeSystem.Specification, OAI.PureTypeSystem.AxProfile
- inductive
OAI.PureTypeSystem.SecondaryEdgeline 126 - def
OAI.PureTypeSystem.DirectLayerline 134 - def
OAI.PureTypeSystem.ActiveLayerline 138 - def
OAI.PureTypeSystem.PlainLayerline 141 - def
OAI.PureTypeSystem.FreeLayerline 146 - def
OAI.PureTypeSystem.ForbiddenConfigurationline 153Source documentation
The finite-graph obstruction excluded by system-wide weak normalization. It is not an extra hypothesis on the normalization theorem.
def ForbiddenConfiguration {S : Type u} (P : Specification S) (C : Set (Set S)) : Prop := …Mentions: OAI.PureTypeSystem.Specification
- theorem
OAI.PureTypeSystem.PlainLayer.activeline 164 - theorem
OAI.PureTypeSystem.PlainLayer.predecessorline 168 - theorem
OAI.PureTypeSystem.FreeLayer.activeline 181 - theorem
OAI.PureTypeSystem.FreeLayer.sign_uniqueline 185 - theorem
OAI.PureTypeSystem.FreeLayer.edge_signline 194 - theorem
OAI.PureTypeSystem.FreeLayer.direct_signline 199 - theorem
OAI.PureTypeSystem.Expr.normalForm_idemline 208 - theorem
OAI.PureTypeSystem.Expr.normalForm_renameline 214 - theorem
OAI.PureTypeSystem.HasType.lookup_sortedline 224 - theorem
OAI.PureTypeSystem.HasType.neutral_type_sortedline 235 - theorem
OAI.PureTypeSystem.Profile.normalFormline 255 - theorem
OAI.PureTypeSystem.Profile.of_normalline 258 - theorem
OAI.PureTypeSystem.Profile.sortline 262 - theorem
OAI.PureTypeSystem.Profile.neutralline 274 - theorem
OAI.PureTypeSystem.Profile.neutral_axiomline 286 - theorem
OAI.PureTypeSystem.Profile.piline 292 - theorem
OAI.PureTypeSystem.Profile.convertsline 305 - theorem
OAI.PureTypeSystem.Profile.growthline 309 - theorem
OAI.PureTypeSystem.Profile.feasibleline 323 - def
OAI.PureTypeSystem.Reach.componentline 334 - theorem
OAI.PureTypeSystem.Reach.mem_componentline 336 - theorem
OAI.PureTypeSystem.Reach.component_isComponentline 338 - theorem
OAI.PureTypeSystem.Reach.component_eqline 341 - def
OAI.PureTypeSystem.Reach.predecessorsline 350 - def
OAI.PureTypeSystem.Reach.rankline 351 - theorem
OAI.PureTypeSystem.Reach.mem_predecessorsline 353 - theorem
OAI.PureTypeSystem.Reach.rank_monoline 356 - theorem
OAI.PureTypeSystem.Reach.reverse_of_rank_eqline 361 - theorem
OAI.PureTypeSystem.Reach.component_eq_of_rank_eqline 371 - theorem
OAI.PureTypeSystem.PlainLayer.predecessor_pathline 380 - theorem
OAI.PureTypeSystem.PlainLayer.component_plainline 387 - def
OAI.PureTypeSystem.IsComponent.signingline 397 - theorem
OAI.PureTypeSystem.IsComponent.signing_pathline 400 - theorem
OAI.PureTypeSystem.IsComponent.signing_crossline 406