roseking's picture
Add lean source and binary files (part 60)
9dbc64e verified
Raw History Blame Contribute Delete
1.45 kB
13
theorem ground_arithmetic (M : ZFSet.{0}) (hM : Transitive M) (hT : SourceT M)
    (O : Oracles) (hO : ∀ i, realCode (O i) ∈ M) (G : Oracle)
    (hG : AtomicForcing.GroundGeneric M (pushFilter (realFilter G))) :
    Generic O G := by
proof · 13 lines
  intro D hD hd
  let A := arithmeticReal (fun O n => D O (EncodedForcing.word n)) O
  have hA : realCode A ∈ M := sourceT_arithmetic_comprehension M hM hT hD O hO
  have hspec (s : List Bool) : wordCode s ∈ wordImage A ↔ D O s :=
    wordImage_spec (D O) A (arithmeticReal_true _ O) s
  have hden : Dense {q : Condition | wordCode q.word ∈ wordImage A} := by
    intro q
    obtain ⟨s,hqs,hs⟩ := hd.1 q.word
    exact ⟨⟨s⟩,hqs,(hspec s).mpr hs⟩
  obtain ⟨q,hq,hqD⟩ := (groundGeneric_iff M _).mp hG (wordImage A)
    (wordImage_mem M hM hT A hA) hden
  rw [pull_push] at hq
  exact ⟨q.word,(hspec q.word).mp hqD,hq⟩