cfahlgren1's picture
download
raw
3.69 kB
import OAI.Computability.DegreeRigidity.OrdinalCodes.OmegaPowerSyntax
import OAI.Computability.DegreeRigidity.SetModels.InternalOrdinalCodes
namespace OAI
namespace TuringRigidity.OrdinalCoding
open TransitiveNameModel BoundedSetTheory RelationCollapse ElementaryModel RelativeConstructible OrdinalArithmetic
universe u
noncomputable def codePowerAt (y x : ℕ) : SentenceForm :=
omegaPowerSentence.rename (fun i => if i = 0 then y else x)
noncomputable def codeSumAt (c a b : ℕ) : SentenceForm :=
sumSentence.rename (fun i => if i = 0 then c else if i = 1 then a else b)
noncomputable def codeScaleAt (twice : Bool) (y x : ℕ) : SentenceForm :=
if twice then doubleSentence.rename (fun i => if i = 0 then y else x) else .equal y x
noncomputable def codeScale (twice : Bool) (a : Ordinal.{u}) : Ordinal.{u} :=
if twice then a*2 else a
theorem codePowerAt_sound (M : ZFSet.{u}) (hM : Transitive M)
(hω : ZFSet.omega.{u} ∈ M) (y x : ℕ) (e : ℕ → ZFSet.{u}) (he : ∀ i, e i ∈ M) :
(codePowerAt y x).Sat (M : Set ZFSet) e →
(e x).IsOrdinal ∧ e y = (Ordinal.omega0 ^ (e x).rank).toZFSet := by
rw [codePowerAt,SentenceForm.sat_rename]
exact omegaPowerSentence_sound M hM hω _ (fun i => he _)
theorem codePowerAt_sourceT (M : ZFSet.{u}) (hM : Transitive M) (hT : SourceT M)
(y x : ℕ) (e : ℕ → ZFSet.{u}) (he : ∀ i, e i ∈ M) :
(codePowerAt y x).Sat (M : Set ZFSet) e ↔
(e x).IsOrdinal ∧ e y = (Ordinal.omega0 ^ (e x).rank).toZFSet := by
rw [codePowerAt,SentenceForm.sat_rename]
exact omegaPowerSentence_sourceT M hM hT _ (fun i => he _)
theorem codeSumAt_sound (M : ZFSet.{u}) (hM : Transitive M)
(c a b : ℕ) (e : ℕ → ZFSet.{u}) (he : ∀ i, e i ∈ M)
(α β : Ordinal.{u}) (ha : e a = α.toZFSet) (hb : e b = β.toZFSet) :
(codeSumAt c a b).Sat (M : Set ZFSet) e → e c = (α+β).toZFSet := by
rw [codeSumAt,SentenceForm.sat_rename]
exact sumSentence_sound M hM _ (fun i => he _) α β ha hb
theorem codeSumAt_sourceT (M : ZFSet.{u}) (hM : Transitive M) (hT : SourceT M)
(c a b : ℕ) (e : ℕ → ZFSet.{u}) (he : ∀ i, e i ∈ M)
(α β : Ordinal.{u}) (ha : e a = α.toZFSet) (hb : e b = β.toZFSet) :
(codeSumAt c a b).Sat (M : Set ZFSet) e ↔ e c = (α+β).toZFSet := by
rw [codeSumAt,SentenceForm.sat_rename]
exact sumSentence_sourceT M hM hT _ (fun i => he _) α β ha hb
theorem codeScaleAt_sound (M : ZFSet.{u}) (hM : Transitive M)
(twice : Bool) (y x : ℕ) (e : ℕ → ZFSet.{u}) (he : ∀ i, e i ∈ M)
(a : Ordinal.{u}) (ha : e x = a.toZFSet) :
(codeScaleAt twice y x).Sat (M : Set ZFSet) e → e y = (codeScale twice a).toZFSet := by
cases twice with
| false => exact fun h => h.trans ha
| true =>
rw [codeScaleAt,ite_eq_left rfl,SentenceForm.sat_rename]
exact doubleSentence_sound M hM _ (fun i => he _) a ha
theorem codeScaleAt_sourceT (M : ZFSet.{u}) (hM : Transitive M) (hT : SourceT M)
(twice : Bool) (y x : ℕ) (e : ℕ → ZFSet.{u}) (he : ∀ i, e i ∈ M)
(a : Ordinal.{u}) (ha : e x = a.toZFSet) :
(codeScaleAt twice y x).Sat (M : Set ZFSet) e ↔ e y = (codeScale twice a).toZFSet := by
cases twice with
| false => change e y = e x ↔ _; rw [ha]; rfl
| true =>
rw [codeScaleAt,ite_eq_left rfl,SentenceForm.sat_rename]
exact doubleSentence_sourceT M hM hT _ (fun i => he _) a ha
theorem codeScale_internal (M : ZFSet.{u}) (hM : Transitive M) (hT : SourceT M)
(twice : Bool) (a : Ordinal.{u}) (ha : a.toZFSet ∈ M) :
(codeScale twice a).toZFSet ∈ M := by
cases twice
· exact ha
· exact ordinal_mul_two_internal M hM hT a ha
end TuringRigidity.OrdinalCoding
end OAI

Xet Storage Details

Size:
3.69 kB
·
Xet hash:
7f93bc3c38b0cb81c2fa18b2a9ab9d0875924b48a8757c285fd1f923969cab10

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