File size: 2,227 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | import OAI.Computability.DegreeRigidity.Constructibility.ConstructibleSatisfaction
import OAI.Computability.DegreeRigidity.Constructibility.ConstructibleStages
namespace OAI
namespace TuringRigidity.RelativeConstructible
open ElementaryModel BoundedSetTheory TransitiveNameModel
universe u
theorem tupleEnv_cons {n : β} (x : ZFSet.{u}) (v : Fin n β ZFSet.{u}) :
tupleEnv (Fin.cases x v) = cons x (tupleEnv v) := by
funext i
cases i with
| zero => simp [tupleEnv,cons]
| succ i =>
by_cases hi : i < n
Β· simp only [tupleEnv,cons_succ,Nat.succ_lt_succ_iff,hi,dite_eq_left]
rfl
Β· simp [tupleEnv,cons_succ,hi]
theorem definedSubset_record (A x : ZFSet.{u}) (p : SentenceForm)
{n : β} (v : Fin n β ZFSet.{u}) (hv : β i, v i β A) (hb : p.bound β€ n+1) :
x β definedSubset A p v β x β A β§
ZFSet.pair (natSet (Encodable.encode p)) (tupleCode (Fin.cases x v)) β satisfactionSet A := by
rw [mem_definedSubset]
apply and_congr_right; intro hx
rw [satisfactionSet_spec A p _ (fun i => Fin.cases hx hv i) hb,tupleEnv_cons]
theorem definablePower_records (A S : ZFSet.{u}) :
S β definablePower A β
β (n : β) (p : SentenceForm) (v : Fin n β ZFSet.{u}),
p.bound β€ n+1 β§ (β i, v i β A) β§ β x,
(x β S β x β A β§ ZFSet.pair (natSet (Encodable.encode p))
(tupleCode (Fin.cases x v)) β satisfactionSet A) := by
rw [mem_definablePower]
constructor
Β· rintro β¨n,p,v,hb,hv,rflβ©
exact β¨n,p,v,hb,hv,fun x => definedSubset_record A x p v hv hbβ©
Β· rintro β¨n,p,v,hb,hv,hSβ©
refine β¨n,p,v,hb,hv,?_β©
apply ZFSet.ext; intro x
exact (hS x).trans (definedSubset_record A x p v hv hb).symm
theorem level_succ_records (R S : ZFSet.{u}) (o : Ordinal.{u}) :
S β level R (o+1) β
β (n : β) (p : SentenceForm) (v : Fin n β ZFSet.{u}),
p.bound β€ n+1 β§ (β i, v i β level R o) β§ β x,
(x β S β x β level R o β§ ZFSet.pair (natSet (Encodable.encode p))
(tupleCode (Fin.cases x v)) β satisfactionSet (level R o)) := by
rw [level_succ,definablePower_records]
end TuringRigidity.RelativeConstructible
end OAI
|