The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V32. Logic, model theory and computability

Mathlib.ModelTheory.Skolem

12 declarations. Mathlib docs · Source

Skolem Functions and Downward Löwenheim–Skolem

Main Definitions

  • FirstOrder.Language.skolem₁ is a language consisting of Skolem functions for another language.

Main Results

  • FirstOrder.Language.exists_elementarySubstructure_card_eq is the Downward Löwenheim–Skolem theorem: If s is a set in an L-structure M and κ an infinite cardinal such that max (#s, L.card) ≤ κ and κ ≤ # M, then M has an elementary substructure containing s of cardinality κ.

TODO

  • Use skolem₁ recursively to construct an actual Skolemization of a language.

def FirstOrder.Language.skolem₁ E3 #

FirstOrder.Language → FirstOrder.Language

A language consisting of Skolem functions for another language. Called skolem₁ because it is the first step in building a Skolemization of a language.

theorem FirstOrder.Language.skolem₁_Functions E0 #

∀ (L : FirstOrder.Language) (n : ℕ), L.skolem₁.Functions n = L.BoundedFormula Empty (n + 1)

theorem FirstOrder.Language.skolem₁_Relations E0 #

∀ (L : FirstOrder.Language) (x : ℕ), L.skolem₁.Relations x = Empty

theorem FirstOrder.Language.card_functions_sum_skolem₁ E1 #

∀ {L : FirstOrder.Language},
  Cardinal.mk ((n : ℕ) × (L.sum L.skolem₁).Functions n) = Cardinal.mk ((n : ℕ) × L.BoundedFormula Empty (n + 1))

theorem FirstOrder.Language.card_functions_sum_skolem₁_le E1 #

∀ {L : FirstOrder.Language}, Cardinal.mk ((n : ℕ) × (L.sum L.skolem₁).Functions n) ≤ max Cardinal.aleph0 L.card

instance FirstOrder.Language.skolem₁Structure E0 #

{L : FirstOrder.Language} → {M : Type w} → [Nonempty M] → [L.Structure M] → L.skolem₁.Structure M

The structure assigning each function symbol of L.skolem₁ to a skolem function generated with choice.

theorem FirstOrder.Language.Substructure.skolem₁_reduct_isElementary E1 #

∀ {L : FirstOrder.Language} {M : Type w} [inst : Nonempty M] [inst_1 : L.Structure M]
  (S : (L.sum L.skolem₁).Substructure M), (FirstOrder.Language.LHom.sumInl.substructureReduct S).IsElementary

def FirstOrder.Language.Substructure.elementarySkolem₁Reduct E1 #

{L : FirstOrder.Language} →
  {M : Type w} →
    [inst : Nonempty M] → [inst_1 : L.Structure M] → (L.sum L.skolem₁).Substructure M → L.ElementarySubstructure M

Any L.sum L.skolem₁-substructure is an elementary L-substructure.

theorem FirstOrder.Language.Substructure.coeSort_elementarySkolem₁Reduct E1 #

∀ {L : FirstOrder.Language} {M : Type w} [inst : Nonempty M] [inst_1 : L.Structure M]
  (S : (L.sum L.skolem₁).Substructure M), ↥S.elementarySkolem₁Reduct = ↥S

instance FirstOrder.Language.Substructure.elementarySkolem₁Reduct.instSmall E0 #

∀ (L : FirstOrder.Language) (M : Type w) [inst : Nonempty M] [inst_1 : L.Structure M],
  Small.{max u v, w} ↥⊥.elementarySkolem₁Reduct

theorem FirstOrder.Language.exists_small_elementarySubstructure E1 #

∀ (L : FirstOrder.Language) (M : Type w) [inst : L.Structure M], ∃ S, Small.{max u v, w} ↥S

theorem FirstOrder.Language.exists_elementarySubstructure_card_eq E3 #

∀ (L : FirstOrder.Language) {M : Type w} [inst : L.Structure M] (s : Set M) (κ : Cardinal.{w'}),
  Cardinal.aleph0 ≤ κ →
    Cardinal.lift.{w', w} (Cardinal.mk ↑s) ≤ Cardinal.lift.{w, w'} κ →
      Cardinal.lift.{w', max u v} L.card ≤ Cardinal.lift.{max u v, w'} κ →
        Cardinal.lift.{w, w'} κ ≤ Cardinal.lift.{w', w} (Cardinal.mk M) →
          ∃ S, s ⊆ ↑S ∧ Cardinal.lift.{w', w} (Cardinal.mk ↥S) = Cardinal.lift.{w, w'} κ

The Downward Löwenheim–Skolem theorem : If s is a set in an L-structure M and κ an infinite cardinal such that max (#s, L.card) ≤ κ and κ ≤ # M, then M has an elementary substructure containing s of cardinality κ.