Download lean/OAI/Computability/DegreeRigidity/Representation/FullNativePersistence.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
theoreminternal_sat (p : InternalFormula) (M : ZFSet.{u}) (e : ℕ→ZFSet.{u}) :
(fromInternal p).Sat (M : SetZFSet) e ↔ p.RealizeM e :=by
proof · 7
lines
induction p generalizing e with
| bounded p => exact bounded_sat p M e
| conj p q hp hq => exact and_congr (hp e) (hq e)
| neg p hp => exact not_congr (hp e)
| existsSet p hp =>
apply exists_congr; intro x
exact and_congr_right (fun _ => hp (cons x e))
theoremgeneric_full_native_truth (M : ZFSet.{u}) (hM : TransitiveM) (hV : ValidM)
{c o : ZFSet.{u}} [Preorder (Conditions c)] [Top (Conditions c)]
(hc : c ∈M) (hoM : o ∈M)
(ho : ∀r s : Conditions c, ZFSet.pair (label c r) (label c s) ∈ o ↔ r ≤ s)
(G : GenericFilter (Conditions c)) (hG : GroundGenericMG) (ht : ⊤ ∈G.carrier)
(e : ℕ→Name (Conditions c)) (he : ∀ i, (e i).encode (label c) ∈M)
(DL : ZFSet.{u}) (I : CountableIdeal) (ρ : I ≃o I)
(hvals : (fun i => (e i).val G.carrier) =
cons D (cons L (cons (idealSet I) (cons (automorphismSet ρ) (fun _ =>ZFSet.omega)))))
(hD : ∀ x, x ∈D↔∃A∈SetModelReals.reals (genericExtensionSet M c G.carrier), x = degreeSet (degree A))
(hL : ∀A∈SetModelReals.reals (genericExtensionSet M c G.carrier),
∀B∈SetModelReals.reals (genericExtensionSet M c G.carrier),
ZFSet.pair (degreeSet (degree A)) (degreeSet (degree B)) ∈L↔ReducesAB)
(hct : SetModelCountability.InternallyCountable (genericExtensionSet M c G.carrier) (idealSet I))
(hz : degree (OracleJump.jump FixedArithmetic.zero) ∈I.carrier) :
PersistentI ρ ↔∃ p ∈G.carrier, ForcesM e (fromInternal persistenceFormula) p :=by
proof · 11
lines
letN:= genericExtensionSet M c G.carrier
have hN := genericExtensionSet_transitive M c hM G.carrier
have hTN := extension_sourceT M hM (hV.sourceT hM ⟨c,hc⟩) hc hoM ho G hG ht
have hm (i : ℕ) : cons D (cons L (cons (idealSet I)
(cons (automorphismSet ρ) (fun _ =>ZFSet.omega)))) i ∈N:=by
rw [←hvals]
exact (mem_extensionSet M c G.carrier _).mpr ⟨e i,he i,rfl⟩
have hn := full_native_persistence_iff N hN hTN (hm 0) (hm 1) hD hL I (hm 2) hct ρ (hm 3) hz
have hf := full_truth M hM hV hc hoM ho G hG (fromInternal persistenceFormula) e he
rw [hvals] at hf
exact hn.symm.trans hf