Buckets:
cfahlgren1/math / lean /OAI /Computability /DegreeRigidity /CohenForcing /InternalCohenProjectedGeneric.lean
| import OAI.Computability.DegreeRigidity.CohenForcing.InternalCohenFactor | |
| import OAI.Computability.DegreeRigidity.CohenForcing.CohenProductFilters | |
| import OAI.Computability.DegreeRigidity.Representation.CountableGroundGeneric | |
| namespace OAI | |
| namespace TuringRigidity.InternalCohenProjectedGeneric | |
| open TransitiveNameModel BoundedSetTheory CountableForcing AutomorphismName | |
| open CohenGroundPoset InternalCohenRestriction InternalCohenPartition InternalCohenFactor | |
| attribute [local instance] InternalCollapse.order InternalCollapse.collapsePreorder | |
| noncomputable def projected (A B : ZFSet.{0}) (hBA : B ⊆ A) | |
| (G : GenericFilter (Conditions (conditions A))) : GenericFilter (Conditions (conditions B)) := | |
| CohenProductFilters.first (mapFilter (factorIso A B hBA) G) | |
| theorem mem_projected (A B : ZFSet.{0}) (hBA : B ⊆ A) | |
| (G : GenericFilter (Conditions (conditions A))) (q : Conditions (conditions B)) : | |
| q ∈ (projected A B hBA G).carrier ↔ ∃ p ∈ G.carrier, project A B hBA p = q := by | |
| constructor | |
| · rintro ⟨r,hr⟩ | |
| refine ⟨(factorIso A B hBA).symm (q,r),hr,?_⟩ | |
| exact congrArg Prod.fst ((factorIso A B hBA).apply_symm_apply (q,r)) | |
| · rintro ⟨p,hp,rfl⟩ | |
| refine ⟨(factorIso A B hBA p).2,?_⟩ | |
| change (factorIso A B hBA).symm (factorIso A B hBA p) ∈ G.carrier | |
| simpa using hp | |
| noncomputable def densePreimage (A B D : ZFSet.{0}) : ZFSet.{0} := | |
| (conditions A).sep (fun p => ∃ q ∈ conditions B, | |
| ZFSet.pair p q ∈ restrictionGraph A B ∧ q ∈ D) | |
| theorem densePreimage_mem (M A B D : ZFSet.{0}) (hM : Transitive M) (hT : SourceT M) | |
| (hA : A ∈ M) (hB : B ∈ M) (hD : D ∈ M) : densePreimage A B D ∈ M := by | |
| have hc := conditions_mem M B hM hT hB | |
| have hR := restrictionGraph_mem M A B hM hT hA hB | |
| let e := cons (conditions B) (cons (restrictionGraph A B) (fun _ => D)) | |
| have he : ∀ i, e i ∈ M := by | |
| intro i; rcases i with _|_|i | |
| exact hc; exact hR; exact hD | |
| simpa only [densePreimage,Formula.Eval,Formula.eval_pairMem,cons_zero,cons_succ,e] using | |
| sep_mem M hM hT.separation.finitePrefix.bounded | |
| (.existsMem 1 (.conj (.pairMem 1 0 3) (.member 0 4))) e he | |
| (conditions_mem M A hM hT hA) | |
| theorem label_densePreimage (A B D : ZFSet.{0}) (hBA : B ⊆ A) | |
| (p : Conditions (conditions A)) : | |
| label _ p ∈ densePreimage A B D ↔ label _ (project A B hBA p) ∈ D := by | |
| rw [densePreimage,ZFSet.mem_sep] | |
| constructor | |
| · rintro ⟨_,q,_,hq,hqD⟩ | |
| have he := ((pair_restrictionGraph A B _ q).mp hq).2.2 | |
| rw [label_project,←he]; exact hqD | |
| · intro h | |
| exact ⟨label_mem _ p,label _ (project A B hBA p),label_mem _ _, | |
| (pair_restrictionGraph A B _ _).mpr ⟨label_mem _ p,label_mem _ _,label_project A B hBA p⟩,h⟩ | |
| theorem densePreimage_dense (A B D : ZFSet.{0}) (hBA : B ⊆ A) | |
| (hD : Dense {q : Conditions (conditions B) | label _ q ∈ D}) : | |
| Dense {p : Conditions (conditions A) | label _ p ∈ densePreimage A B D} := by | |
| intro p | |
| let e := factorIso A B hBA | |
| obtain ⟨q,hq,hqD⟩ := hD (e p).1 | |
| let r := e.symm (q,(e p).2) | |
| have hr : e r = (q,(e p).2) := e.apply_symm_apply _ | |
| refine ⟨r,?_,?_⟩ | |
| · apply e.le_iff_le.mp | |
| rw [hr] | |
| exact ⟨hq,le_rfl⟩ | |
| · apply (label_densePreimage A B D hBA r).mpr | |
| have he := congrArg Prod.fst hr | |
| change project A B hBA r = q at he | |
| rw [he]; exact hqD | |
| theorem projected_groundGeneric (M A B : ZFSet.{0}) (hM : Transitive M) (hT : SourceT M) | |
| (hA : A ∈ M) (hB : B ∈ M) (hBA : B ⊆ A) | |
| (G : GenericFilter (Conditions (conditions A))) (hG : AtomicForcing.GroundGeneric M G) : | |
| AtomicForcing.GroundGeneric M (projected A B hBA G) := by | |
| intro D hD hd | |
| obtain ⟨p,hp,hpD⟩ := hG (densePreimage A B D) (densePreimage_mem M A B D hM hT hA hB hD) | |
| (densePreimage_dense A B D hBA hd) | |
| exact ⟨project A B hBA p,(mem_projected A B hBA G _).mpr ⟨p,hp,rfl⟩, | |
| (label_densePreimage A B D hBA p).mp hpD⟩ | |
| theorem projected_contains (A B : ZFSet.{0}) (hBA : B ⊆ A) | |
| (G : GenericFilter (Conditions (conditions A))) {p : Conditions (conditions A)} | |
| (hp : p ∈ G.carrier) : project A B hBA p ∈ (projected A B hBA G).carrier := | |
| (mem_projected A B hBA G _).mpr ⟨p,hp,rfl⟩ | |
| end TuringRigidity.InternalCohenProjectedGeneric | |
| end OAI | |
Xet Storage Details
- Size:
- 4.27 kB
- Xet hash:
- eab988a6132fb796251c10e64fadb04910eb7cddb7c705876a6eb4837fa363f4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.