Download lean/OAI/Computability/DegreeRigidity/Representation/AutomorphismOutputSentence.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
theoremoutputSentence_raw (M : ZFSet.{u}) (hM : TransitiveM)
(e : ℕ→ZFSet.{u}) (he : ∀ i, e i ∈M) :
outputSentence.Sat (M : SetZFSet) e ↔∃ d ∈M, ∃ b ∈M, e 1∈ d ∧ e 2∈ b ∧ZFSet.pair d b ∈ e 0:=by
proof · 12
lines
change (∃ d ∈M, ∃ b ∈M, e 1∈ d ∧ e 2∈ b ∧
(fromBounded (.pairMem 102)).Sat (M : SetZFSet) (cons b (cons d e))) ↔ _
apply exists_congr; intro d
apply and_congr_right; intro hd
apply exists_congr; intro b
apply and_congr_right; intro hb
rw [bounded_sat, Formula.absolute _ M hM _ (by
intro i; rcases i with _|_|i
exact hb
exact hd
exact he i)]
simp only [Formula.eval_pairMem, cons_zero, cons_succ]
obtain ⟨R,hRM,hR⟩ := internal_power M hM hT.powerSet (sourceT_omega_mem M hM hT)
rw [←ownDegreeUniverse_eq_idealSet M hM hT R hR]
apply internal_degreeUniverse M hM hT R hRM
intro w hw
exact ⟨decodeReal w,realCode_decodeReal ((hR w).mp hw).2⟩