Download data/lean/OAI/Computability/DegreeRigidity/Constructibility/ContextHierarchyGraph.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.84 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Computability/DegreeRigidity/Constructibility/ContextHierarchyGraph.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Computability/DegreeRigidity/Constructibility/ContextHierarchyGraph.lean
-
curl -L -o ContextHierarchyGraph.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Computability/DegreeRigidity/Constructibility/ContextHierarchyGraph.lean
3.84 kB
| import OAI.Computability.DegreeRigidity.Constructibility.ContextDefinablePower | |
| import OAI.Computability.DegreeRigidity.Constructibility.HierarchyGraph | |
| namespace OAI | |
| namespace TuringRigidity.RelativeConstructible | |
| open ElementaryModel BoundedSetTheory TransitiveNameModel SentenceCoding | |
| open BoundedDefinability SetModelFunctions | |
| universe u | |
| theorem definablePower_sigmaDefinable_context (M : ZFSet.{u}) (C : Context M) : | |
| SigmaDefinable M (fun e => e 0 = definablePower (e 1)) := by | |
| obtain β¨Q,hQ,_,hqβ© := internal_family_bound M C.transitive C.pairing C.union C.power C.omega_mem | |
| obtain β¨B,hB,hbβ© := internal_support_bound C | |
| have hc := (defSystem_definable C hQ hB 5 3 2 1 0 4).toSigma C.transitive | |
| have hs := hc.existsSet.existsSet.existsSet.existsSet | |
| apply hs.congr | |
| intro e he | |
| change (β G β M, β T β M, β H β M, β Z β M, | |
| DefSystem Q B (e 1) G T H Z (e 0)) β e 0 = definablePower (e 1) | |
| constructor | |
| Β· rintro β¨G,_,T,_,H,_,Z,_,hβ© | |
| exact h.exact hq hb | |
| Β· intro h | |
| rw [h] | |
| exact internal_defSystem_of_context M C Q B (e 1) (he 1) hq hb | |
| theorem uniform_definable_successor_context (M : ZFSet.{u}) (C : Context M) : | |
| β p : SigmaFormula, β d : β β ZFSet.{u}, (β i, d i β M) β§ | |
| β A β M, β D β M, p.Realize M (cons D (cons A d)) β D = definablePower A := | |
| (definablePower_sigmaDefinable_context M C).binary definablePower | |
| theorem stageImage_mem_context (M : ZFSet.{u}) (C : Context M) | |
| {s x f : ZFSet.{u}} (hs : s β M) (hx : x β M) (hf : f β M) : stageImage s x f β M := by | |
| have hr := iterUnion_mem M C.transitive C.union hf 2 | |
| have hd := (((defPairMem C 1 0 4).and (member_definable C 2 0)).existsMem 4).existsMem 1 | |
| let e := cons x (cons f (fun _ => iterUnion 2 f)) | |
| have he : β i, e i β M := by intro i; rcases i with _|_|i; exact hx; exact hf; exact hr | |
| exact binary_union_mem M C.transitive C.pairing C.union hs | |
| (hd.sep_mem C e he (union_mem M C.transitive C.union hr)) | |
| theorem hierarchyGraph_of_mem_iff_context (M R d f : ZFSet.{u}) (C : Context M) | |
| (hs : seed R β M) (hdM : d β M) (hfM : f β M) (hd : Transitive d) | |
| (hf : β z, z β f β β x β d, z = ZFSet.pair x (definablePower (stage R x))) : | |
| HierarchyGraph M (seed R) d (iterUnion 2 f) f := by | |
| have hpair (x v : ZFSet.{u}) : ZFSet.pair x v β f β x β d β§ v = definablePower (stage R x) := by | |
| rw [hf] | |
| constructor | |
| Β· rintro β¨y,hy,heβ© | |
| obtain β¨rfl,hvβ© := ZFSet.pair_inj.mp he | |
| exact β¨hy,hvβ© | |
| Β· rintro β¨hx,rflβ©; exact β¨x,hx,rflβ© | |
| refine β¨hd,β¨?_,?_β©,?_β© | |
| Β· intro z hz | |
| obtain β¨x,hx,rflβ© := (hf z).mp hz | |
| exact β¨x,hx,_,second_mem_doubleUnion hz,rflβ© | |
| Β· intro x hx | |
| have hp := (hpair x _).mpr β¨hx,rflβ© | |
| exact β¨_,second_mem_doubleUnion hp,hp,fun v _ hv => (hpair x v).mp hv |>.2β© | |
| Β· intro x hx v _ hv | |
| have he := (hpair x v).mp hv |>.2 | |
| subst v | |
| have hA : stageImage (seed R) x f = stage R x := by | |
| apply ZFSet.ext; intro z | |
| rw [mem_stageImage,mem_stage] | |
| apply or_congr_right | |
| constructor | |
| Β· rintro β¨y,hy,w,hw,hzβ© | |
| rw [(hpair y w).mp hw |>.2] at hz | |
| exact β¨y,hy,hzβ© | |
| Β· rintro β¨y,hy,hzβ© | |
| exact β¨y,hy,_,(hpair y _).mpr β¨hd x hx y hy,rflβ©,hzβ© | |
| refine β¨stage R x,hA βΈ stageImage_mem_context M C hs (C.transitive d hdM x hx) hfM,?_,rflβ© | |
| refine β¨seed_subset_stage R x,?_,?_β© | |
| Β· intro z hz | |
| rcases (mem_stage R x z).mp hz with hz|β¨y,hy,hzβ© | |
| Β· exact Or.inl hz | |
| Β· have hp := (hpair y _).mpr β¨hd x hx y hy,rflβ© | |
| exact Or.inr β¨y,hy,_,second_mem_doubleUnion hp,hp,hzβ© | |
| Β· intro y hy w _ hw | |
| rw [(hpair y w).mp hw |>.2] | |
| exact definablePower_subset_stage R hy | |
| end TuringRigidity.RelativeConstructible | |
| end OAI | |