cfahlgren1/math / lean /OAI /Computability /DegreeRigidity /SetModels /InternalCountableFamily.lean
cfahlgren1's picture
download
raw
1.91 kB
import OAI.Computability.DegreeRigidity.SetModels.InternalCountableUnion
namespace OAI
namespace TuringRigidity.InternalCountableFamily
open TransitiveNameModel BoundedSetTheory
theorem sequence_of_graph (S B : ZFSet.{0}) (hB : FunctionGraph ZFSet.omega S B) :
∃ E : ℕ → ZFSet.{0}, (∀ n, E n ∈ S) ∧ orbitGraph E = B := by
classical
have h (n : ℕ) := hB.2 (natSet n) ((mem_omega _).mpr ⟨n,rfl⟩)
choose E hE hpair huniq using h
refine ⟨E,hE,?_⟩
apply ZFSet.ext; intro z
constructor
· intro hz
obtain ⟨n,rfl⟩ := (mem_orbitGraph E z).mp hz
exact hpair n
· intro hz
obtain ⟨n,hn,x,hx,rfl⟩ := hB.1 z hz
obtain ⟨n,rfl⟩ := (mem_omega n).mp hn
exact (orbitGraph_pair E n x).mpr (huniq n x hx hz)
theorem countable_sUnion (M S : ZFSet.{0}) (hM : Transitive M) (hT : SourceT M)
(hS : S ∈ M) (hcount : S = ∅ ∨ InternallyCountable M S)
(hsets : ∀ A ∈ S, A = ∅ ∨ InternallyCountable M A) :
ZFSet.sUnion S = ∅ ∨ InternallyCountable M (ZFSet.sUnion S) := by
classical
by_cases hne : ∃ x, x ∈ ZFSet.sUnion S
· right
rcases hcount with rfl|⟨B,hBM,hB,honto⟩
· simp at hne
obtain ⟨E,hE,hEB⟩ := sequence_of_graph S B hB
apply InternalCountableUnion.internally_countable_union M (ZFSet.sUnion S) S hM hT
(union_mem M hM hT.union hS) hS
(fun A hA x hx => ZFSet.mem_sUnion.mpr ⟨A,hA,hx⟩) hsets E hE (hEB.symm ▸ hBM) _ hne
intro x hx
obtain ⟨A,hA,hxA⟩ := ZFSet.mem_sUnion.mp hx
obtain ⟨n,hn,hnA⟩ := honto A hA
obtain ⟨n,rfl⟩ := (mem_omega n).mp hn
have he : A = E n := (orbitGraph_pair E n A).mp (hEB.symm ▸ hnA)
exact ⟨n,he ▸ hxA⟩
· left
apply ZFSet.ext; intro x
exact ⟨fun hx => False.elim (hne ⟨x,hx⟩),fun hx => False.elim (ZFSet.notMem_empty x hx)⟩
end TuringRigidity.InternalCountableFamily
end OAI

Xet Storage Details

Size:
1.91 kB
·
Xet hash:
8e3a6fbd4809a277294919b6f381c60d221e8a90853867c25f2c42de6a00891d

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