Satisfiability and entailment of L_{ω₁ω} theories #
An L_{ω₁ω} theory is satisfiable when it has a nonempty model, and it entails a sentence
when every nonempty model of the theory satisfies the sentence. As in Mathlib's first-order
Theory.IsSatisfiable and Theory.ModelsBoundedFormula, both notions quantify over models in
the fixed universe max u v of a language L : Language.{u, v}. Any nonempty model that is
small in that universe, in particular any countable model, witnesses satisfiability and
satisfies every entailed sentence.
Entailment is reflexive, monotone and transitive, admits cut, and is refutation of the negated
conclusion. An entailed ¬ ∀ x, φ x yields the entailed ∃ x, ¬ φ x. A countable theory
entails exactly what the conjunction of its sentences entails, so the entailments of a countable
theory are entailments between two sentences. For first-order
theories and sentences, embedded into L_{ω₁ω} by BoundedFormula.toOmega, satisfiability and
entailment agree with Mathlib's first-order notions.
Main definitions #
FirstOrder.Language.Theoryω.IsSatisfiable: a theory has a nonempty model.FirstOrder.Language.Theoryω.Entails: every nonempty model of a theory satisfies a sentence.FirstOrder.Language.Sentenceω.Entails: entailment between two sentences.
Main results #
FirstOrder.Language.Theoryω.Model.isSatisfiable: a nonempty small model witnesses satisfiability.FirstOrder.Language.Theoryω.Entails.realize_of_small: an entailed sentence holds in every nonempty small model.FirstOrder.Language.Theoryω.entails_iff_not_isSatisfiable: a theory entails a sentence exactly when the theory together with the negation of the sentence is unsatisfiable.FirstOrder.Language.Theoryω.Entails.trans,FirstOrder.Language.Theoryω.Entails.cut: the transitivity and cut rules.FirstOrder.Language.Theoryω.entails_iff_conjunction_entails: a countable theory entails what its conjunction entails.FirstOrder.Language.Theoryω.isSatisfiable_image_toOmega_iff,FirstOrder.Language.Theoryω.entails_image_toOmega_iffandFirstOrder.Language.Sentenceω.entails_toOmega_iff: agreement with Mathlib'sTheory.IsSatisfiableandTheory.ModelsBoundedFormulaon first-order theories.
References #
- The definitions and the refutation characterisation follow Mathlib's first-order
Theory.IsSatisfiable,Theory.ModelsBoundedFormulaandTheory.models_iff_not_satisfiableinMathlib/ModelTheory/Satisfiability.lean(Aaron Anderson). - Divergences from Mathlib: a model of an
L_{ω₁ω}theory is an unbundled structure together with a proof ofTheoryω.Model, so no bundled model type is introduced; a model in another universe is moved into the universemax u vthroughSmall, whereas Mathlib's first-orderTheory.Model.isSatisfiableuses downward Löwenheim–Skolem, which forL_{ω₁ω}holds only relative to countable fragments.
A theory is satisfiable when it has a nonempty model in the universe max u v, the model
universe of Mathlib's first-order Theory.IsSatisfiable.
Instances For
Unfolding lemma for Theoryω.IsSatisfiable.
Unfolding lemma for Theoryω.Entails.
Satisfiability #
A nonempty model of a theory that is small in the universe max u v, for instance a countable
model in any universe, witnesses the satisfiability of the theory.
A subtheory of a satisfiable theory is satisfiable.
The empty theory is satisfiable.
Entailment #
A theory entailing ¬ ∀ x, φ x entails ∃ x, ¬ φ x.
Entailment is refutation. A theory entails a sentence exactly when the theory together
with the negation of the sentence is unsatisfiable. This is the L_{ω₁ω} form of Mathlib's
Theory.models_iff_not_satisfiable.
A sentence entailed by a theory holds in every nonempty model of the theory that is small in
the universe max u v, for instance in every countable model in any universe.
A theory is satisfiable exactly when it does not entail the false sentence.
A theory entails the conjunction of a countable theory exactly when it entails each of its sentences.
Entailment between sentences #
A sentence entails another when the theory consisting of the first sentence entails the
second: every nonempty model of φ in the universe max u v satisfies ψ.
Instances For
A sentence entails another when every nonempty model of the first in the universe max u v
satisfies the second.
Every sentence entails itself.
A countable theory entails what its conjunction entails. This reduces the entailments of a countable theory to entailments between two sentences.
Agreement with first-order satisfiability and entailment #
The image of a first-order theory in L_{ω₁ω} is satisfiable exactly when the first-order
theory is satisfiable in the sense of Mathlib's Theory.IsSatisfiable.
The image of a first-order theory in L_{ω₁ω} entails the image of a first-order sentence
exactly when the first-order theory models the sentence in the sense of Mathlib's
Theory.ModelsBoundedFormula.
Entailment between the images of two first-order sentences in L_{ω₁ω} is first-order
entailment in the sense of Mathlib's Theory.ModelsBoundedFormula.