File size: 3,585 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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | import OAI.Computability.DegreeRigidity.SetModels.IntersectionName
namespace OAI
namespace TuringRigidity.AtomicForcing
open Set RecursiveNames TransitiveNameModel BoundedSetTheory CountableForcing
universe u
variable {c : ZFSet.{u}} [Preorder (Conditions c)] [Top (Conditions c)]
noncomputable def powerName (a : Name (Conditions c)) (W : ZFSet.{u}) : Name (Conditions c) :=
.mk (Conditions W) (fun s => a.restrict (label c) (label W s)) (fun _ => β€)
theorem encode_powerName (a : Name (Conditions c)) (W : ZFSet.{u})
(hW : β B β W, B β a.support (label c)) :
(powerName a W).encode (label c) = ZFSet.prod W ({label c β€} : ZFSet.{u}) := by
apply ZFSet.ext
intro z
change z β ZFSet.range _ β _
rw [ZFSet.mem_range]
constructor
Β· rintro β¨s,hsβ©
rw [Name.encode_restrict _ _ _ (hW _ (label_mem W s))] at hs
exact ZFSet.mem_prod.mpr β¨_,label_mem W s,_,ZFSet.mem_singleton.mpr rfl,hs.symmβ©
Β· intro hz
obtain β¨B,hB,t,ht,hzβ© := ZFSet.mem_prod.mp hz
obtain rfl := ZFSet.mem_singleton.mp ht
obtain β¨s,rflβ© := label_surjective W hB
exact β¨s,by rw [Name.encode_restrict _ _ _ (hW _ hB)]; exact hz.symmβ©
theorem mem_val_powerName (a : Name (Conditions c)) (W : ZFSet.{u})
(G : Set (Conditions c)) (hG : β€ β G) (x : ZFSet.{u}) :
x β (powerName a W).val G β β B β W, (a.restrict (label c) B).val G = x := by
rw [powerName,Name.mem_val]
constructor
Β· rintro β¨s,_,hsβ©
exact β¨_,label_mem W s,hsβ©
Β· rintro β¨B,hB,hxβ©
obtain β¨s,rflβ© := label_surjective W hB
exact β¨s,hG,hxβ©
theorem extension_powerSet (M : ZFSet.{u}) (hM : Transitive M)
(hP : Pairing M) (hU : BoundedSetTheory.Union M) (hPow : PowerSet M) (hS : Separation M)
(hR : SigmaReplacement M) (hI : Infinity M) (hc : c β M)
{o : ZFSet.{u}} (hoM : o β M)
(ho : β r s : Conditions c, ZFSet.pair (label c r) (label c s) β o β r β€ s)
(G : GenericFilter (Conditions c)) (hG : GroundGeneric M G) (htop : β€ β G.carrier) :
PowerSet (genericExtensionSet M c G.carrier) := by
intro x hx
obtain β¨a,ha,rflβ© := (mem_extensionSet M c G.carrier x).mp hx
have hsupport := support_mem M hM hP hU hPow hS hc hoM ho a ha
obtain β¨W,hW,hWdefβ© := internal_power M hM hPow hsupport
have hWsub : β B β W, B β a.support (label c) := fun B hB => ((hWdef B).mp hB).2
have hpower : (powerName a W).encode (label c) β M := by
rw [encode_powerName a W hWsub]
exact product_mem M hM hP hU hPow hS hW
(singleton_mem M hM hP (hM c hc _ (label_mem c β€)))
refine β¨(powerName a W).val G.carrier,(mem_extensionSet M c G.carrier _).mpr
β¨_,hpower,rflβ©,?_β©
intro z hz
constructor
Β· intro hzPower y _ hyz
obtain β¨B,hB,hBzβ© := (mem_val_powerName a W G.carrier htop z).mp hzPower
rw [βhBz] at hyz
exact a.val_restrict_subset (label c) B G hyz
Β· intro hsub
obtain β¨b,hb,rflβ© := (mem_extensionSet M c G.carrier z).mp hz
have hba : b.val G.carrier β a.val G.carrier := fun y hy => hsub y
(genericExtensionSet_transitive M c hM G.carrier _
((mem_extensionSet M c G.carrier _).mpr β¨b,hb,rflβ©) y hy) hy
obtain β¨B,hBM,hBS,hBvalβ© := internal_intersection_name M hM hP hU hPow hS hR hI hc hoM ho G hG a b ha hb
apply (mem_val_powerName a W G.carrier htop _).mpr
refine β¨B,(hWdef B).mpr β¨hBM,hBSβ©,hBval.trans ?_β©
apply ZFSet.ext
intro y
rw [ZFSet.mem_inter]
exact β¨And.right,fun hy => β¨hba hy,hyβ©β©
end TuringRigidity.AtomicForcing
end OAI
|