cfahlgren1's picture
download
raw
4.44 kB
import OAI.Computability.DegreeRigidity.CohenForcing.CohenGroundGeneric
import OAI.Computability.DegreeRigidity.SetModels.InternalCollapseCounting
namespace OAI
namespace TuringRigidity.CohenGenericUnion
open Set TransitiveNameModel BoundedSetTheory CountableForcing
open CohenSymmetry CohenConditionCode CohenGroundPoset CohenGroundGeneric
open InternalCohen (alphabet mem_alphabet bitSet)
open InternalCollapse (unionGraph mem_unionGraph)
attribute [local instance] InternalCollapse.order InternalCollapse.collapsePreorder
noncomputable def definedAt (A x : ZFSet.{0}) : ZFSet.{0} :=
(conditions A).sep (fun p => ∃ b ∈ alphabet, ZFSet.pair x b ∈ p)
theorem definedAt_mem (M A x : ZFSet.{0}) (hM : Transitive M)
(hT : SourceT M) (hA : A ∈ M) (hx : x ∈ A) : definedAt A x ∈ M := by
let e := cons alphabet (fun _ => x)
have he : ∀ i, e i ∈ M := by
intro i; cases i
exact InternalCohen.alphabet_mem M hM hT
exact hM A hA x hx
simpa only [definedAt,Formula.Eval,Formula.eval_pairMem,cons_zero,cons_succ,e] using
sep_mem M hM hT.separation.finitePrefix.bounded
(.existsMem 1 (.pairMem 3 0 1)) e he (conditions_mem M A hM hT hA)
theorem assign_dense {ι : Type*} (i : ι) :
Dense {p : Condition ι | ∃ b, p.val i = some b} := by
classical
intro p
cases hi : p.val i with
| some b => exact ⟨p,le_rfl,b,hi⟩
| none =>
let q : Condition ι := {
val j := if j = i then some false else p.val j
finite := (p.finite.insert i).subset (by
intro j hj
by_cases he : j = i
· exact Or.inl he
· exact Or.inr (by simpa [he] using hj)) }
refine ⟨q,?_,false,by simp [q]⟩
intro j b hj
by_cases he : j = i
· subst j; rw [hi] at hj; cases hj
· simpa [q,he] using hj
theorem definedAt_dense (A x : ZFSet.{0}) (hx : x ∈ A) :
Dense {q : Conditions (conditions A) | label _ q ∈ definedAt A x} := by
let i : Conditions A := equivShrink A ⟨x,hx⟩
have hi : label A i = x := by simp [i,label]
intro p
obtain ⟨q,hq,b,hqb⟩ := assign_dense i ((conditionEquiv A).symm p)
refine ⟨conditionEquiv A q,by simpa using (conditionEquiv A).monotone hq,?_⟩
change label _ (encode A q) ∈ definedAt A x
rw [label_encode,definedAt,ZFSet.mem_sep]
refine ⟨(mem_conditions A _).mpr (graph_isCondition A q),bitSet b,
(mem_alphabet _).mpr ⟨b,rfl⟩,?_⟩
rw [←hi,pair_mem_graph]; exact hqb
theorem union_function (M A : ZFSet.{0}) (hM : Transitive M)
(hT : SourceT M) (hA : A ∈ M) (G : GenericFilter (Conditions (conditions A)))
(hG : AtomicForcing.GroundGeneric M G) : FunctionGraph A alphabet (unionGraph G) := by
constructor
· intro z hz
obtain ⟨p,_,hzp⟩ := (mem_unionGraph G z).mp hz
have hp := ((mem_conditions A _).mp (label_mem _ p)).1
exact ZFSet.mem_prod.mp (((InternalFiniteSubsets.mem_finiteSubsets_iff _ _).mp hp).1 hzp)
· intro x hx
obtain ⟨p,hp,hpx⟩ := hG (definedAt A x) (definedAt_mem M A x hM hT hA hx)
(definedAt_dense A x hx)
obtain ⟨_,b,hb,hpb⟩ := ZFSet.mem_sep.mp hpx
refine ⟨b,hb,(mem_unionGraph G _).mpr ⟨p,hp,hpb⟩,?_⟩
intro c hc hxc
obtain ⟨q,hq,hqc⟩ := (mem_unionGraph G _).mp hxc
obtain ⟨r,_,hrp,hrq⟩ := G.directed hp hq
exact ((mem_conditions A _).mp (label_mem _ r)).2 x hx c hc b hb (hrq hqc) (hrp hpb)
theorem union_internal (M A : ZFSet.{0}) (hM : Transitive M)
(hT : SourceT M) (hA : A ∈ M) (G : GenericFilter (Conditions (conditions A)))
(hG : AtomicForcing.GroundGeneric M G) :
unionGraph G ∈ genericExtensionSet M (conditions A) G.carrier ∧
FunctionGraph A alphabet (unionGraph G) :=
⟨InternalCollapse.unionGraph_mem_extension M hM hT (conditions_mem M A hM hT hA)
(empty_mem_conditions A) G hG,
union_function M A hM hT hA G hG⟩
theorem manyColumn_union (M K : ZFSet.{0}) (hM : Transitive M)
(hT : SourceT M) (hK : K ∈ M)
(G : GenericFilter (Conditions (conditions (ZFSet.prod K ZFSet.omega))))
(hG : AtomicForcing.GroundGeneric M G) :
unionGraph G ∈ genericExtensionSet M (conditions (ZFSet.prod K ZFSet.omega)) G.carrier ∧
FunctionGraph (ZFSet.prod K ZFSet.omega) alphabet (unionGraph G) :=
union_internal M _ hM hT (product_mem M hM hT.pairing hT.union hT.powerSet
hT.separation.finitePrefix.bounded hK (sourceT_omega_mem M hM hT)) G hG
end TuringRigidity.CohenGenericUnion
end OAI

Xet Storage Details

Size:
4.44 kB
·
Xet hash:
bef22ceba999898a4b356d6580a6742a32818b8e51df2c0213e48b2d810b4ca4

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.