roseking's picture
Add lean source and binary files (part 95)
b224933 verified
Raw History Blame Contribute Delete
3.93 kB
26
structure RelModel (L : ℕ → Type) where
body · 2 lines
  carrier : ZFSet.{u}
  rel : (n : ℕ) → L n → (Fin n → carrier) → Prop
34
structure 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⟩)
39
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)
44
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).carrier
50
structure ClassData (L : ℕ → Type) where
body · 2 lines
  objects : RelModel.{u} L → Prop
  strong : RelModel.{u} L → RelModel.{u} L → Prop
58
def 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 + θ
63
def HasLSNumber (θ : Cardinal.{u}) : Prop :=
body · 1 line
  K.LSBound θ ∧ ∀ θ', K.LSBound θ' → θ ≤ θ'
66
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 θ
90
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)
95
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)
101
def CH : Prop := (2 : Cardinal.{u}) ^ ℵ₀ = ℵ_ 1
103
def hanf (κ : Cardinal.{u}) : Cardinal.{u} := beth (succ ((2 : Cardinal.{u}) ^ κ)).ord
105
def endpoint : Cardinal.{u} := beth (ω_ 2)
107
def tailThreshold : Cardinal.{u} := beth (succ ((2 : Cardinal.{u}) ^ (ℵ_ 1))).ord