OAI/Computability/TypeSystem/Restriction.lean
24 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.PureTypeSystem.Expr.mapSortline 13 - theorem
OAI.PureTypeSystem.Expr.mapSort_idline 20 - theorem
OAI.PureTypeSystem.Expr.mapSort_compline 23 - theorem
OAI.PureTypeSystem.Expr.mapSort_renameline 27 - theorem
OAI.PureTypeSystem.Expr.mapSort_liftSubline 31 - theorem
OAI.PureTypeSystem.Expr.mapSort_substline 36 - theorem
OAI.PureTypeSystem.Expr.mapSort_singleline 41 - theorem
OAI.PureTypeSystem.Expr.mapSort_instantiateline 46 - theorem
OAI.PureTypeSystem.Beta.mapSortline 56 - theorem
OAI.PureTypeSystem.Reduces.mapSortline 74 - theorem
OAI.PureTypeSystem.Converts.mapSortline 83 - theorem
OAI.PureTypeSystem.Normal.mapSortline 96 - theorem
OAI.PureTypeSystem.StronglyNormalizing.of_mapSortline 119 - theorem
OAI.PureTypeSystem.WeaklyNormalizing.mapSortline 139 - theorem
OAI.PureTypeSystem.WeaklyNormalizing.of_retractionline 144 - theorem
OAI.PureTypeSystem.HasType.monotoneline 155 - theorem
OAI.PureTypeSystem.HasType.mapSortline 167 - theorem
OAI.PureTypeSystem.HasType.has_axiomline 183 - def
OAI.PureTypeSystem.Specification.restrictline 200 - def
OAI.PureTypeSystem.Specification.online 205 - theorem
OAI.PureTypeSystem.HasType.restrict_monoline 215 - theorem
OAI.PureTypeSystem.HasType.finite_supportline 220 - theorem
OAI.PureTypeSystem.SystemWeaklyNormalizing.online 268 - theorem
OAI.PureTypeSystem.HasType.finite_counterexampleline 293Source documentation
A non-strongly-normalizing typed term has a counterexample over a finite subspecification. No normalization conclusion for that finite PTS is assumed.
theorem finite_counterexample (h : HasType P Γ M T) (hn : ¬ StronglyNormalizing M) (hw : SystemWeaklyNormalizing P) : ∃ D : Finset S, ∃ Γ' : List (Expr {s // s ∈ D}), ∃ M' T' : Expr {s // s ∈ D}, HasType (P.on (D : Set S)) Γ' M' T' ∧ ¬ StronglyNormalizing M' ∧ SystemWeaklyNormalizing (P.on (D : Set S)) := by …Mentions: OAI.PureTypeSystem.HasType, OAI.PureTypeSystem.StronglyNormalizing, OAI.PureTypeSystem.SystemWeaklyNormalizing, OAI.PureTypeSystem.Expr