Buckets:
| import OAI.Computability.DegreeRigidity.CohenForcing.SparseCohenRealName | |
| import OAI.Computability.DegreeRigidity.CohenForcing.CohenNiceNameConstruction | |
| import OAI.Computability.DegreeRigidity.CohenForcing.CohenGenericUnion | |
| namespace OAI | |
| namespace TuringRigidity.CohenColumnRealName | |
| open TransitiveNameModel BoundedSetTheory InternalCollapse CountableForcing RecursiveNames | |
| attribute [local instance] InternalCollapse.order CohenNiceNameConstruction.cohenTop | |
| open InternalCohen (bitSet) | |
| noncomputable abbrev poset (K : ZFSet.{0}) : ZFSet.{0} := | |
| CohenGroundPoset.conditions (ZFSet.prod K ZFSet.omega) | |
| noncomputable def realName (K a : ZFSet.{0}) : Name (Conditions (poset K)) := | |
| .mk {t : Conditions (poset K) × ℕ // | |
| ZFSet.pair (ZFSet.pair a (natSet t.2)) (bitSet true) ∈ label (poset K) t.1} | |
| (fun t => Name.check (natSet t.val.2)) (fun t => t.val.1) | |
| def realNameFormula : BoundedSetTheory.Formula := | |
| .existsMem 1 (.existsMem 3 (.existsMem 6 (.existsMem 9 | |
| (.conj (.pairMem 2 1 7) (.conj (.orderedPair 0 11 2) | |
| (.conj (.pairMem 0 9 3) (.orderedPair 4 1 3))))))) | |
| theorem eval_realNameFormula (z c f r one C a : ZFSet.{0}) (e : ℕ → ZFSet.{0}) : | |
| realNameFormula.Eval | |
| (cons z (cons c (cons ZFSet.omega (cons f (cons r (cons one (cons C (cons a e)))))))) ↔ | |
| ∃ q ∈ c, ∃ n ∈ ZFSet.omega, ∃ v ∈ r, ∃ x ∈ C, | |
| ZFSet.pair n v ∈ f ∧ x = ZFSet.pair a n ∧ | |
| ZFSet.pair x one ∈ q ∧ z = ZFSet.pair v q := by | |
| simp only [realNameFormula,BoundedSetTheory.Formula.Eval,BoundedSetTheory.Formula.eval_pairMem, | |
| BoundedSetTheory.Formula.eval_orderedPair,cons_zero,cons_succ] | |
| noncomputable def realNameCode (K a f : ZFSet.{0}) : ZFSet.{0} := | |
| ZFSet.sep (fun z => ∃ q ∈ poset K, ∃ n ∈ ZFSet.omega, ∃ v ∈ iterUnion 2 f, | |
| ∃ x ∈ ZFSet.prod K ZFSet.omega, ZFSet.pair n v ∈ f ∧ x = ZFSet.pair a n ∧ ZFSet.pair x (bitSet true) ∈ q ∧ z = ZFSet.pair v q) | |
| (ZFSet.prod (iterUnion 2 f) (poset K)) | |
| theorem mem_realNameCode (K a f z : ZFSet.{0}) (ha : a ∈ K) : z ∈ realNameCode K a f ↔ | |
| ∃ q ∈ poset K, ∃ n ∈ ZFSet.omega, ∃ v, | |
| ZFSet.pair n v ∈ f ∧ ZFSet.pair (ZFSet.pair a n) (bitSet true) ∈ q ∧ z = ZFSet.pair v q := by | |
| rw [realNameCode,ZFSet.mem_sep] | |
| constructor | |
| · rintro ⟨_,q,hq,n,hn,v,_,x,_,hv,rfl,hbit,hz⟩; exact ⟨q,hq,n,hn,v,hv,hbit,hz⟩ | |
| · rintro ⟨q,hq,n,hn,v,hv,hbit,rfl⟩ | |
| have hr := second_mem_doubleUnion hv | |
| exact ⟨ZFSet.mem_prod.mpr ⟨v,hr,q,hq,rfl⟩,q,hq,n,hn,v,hr,ZFSet.pair a n,ZFSet.pair_mem_prod.mpr ⟨ha,hn⟩,hv,rfl,hbit,rfl⟩ | |
| theorem realNameCode_mem (M K a : ZFSet.{0}) (hM : Transitive M) (hT : SourceT M) (hK : K ∈ M) (ha : a ∈ K) | |
| {f : ZFSet.{0}} (hf : f ∈ M) : realNameCode K a f ∈ M := by | |
| have hc := (CohenGroundPoset.manyColumn_internal M K hM hT hK).1 | |
| have hω := sourceT_omega_mem M hM hT | |
| have hr := iterUnion_mem M hM hT.union hf 2 | |
| have h1 : bitSet true ∈ M := hM _ hω _ ((mem_omega _).mpr ⟨1,rfl⟩) | |
| have hC := product_mem M hM hT.pairing hT.union hT.powerSet hT.separation.finitePrefix.bounded hK hω | |
| have haM := hM K hK a ha | |
| let e := cons (poset K) (cons ZFSet.omega (cons f (cons (iterUnion 2 f) (cons (bitSet true) (cons (ZFSet.prod K ZFSet.omega) (cons a (fun _ => a))))))) | |
| have he : ∀ i, e i ∈ M := by intro i; rcases i with _|_|_|_|_|_|_|i <;> assumption | |
| have hs := sep_mem M hM hT.separation.finitePrefix.bounded realNameFormula e he | |
| (product_mem M hM hT.pairing hT.union hT.powerSet hT.separation.finitePrefix.bounded hr hc) | |
| have heq : ZFSet.sep (fun z => realNameFormula.Eval (cons z e)) | |
| (ZFSet.prod (iterUnion 2 f) (poset K)) = realNameCode K a f := by | |
| apply ZFSet.ext; intro z | |
| simp only [ZFSet.mem_sep,realNameCode] | |
| exact and_congr_right (fun _ => eval_realNameFormula z (poset K) f (iterUnion 2 f) (bitSet true) | |
| (ZFSet.prod K ZFSet.omega) a (fun _ => a)) | |
| exact heq ▸ hs | |
| theorem encode_realName (K a d r f : ZFSet.{0}) (ha : a ∈ K) (hω : ZFSet.omega ⊆ d) | |
| (hf : CheckGraph d r f (label (poset K) ⊤)) : | |
| (realName K a).encode (label (poset K)) = realNameCode K a f := by | |
| have hfr : TransitiveNameModel.FunctionGraph d r f := ⟨hf.2.1,hf.2.2.1⟩ | |
| apply ZFSet.ext; intro z | |
| change z ∈ ZFSet.range _ ↔ _ | |
| rw [ZFSet.mem_range,mem_realNameCode K a f z ha] | |
| constructor | |
| · rintro ⟨⟨⟨q,n⟩,hbit⟩,hz⟩ | |
| have hn := (mem_omega (natSet n)).mpr ⟨n,rfl⟩ | |
| obtain ⟨v,hv,hfv,_⟩ := hf.2.2.1 _ (hω hn) | |
| have he := hf.correct _ (hω hn) v hv hfv | |
| refine ⟨label (poset K) q,label_mem _ _,natSet n,hn,v,hfv,hbit,?_⟩ | |
| simpa only [realName,encode_check,he] using hz.symm | |
| · rintro ⟨q,hq,n,hn,v,hfv,hbit,hz⟩ | |
| obtain ⟨k,rfl⟩ := (mem_omega n).mp hn | |
| obtain ⟨q,rfl⟩ := label_surjective (poset K) hq | |
| have he := hf.correct _ (hω hn) v (hfr.value_mem hfv) hfv | |
| exact ⟨⟨(q,k),hbit⟩,by simpa only [realName,encode_check,he] using hz.symm⟩ | |
| theorem realName_internal (M K a : ZFSet.{0}) (hM : Transitive M) (hT : SourceT M) (hK : K ∈ M) (ha : a ∈ K) : | |
| (realName K a).encode (label (poset K)) ∈ M := by | |
| have hω := sourceT_omega_mem M hM hT | |
| obtain ⟨d,hdM,hd,hωd⟩ := internal_transitive_container M hM hT.pairing hT.union | |
| hT.separation.finitePrefix.bounded hT.replacement.finitePrefix hT.infinity hω | |
| obtain ⟨q,hqM,hq⟩ := internal_power M hM hT.powerSet hdM | |
| obtain ⟨f,hf,hfg⟩ := internal_checkGraph M d q (label (poset K) ⊤) hM hT.pairing hT.union | |
| hT.powerSet hT.separation.finitePrefix.bounded hT.replacement.finitePrefix | |
| hdM hqM (hM _ ((CohenGroundPoset.manyColumn_internal M K hM hT hK).1) _ (label_mem (poset K) ⊤)) hd hq ZFSet.omega hωd | |
| have hsub : ZFSet.omega ⊆ hull d q ZFSet.omega := fun x hx => | |
| hull_transitive d q ZFSet.omega hd _ (self_mem_hull d q hωd) x hx | |
| rw [encode_realName K a _ _ f ha hsub hfg] | |
| exact realNameCode_mem M K a hM hT hK ha hf | |
| end TuringRigidity.CohenColumnRealName | |
| end OAI | |
Xet Storage Details
- Size:
- 6.01 kB
- Xet hash:
- 8771a2b901c1bd9f45686d56122ca69c20290af6fcfb63b722ed5cf3d7bf4814
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.