Theories of L_{ω₁ω} sentences #
An L_{ω₁ω} theory is a set of L_{ω₁ω} sentences, and a structure is a model of it when it
satisfies every member. A countable theory can be replaced by a single sentence: its members,
enumerated into the carrier ℕ along IndexCoding.ofEncodableWith, form one countable
conjunction, which a structure satisfies exactly when it is a model of the theory. Indices that
code no member carry ⊤, so the conjunction of the empty theory holds in every structure.
Theories move along language homomorphisms, sentence by sentence; along an expansion a structure is a model of the image of a theory exactly when it is a model of the theory.
Main definitions #
FirstOrder.Language.Theoryω: theL_{ω₁ω}theories of a language.FirstOrder.Language.Theoryω.Model: a structure satisfies every sentence of a theory.FirstOrder.Language.Theoryω.conjunction: the countable conjunction of a countable theory.FirstOrder.Language.LHom.onTheoryω: the image of a theory under a language homomorphism.FirstOrder.Language.OmitsType: a structure omits a partial type when no tuple realizes all of it.
Main results #
FirstOrder.Language.Theoryω.realize_conjunction_iff: a structure satisfies the conjunction of a countable theory exactly when it is a model of the theory.FirstOrder.Language.Theoryω.model_constantsOn_update_iff: reinterpreting a constant absent from a theory preserves modelhood.FirstOrder.Language.Theoryω.Model.mono,FirstOrder.Language.Theoryω.model_empty,FirstOrder.Language.Theoryω.model_union_iff,FirstOrder.Language.Theoryω.model_insert_iff: the basic laws of modelhood.FirstOrder.Language.Theoryω.Model.bot_notMem,FirstOrder.Language.Theoryω.Model.not_notMemandFirstOrder.Language.Theoryω.Model.realize_of_imp_memwith its companions: a theory with a model contains no contradiction, and the components of its compound sentences are true there.FirstOrder.Language.Theoryω.model_image_toOmega_iff: a structure is a model of the image of a first-order theory exactly when it is a model of the first-order theory.FirstOrder.Language.StrongHomClass.theoryω_model_iff: isomorphic structures are models of the same theories.FirstOrder.Language.LHom.onTheoryω_model: along an expansion, a structure is a model of the image of a theory exactly when it is a model of the theory.Set.Countable.onTheoryω: the image of a countable theory is countable.FirstOrder.Language.not_omitsType_of_realize: a structure satisfyingφ.exsand every(φ.imp ψ).allswithψ ∈ pdoes not omitp.
References #
- The definitions follow
cameronfreer/infinitary-logicat commit518a366cba97b1ae8c4dc64a297a396939bc3e0b,InfinitaryLogic/Lomega1omega/Theory.lean, and the shape of Mathlib's first-orderTheoryandTheory.Model. - Divergences from that source: only theories, modelhood and the countable conjunction are taken
from it; the conjunction is the coded conjunction
iInfAlongalongIndexCoding.ofEncodableWith, so the empty theory needs no separate case. FirstOrder.Language.LHom.onTheoryω,FirstOrder.Language.LHom.mem_onTheoryωandFirstOrder.Language.LHom.onTheoryω_modelfollow Mathlib's first-orderLHom.onTheory,LHom.mem_onTheoryandLHom.onTheory_model.
An L_{ω₁ω} theory: a set of L_{ω₁ω} sentences.
Instances For
Unfolding lemma for Theoryω.Model.
A structure is a model of the image of a first-order theory in L_{ω₁ω} exactly when it is a
model of the first-order theory.
Sentences of a theory with a model #
In a model of T, the components of a compound sentence of T that a consistency property adds
are true.
A theory with a model does not contain a sentence together with its negation.
In a model of T, an implication in T has a false hypothesis or a true conclusion.
In a model of T, a negated implication in T has a true hypothesis and a false
conclusion.
In a model of T, a negated conjunction in T has a false conjunct.
In a model of T, every disjunct of a negated disjunction in T is false.
The conjunction of a countable theory #
The conjunction of a countable theory: its sentences, enumerated into the carrier ℕ
along IndexCoding.ofEncodableWith, joined by one countable conjunction. Indices that code no
sentence carry ⊤.
Instances For
The conjunction of a countable theory is the coded conjunction of its sentences.
A countable theory is one sentence. A structure satisfies the conjunction of a countable theory exactly when it is a model of the theory.
Reinterpreting a constant absent from every sentence of a theory preserves modelhood.
Omitting types #
A structure omits a set p of L_{ω₁ω} formulas in n bound variables, a partial type,
when no n-tuple of the structure realizes every member of p.
Instances For
Unfolding lemma for OmitsType.
A structure satisfying φ.exs and every sentence (φ.imp ψ).alls with ψ ∈ p does not omit
p: a tuple satisfying φ satisfies all of p.
The image of a theory is the image of its sentences.
Modelhood along an expansion. If the L'-structure on M expands its L-structure along
g, then M is a model of the image of T exactly when it is a model of T. No injectivity of
g and no countability of T is needed. This is the infinitary form of Mathlib's
LHom.onTheory_model.
The image of a countable theory under a language homomorphism is countable.
Isomorphic structures are models of the same L_{ω₁ω} theories.