cfahlgren1/math / lean /OAI /Computability /DegreeRigidity /SetModels /InternalCheckedValue.lean
cfahlgren1's picture
download
raw
1.93 kB
import OAI.Computability.DegreeRigidity.SetModels.ElementaryCheckedCode
import OAI.Computability.DegreeRigidity.Representation.GroundInclusion
namespace OAI
namespace TuringRigidity.ElementaryModel
open BoundedSetTheory TransitiveNameModel SentenceForm
universe u
theorem checkedValue_complete (M : ZFSet.{u}) (hM : Transitive M) (hT : SourceT M)
(e : ℕ → ZFSet.{u}) (he : ∀ i, e i ∈ M)
(hv : e 0 = checkedCode (e 2) (e 1)) :
checkedValueFormula.Sat (M : Set ZFSet) e := by
have hS := hT.separation.finitePrefix.bounded
have hR := hT.replacement.finitePrefix
obtain ⟨d,hd,hdT,hxd⟩ := internal_transitive_container M hM hT.pairing hT.union hS hR
hT.infinity (he 1)
obtain ⟨q,hq,hqdef⟩ := internal_power M hM hT.powerSet hd
obtain ⟨f,hf,hg⟩ := internal_checkGraph M d q (e 2) hM hT.pairing hT.union hT.powerSet
hS hR hd hq (he 2) hdT hqdef (e 1) hxd
have hh := hull_mem M d q hM hS hd hq (he 1)
have hr := iterUnion_mem M hM hT.union hf 2
have hx := self_mem_hull d q hxd
obtain ⟨w,hw,hfw,_⟩ := hg.2.2.1 (e 1) hx
have hwv : w = e 0 := (hg.correct (e 1) hx w hw hfw).trans hv.symm
refine ⟨BoundedSetTheory.hull d q (e 1),hh,iterUnion 2 f,hr,f,hf,?_⟩
have hi : ∀ i, cons f (cons (iterUnion 2 f) (cons (BoundedSetTheory.hull d q (e 1)) e)) i ∈ M := by
intro i; rcases i with _|_|_|i
exact hf
exact hr
exact hh
exact he i
rw [bounded_sat,Formula.absolute _ M hM _ hi]
simp only [Formula.Eval,CheckFormula.eval_graph,Formula.eval_pairMem,cons_zero,cons_succ]
exact ⟨hg,hx,hwv ▸ hw,hwv ▸ hfw⟩
theorem checkedValue_spec (M : ZFSet.{u}) (hM : Transitive M) (hT : SourceT M)
(e : ℕ → ZFSet.{u}) (he : ∀ i, e i ∈ M) :
checkedValueFormula.Sat (M : Set ZFSet) e ↔ e 0 = checkedCode (e 2) (e 1) :=
⟨checkedValue_sound M hM e he,checkedValue_complete M hM hT e he⟩
end TuringRigidity.ElementaryModel
end OAI

Xet Storage Details

Size:
1.93 kB
·
Xet hash:
ac1cf4ed3ca29128cec9116e0ddf06067cbc0500560ab3cd709cce5365bfe1e7

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