Download data/lean/OAI/Computability/DegreeRigidity/SetModels/ExtensionPowerSet.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.59 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Computability/DegreeRigidity/SetModels/ExtensionPowerSet.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Computability/DegreeRigidity/SetModels/ExtensionPowerSet.lean
-
curl -L -o ExtensionPowerSet.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Computability/DegreeRigidity/SetModels/ExtensionPowerSet.lean
3.59 kB
| 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 | |