cfahlgren1/math / lean /OAI /Computability /DegreeRigidity /Syntax /SatisfactionCertificateBound.lean
cfahlgren1's picture
download
raw
2.12 kB
import OAI.Computability.DegreeRigidity.Syntax.SatisfactionRecursion
namespace OAI
namespace TuringRigidity.RelativeConstructible
open ElementaryModel BoundedSetTheory TransitiveNameModel
universe u
theorem satisfactionSet_subset_product (A : ZFSet.{u}) :
satisfactionSet A ⊆ ZFSet.prod ZFSet.omega (tupleSpace A) := by
intro z hz
obtain ⟨⟨⟨n,p,v⟩,_,_⟩,rfl⟩ := ZFSet.mem_range.mp hz
exact ZFSet.mem_prod.mpr ⟨natSet (Encodable.encode p),(mem_omega _).mpr ⟨_,rfl⟩,
tupleCode (fun i => label A (v i)),
(mem_tupleSpace A _).mpr ⟨n,_,fun i => label_mem A (v i),rfl⟩,rfl⟩
theorem internal_certificate_bound (M A : ZFSet.{u}) (hM : Transitive M)
(hT : SourceT M) (hA : A ∈ M) :
∃ Q ∈ M,
(∀ S, S ∈ Q ↔ S ∈ M ∧ S ⊆ ZFSet.prod ZFSet.omega (tupleSpace A)) ∧
∀ ps : List SentenceForm, finiteSatisfaction A ps ∈ Q := by
obtain ⟨Q,hQ,hdef⟩ := internal_power M hM hT.powerSet
(product_mem M hM hT.pairing hT.union hT.powerSet hT.separation.finitePrefix.bounded
(sourceT_omega_mem M hM hT) (tupleSpace_mem M A hM hT hA))
refine ⟨Q,hQ,hdef,fun ps => (hdef _).mpr ⟨finiteSatisfaction_mem M A hM hT hA ps,?_⟩⟩
exact fun z hz => satisfactionSet_subset_product A (finiteSatisfaction_subset A ps hz)
theorem satisfaction_iff_bounded_recursion (M A : ZFSet.{u}) (hM : Transitive M)
(hT : SourceT M) (hA : A ∈ M) :
∃ Q ∈ M, ∀ (p : SentenceForm) (n : ℕ) (v : Fin n → ZFSet.{u}), (∀ i, v i ∈ A) →
(accepts (satisfactionSet A) p v ↔ ∃ S ∈ Q, TruthRecursion A p S ∧ accepts S p v) := by
obtain ⟨Q,hQ,hdef,hfinite⟩ := internal_certificate_bound M A hM hT hA
refine ⟨Q,hQ,fun p n v hv => ?_⟩
constructor
· intro hs
exact ⟨finiteSatisfaction A (subformulas p),hfinite _,finiteSatisfaction_recursion A p,
(finiteSatisfaction_covers A p v hv).mpr hs⟩
· rintro ⟨S,hS,hrec,haccept⟩
exact (satisfaction_iff_internal_recursion M A hM hT hA p v hv).mpr
⟨S,(hdef S).mp hS |>.1,hrec,haccept⟩
end TuringRigidity.RelativeConstructible
end OAI

Xet Storage Details

Size:
2.12 kB
·
Xet hash:
aae19215ff666dd2f049c37b825bad696bdee841114c39d34cb43605a74a6aa4

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