Download lean/OAI/ModelTheory/Categoricity/Model.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 3.93 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/ModelTheory/Categoricity/Model.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/ModelTheory/Categoricity/Model.lean
-
curl -L -o Model.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/ModelTheory/Categoricity/Model.lean
3.93 kB
Lean 4 · 14
declarations statementsfull
structure RelModel (L : ℕ → Type) where body · 2 lines
carrier : ZFSet.{u}
rel : (n : ℕ) → L n → (Fin n → carrier) → Propstructure IsSubstructure (M N : RelModel.{u} L) : Prop where body · 3 lines
subset : M.carrier ⊆ N.carrier
restrict : ∀ (n) (r : L n) (a : Fin n → M.carrier),
M.rel n r a ↔ N.rel n r (fun i => ⟨(a i).val, subset (a i).property⟩)structure Iso (M N : RelModel.{u} L) where body · 3 lines
toEquiv : M.carrier ≃ N.carrier
map_rel : ∀ (n) (r : L n) (a : Fin n → M.carrier),
M.rel n r a ↔ N.rel n r (toEquiv ∘ a)def IsUnion {ι : Type u} (F : ι → RelModel.{u} L) (U : RelModel.{u} L) : Prop := body · 2 lines
(∀ i, IsSubstructure (F i) U) ∧
∀ x : U.carrier, ∃ i, x.val ∈ (F i).carrierstructure ClassData (L : ℕ → Type) where body · 2 lines
objects : RelModel.{u} L → Prop
strong : RelModel.{u} L → RelModel.{u} L → Propdef LSBound (θ : Cardinal.{u}) : Prop := body · 3 lines
ℵ₀ ≤ θ ∧ Cardinal.lift.{u, 0} (# (Σ n, L n)) ≤ θ ∧
∀ M, K.objects M → ∀ A : ZFSet.{u}, A ⊆ M.carrier →
∃ N, K.objects N ∧ K.strong N M ∧ A ⊆ N.carrier ∧ N.carrier.card ≤ A.card + θdef HasLSNumber (θ : Cardinal.{u}) : Prop := body · 1 line
K.LSBound θ ∧ ∀ θ', K.LSBound θ' → θ ≤ θ'structure IsAEC : Prop where body · 22 lines
strong_objects : ∀ {M N}, K.strong M N → K.objects M ∧ K.objects N
refl : ∀ {M}, K.objects M → K.strong M M
antisymm : ∀ {M N}, K.strong M N → K.strong N M → M = N
trans : ∀ {M N P}, K.strong M N → K.strong N P → K.strong M P
substructure : ∀ {M N}, K.strong M N → M.IsSubstructure N
iso_objects : ∀ {M N}, K.objects M → Nonempty (M.Iso N) → K.objects N
iso_strong : ∀ {M N M' N'} (h : K.strong M N)
(e : M.Iso M') (f : N.Iso N'),
(∀ x : M.carrier,
(e.toEquiv x).val =
(f.toEquiv ⟨x.val, (substructure h).subset x.property⟩).val) →
K.strong M' N'
coherence : ∀ {M₀ M₁ M₂}, M₀.IsSubstructure M₁ →
K.strong M₀ M₂ → K.strong M₁ M₂ → K.strong M₀ M₁
chain_union : ∀ (γ : Ordinal.{u}), γ ≠ 0 →
∀ (F : γ.ToType → RelModel.{u} L),
(∀ i, K.objects (F i)) →
(∀ i j, i ≤ j → K.strong (F i) (F j)) →
∃ U, K.objects U ∧ RelModel.IsUnion F U ∧
(∀ i, K.strong (F i) U) ∧
(∀ N, K.objects N → (∀ i, K.strong (F i) N) → K.strong U N)
downward : ∃ θ, K.LSBound θdef Categorical (μ : Cardinal.{u}) : Prop := body · 3 lines
(∃ M, K.objects M ∧ M.carrier.card = μ) ∧
∀ M N, K.objects M → K.objects N →
M.carrier.card = μ → N.carrier.card = μ → Nonempty (M.Iso N)def TwoModels (μ : Cardinal.{u}) : Prop := body · 2 lines
∃ M N, K.objects M ∧ K.objects N ∧
M.carrier.card = μ ∧ N.carrier.card = μ ∧ ¬ Nonempty (M.Iso N)def CH : Prop := (2 : Cardinal.{u}) ^ ℵ₀ = ℵ_ 1 def hanf (κ : Cardinal.{u}) : Cardinal.{u} := beth (succ ((2 : Cardinal.{u}) ^ κ)).ord def endpoint : Cardinal.{u} := beth (ω_ 2) def tailThreshold : Cardinal.{u} := beth (succ ((2 : Cardinal.{u}) ^ (ℵ_ 1))).ord Outline