Download lean/OAI/Computability/DegreeRigidity/Representation/GroundArithmeticGeneric.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
intro D hD hd
letA:= arithmeticReal (funO n =>DO (EncodedForcing.word n)) OhavehA : realCode A∈M:= sourceT_arithmetic_comprehension M hM hT hD O hO
have hspec (s : ListBool) : wordCode s ∈ wordImage A↔DO s :=
wordImage_spec (DO) A (arithmeticReal_true _ O) s
havehden : 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⟩