Download lean/OAI/Computability/DegreeRigidity/Representation/CommonGenericModels.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
instanceextension_countable (Mc : ZFSet.{u}) [Countable (ConditionsM)] (G : Set (Conditions c)) :
Countable (Conditions (genericExtensionSet M c G)) :=by
body · 11
lines
havehM : (M : SetZFSet.{u}).Countable:=by
apply (Set.countable_range (label M)).mono
intro x hx
exact label_surjective M hx
havehE : (genericExtensionSet M c G : SetZFSet.{u}).Countable:=by
rw [genericExtensionSet_coe]
exact genericExtension_countable M c hM Glet : Countable (genericExtensionSet M c G : SetZFSet.{u}) := hE.to_subtype
exact Function.Injective.countable (f :=funp : Conditions (genericExtensionSet M c G) =>
(⟨label _ p,label_mem _ p⟩ : (genericExtensionSet M c G : SetZFSet.{u})))
(fun x y h => label_injective _ (congrArg (funz : (genericExtensionSet M c G : SetZFSet.{u}) => z.val) h))
theoremcounting_model_with_generic (M : ZFSet.{u}) [Countable (ConditionsM)]
(hM : TransitiveM) (hT : SourceTM) {c o : ZFSet.{u}} [Preorder (Conditions c)]
(hc : c ∈M) (hoM : o ∈M)
(ho : ∀p q : Conditions c, ZFSet.pair (label c p) (label c q) ∈ o ↔ p ≤ q)
(p₀ : Conditions c) :
∃N : ZFSet.{u}, M⊆N∧TransitiveN∧SourceTN∧Countable (ConditionsN) ∧∃G : GenericFilter (Conditions c), p₀ ∈G.carrier ∧
genericFilterSet c G.carrier ∈N∧AtomicForcing.GroundGenericMG:=by
proof · 7
lines
obtain ⟨D,hDM,hD,hcD⟩ := dense_family M hM hT hc hoM ho
obtain ⟨d,hd,_,_,H,_,hMN,hN,hTN,hcount⟩ :=InternalCollapse.exists_internal_counting_extension M hM hT hDM ⟨c,hcD⟩
let : Preorder (Conditions d) :=InternalCollapse.collapsePreorder d
letN:= genericExtensionSet M d H.carrier
obtain ⟨G,hp,hGN,hG⟩ := internal_ground_generic MN hM hN hT hTN hMN hc hoM hDM ho hD hcount p₀
exact ⟨N,hMN,hN,hTN,inferInstance,G,hp,hGN,hG⟩
theoremcommon_generic_model (M : ZFSet.{u}) [Countable (ConditionsM)]
(hM : TransitiveM) (hT : SourceTM)
{c o d v : ZFSet.{u}} [Preorder (Conditions c)] [Preorder (Conditions d)]
(hc : c ∈M) (hoM : o ∈M)
(ho : ∀p q : Conditions c, ZFSet.pair (label c p) (label c q) ∈ o ↔ p ≤ q)
(hd : d ∈M) (hvM : v ∈M)
(hv : ∀p q : Conditions d, ZFSet.pair (label d p) (label d q) ∈ v ↔ p ≤ q)
(p₀ : Conditions c) (q₀ : Conditions d) :
∃N : ZFSet.{u}, M⊆N∧TransitiveN∧SourceTN∧Countable (ConditionsN) ∧∃G : GenericFilter (Conditions c), ∃H : GenericFilter (Conditions d),
p₀ ∈G.carrier ∧ q₀ ∈H.carrier ∧ genericFilterSet c G.carrier ∈N∧
genericFilterSet d H.carrier ∈N∧AtomicForcing.GroundGenericMG∧AtomicForcing.GroundGenericMH:=by
proof · 7
lines
obtain ⟨N,hMN,hN,hTN,hcount,G,hp,hGN,hG⟩ := counting_model_with_generic M hM hT hc hoM ho p₀
let : Countable (ConditionsN) := hcount
obtain ⟨K,hNK,hK,hTK,hcountK,H,hq,hHK,hH⟩ :=
counting_model_with_generic N hN hTN (hMN hd) (hMN hvM) hv q₀
refine ⟨K,fun _ hx => hNK (hMN hx),hK,hTK,hcountK,G,H,hp,hq,hNK hGN,hHK,hG,?_⟩
intro E hEM hE
exact hH E (hMN hEM) hE