First-Order Satisfiability #
This file deals with the satisfiability of first-order theories, as well as equivalence over them.
Main Definitions #
FirstOrder.Language.Theory.IsSatisfiable:T.IsSatisfiableindicates thatThas a nonempty model.FirstOrder.Language.Theory.IsFinitelySatisfiable:T.IsFinitelySatisfiableindicates that every finite subset ofTis satisfiable.FirstOrder.Language.Theory.IsComplete:T.IsCompleteindicates thatTis satisfiable and models each sentence or its negation.Cardinal.Categorical: A theory isκ-categorical if all models of sizeκare isomorphic.
Main Results #
- The Compactness Theorem,
FirstOrder.Language.Theory.isSatisfiable_iff_isFinitelySatisfiable, shows that a theory is satisfiable iff it is finitely satisfiable. FirstOrder.Language.completeTheory.isComplete: The complete theory of a structure is complete.FirstOrder.Language.Theory.exists_large_model_of_infinite_modelshows that any theory with an infinite model has arbitrarily large models.FirstOrder.Language.Theory.exists_elementaryEmbedding_card_eq: The Upward Löwenheim–Skolem Theorem: Ifκis a cardinal greater than the cardinalities ofLand an infiniteL-structureM, thenMhas an elementary extension of cardinalityκ.
Implementation Details #
- Satisfiability of an
L.TheoryTis defined in the minimal universe containing all the symbols ofL. By Löwenheim-Skolem, this is equivalent to satisfiability in any universe.
A theory is satisfiable if a structure models it.
Equations
Instances For
A theory is finitely satisfiable if all of its finite subtheories are satisfiable.
Equations
- T.IsFinitelySatisfiable = ∀ (T0 : Finset L.Sentence), ↑T0 ⊆ T → FirstOrder.Language.Theory.IsSatisfiable ↑T0
Instances For
The Compactness Theorem of first-order logic: A theory is satisfiable if and only if it is finitely satisfiable.
Any theory with an infinite model has arbitrarily large models.
A version of The Downward Löwenheim–Skolem theorem where the structure N elementarily embeds
into M, but is not by type a substructure of M, and thus can be chosen to belong to the universe
of the cardinal κ.
The Upward Löwenheim–Skolem Theorem: If κ is a cardinal greater than the cardinalities of
L and an infinite L-structure M, then M has an elementary extension of cardinality κ.
The Löwenheim–Skolem Theorem: If κ is a cardinal greater than the cardinalities of L
and an infinite L-structure M, then there is an elementary embedding in the appropriate
direction between then M and a structure of cardinality κ.
A consequence of the Löwenheim–Skolem Theorem: If κ is a cardinal greater than the
cardinalities of L and an infinite L-structure M, then there is a structure of cardinality κ
elementarily equivalent to M.
A theory models a (bounded) formula when any of its nonempty models realizes that formula on all inputs.
Instances For
A theory models a (bounded) formula when any of its nonempty models realizes that formula on all inputs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
An alternative statement of the Compactness Theorem. A formula φ is modeled by a
theory iff there is a finite subset T0 of the theory such that φ is modeled by T0
A theory is complete when it is satisfiable and models each sentence or its negation.
Equations
- T.IsComplete = (T.IsSatisfiable ∧ ∀ (φ : L.Sentence), T ⊨ᵇ φ ∨ T ⊨ᵇ FirstOrder.Language.Formula.not φ)
Instances For
A theory is maximal when it is satisfiable and contains each sentence or its negation. Maximal theories are complete.
Equations
- T.IsMaximal = (T.IsSatisfiable ∧ ∀ (φ : L.Sentence), φ ∈ T ∨ FirstOrder.Language.Formula.not φ ∈ T)
Instances For
A theory is κ-categorical if all models of size κ are isomorphic.
Equations
- κ.Categorical T = ∀ (M N : T.ModelType), Cardinal.mk ↑M = κ → Cardinal.mk ↑N = κ → Nonempty (L.Equiv ↑M ↑N)
Instances For
The Łoś–Vaught Test : a criterion for categorical theories to be complete.