Buckets:
cfahlgren1/math / lean /OAI /Computability /DegreeRigidity /Constructibility /UniformSigmaSeparationName.lean
| import OAI.Computability.DegreeRigidity.Syntax.SigmaSeparationName | |
| namespace OAI | |
| namespace TuringRigidity.BoundedForcing | |
| open RecursiveNames TransitiveNameModel BoundedSetTheory AtomicForcing CountableForcing | |
| universe u | |
| variable {c : ZFSet.{u}} [Preorder (Conditions c)] | |
| theorem uniform_sigma_separation_name (M : ZFSet.{u}) (hM : Transitive M) | |
| (hP : Pairing M) (hU : BoundedSetTheory.Union M) (hPow : PowerSet M) (hS : SigmaSeparation M) | |
| (hR : SigmaReplacement M) (hI : Infinity M) (hc : c ∈ M) | |
| {o : ZFSet.{u}} (hoM : o ∈ M) | |
| (ho : ∀ r s : Conditions c, ZFSet.pair (label c r) (label c s) ∈ o ↔ r ≤ s) | |
| (φ : SigmaFormula) (a : Name (Conditions c)) (ha : a.encode (label c) ∈ M) | |
| (e : ℕ → Name (Conditions c)) (he : ∀ i, (e i).encode (label c) ∈ M) : | |
| ∃ B ∈ M, B ⊆ a.support (label c) ∧ | |
| ∀ G : GenericFilter (Conditions c), GroundGeneric M G → ∀ x, | |
| x ∈ (a.restrict (label c) B).val G.carrier ↔ x ∈ a.val G.carrier ∧ | |
| φ.Realize (genericExtensionSet M c G.carrier) | |
| (cons x (fun i => (e i).val G.carrier)) := by | |
| let env := cons c (cons o (fun i => (e i).encode (label c))) | |
| have henv : ∀ i, env i ∈ M := by | |
| intro i; rcases i with _|i; exact hc | |
| rcases i with _|i; exact hoM | |
| exact he i | |
| let ψ := SigmaFormula.existsSet (.existsSet | |
| (SigmaFormula.andBounded (.orderedPair 2 1 0) | |
| (SigmaCode.forcing φ 3 4 0 (push 1 (fun i => i+5))))) | |
| let B := ZFSet.sep (fun z => ψ.Realize M (cons z env)) (a.support (label c)) | |
| have hBM : B ∈ M := sigma_sep_mem M hM hS ψ env henv | |
| (support_mem M hM hP hU hPow hS.bounded hc hoM ho a ha) | |
| have hBsub : B ⊆ a.support (label c) := fun z hz => (ZFSet.mem_sep.mp hz).1 | |
| have hai (i) : (a.child i).encode (label c) ∈ M := | |
| names_childClosed M c hM a ha _ (child_relation a i) | |
| have hpush (i) (n) : (push (a.child i) e n).encode (label c) ∈ M := by | |
| cases n with | |
| | zero => exact hai i | |
| | succ n => exact he n | |
| have hpair (z x q : ZFSet.{u}) (hz : z ∈ M) (hx : x ∈ M) (hq : q ∈ M) : | |
| (Formula.orderedPair 2 1 0).Realize M (cons q (cons x (cons z env))) ↔ z = ZFSet.pair x q := by | |
| rw [Formula.absolute _ M hM _ (by | |
| intro n; rcases n with _|n; exact hq | |
| rcases n with _|n; exact hx | |
| rcases n with _|n; exact hz | |
| exact henv n)] | |
| exact Formula.eval_orderedPair 2 1 0 _ | |
| have hB (i : a.arity) (q : Conditions c) (hq : q ≤ a.tag i) : | |
| ZFSet.pair ((a.child i).encode (label c)) (label c q) ∈ B ↔ | |
| SigmaForces M (push (a.child i) e) φ q := by | |
| let z := ZFSet.pair ((a.child i).encode (label c)) (label c q) | |
| have hqM := hM c hc _ (label_mem c q) | |
| have hz : z ∈ M := orderedPair_mem M hM hP (hai i) hqM | |
| have query := realize_sigmaForcing M hM hP hU hPow hS.bounded hR hI ho φ | |
| (push (a.child i) e) q | |
| (cons (label c q) (cons ((a.child i).encode (label c)) (cons z env))) | |
| (by | |
| intro n; rcases n with _|n; exact hqM | |
| rcases n with _|n; exact hai i | |
| rcases n with _|n; exact hz | |
| exact henv n) | |
| 3 4 0 (push 1 (fun n => n+5)) rfl rfl rfl | |
| (by intro n; cases n <;> rfl) | |
| have hs : z ∈ a.support (label c) := ZFSet.mem_range.mpr ⟨⟨i,⟨q,hq⟩⟩,rfl⟩ | |
| change z ∈ ZFSet.sep _ _ ↔ _ | |
| rw [ZFSet.mem_sep,and_iff_right hs] | |
| simp only [ψ,SigmaFormula.Realize,SigmaFormula.realize_andBounded] | |
| constructor | |
| · rintro ⟨x,hx,r,hr,hxr,hφ⟩ | |
| obtain ⟨rfl,rfl⟩ := ZFSet.pair_inj.mp ((hpair z x r hz hx hr).mp hxr) | |
| exact query.mp hφ | |
| · intro hφ | |
| exact ⟨_,hai i,_,hqM,(hpair z _ _ hz (hai i) hqM).mpr rfl,query.mpr hφ⟩ | |
| refine ⟨B,hBM,hBsub,?_⟩ | |
| intro G hG | |
| have ht (i : a.arity) : | |
| φ.Realize (genericExtensionSet M c G.carrier) | |
| (cons ((a.child i).val G.carrier) (fun n => (e n).val G.carrier)) ↔ | |
| ∃ p ∈ G.carrier, SigmaForces M (push (a.child i) e) φ p := by | |
| have hev : (fun n => (push (a.child i) e n).val G.carrier) = | |
| cons ((a.child i).val G.carrier) (fun n => (e n).val G.carrier) := by | |
| funext n; cases n <;> rfl | |
| rw [←hev] | |
| exact internal_sigma_truth M hM hP hU hPow hS.bounded hR hI hc hoM ho G hG φ _ (hpush i) | |
| intro x | |
| constructor | |
| · intro hx | |
| have hxa := a.val_restrict_subset (label c) B G hx | |
| obtain ⟨i,q,hqi,hqb,hqG,hix⟩ := (a.mem_val_restrict (label c) B G.carrier x).mp hx | |
| have hφ := (ht i).mpr ⟨q,hqG,(hB i q hqi).mp hqb⟩ | |
| exact ⟨hxa,hix ▸ hφ⟩ | |
| · rintro ⟨hxa,hφ⟩ | |
| obtain ⟨i,hi,hix⟩ := (a.mem_val_children G.carrier x).mp hxa | |
| obtain ⟨p,hp,hf⟩ := (ht i).mp (hix ▸ hφ) | |
| obtain ⟨q,hq,hqp,hqi⟩ := G.directed hp hi | |
| exact (a.mem_val_restrict (label c) B G.carrier x).mpr | |
| ⟨i,q,hqi,(hB i q hqi).mpr (sigma_mono M φ _ hqp hf),hq,hix⟩ | |
| end TuringRigidity.BoundedForcing | |
| end OAI | |
Xet Storage Details
- Size:
- 4.88 kB
- Xet hash:
- 751660640a4570f4873fc8b29894d35612e51f78501f36c1156e3c0c05ff2408
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.