L∞ω Theories and Semantic Entailment #
This file defines theories, models, semantic entailment, and elementary equivalence in L∞ω (infinitary logic with arbitrary conjunctions/disjunctions).
Main Definitions #
TheoryInf: A theory in L∞ω is a set of sentences.TheoryInf.Model: A structure M is a model of theory T if it satisfies all sentences in T.LinfEquiv: L∞ω-elementary equivalence between structures.
Main Results #
LinfEquiv.refl,LinfEquiv.symm,LinfEquiv.trans: LinfEquiv is an equivalence relation.LinfEquiv.of_equiv: Isomorphic structures are L∞ω-equivalent.
References #
Theories #
A theory in L∞ω is a set of L∞ω sentences.
Equations
- L.TheoryInf = Set L.SentenceInf
Instances For
Semantic entailment from the empty theory: valid sentences.
Equations
- FirstOrder.Language.TheoryInf.Valid φ = ∀ (M : Type) [inst : L.Structure M], φ.Realize M
Instances For
Isomorphism Invariance of Realization #
Realization of L∞ω formulas is preserved by language isomorphisms.
Given an isomorphism e : M ≃[L] N, a formula realized in M with variable assignments
v and xs is also realized in N with the transported assignments e ∘ v and e ∘ xs.
L∞ω Elementary Equivalence #
Two structures are L∞ω-elementarily equivalent if they satisfy the same L∞ω sentences.
The current definition quantifies over BoundedFormulaInf.{u, v, 0, 0}, pinning the
free-variable universe (u') and index-type universe (uι) to 0 for practicality.
The uι = 0 choice ensures compatibility with qrank : Ordinal.{0} (whose suprema
at iSup/iInf nodes must live in a fixed universe) and suffices for all standard
applications (any countable or Type 0 index type falls within this definition).
Equations
- L.LinfEquiv M N = ∀ (φ : L.BoundedFormulaInf Empty 0), FirstOrder.Language.SentenceInf.Realize φ M ↔ FirstOrder.Language.SentenceInf.Realize φ N
Instances For
Isomorphic structures are L∞ω-equivalent.
The proof transports variable assignments along the isomorphism using
BoundedFormulaInf.realize_equiv, then observes that e ∘ Empty.elim = Empty.elim
and e ∘ Fin.elim0 = Fin.elim0 since both domains are empty.
Universe-correct L∞ω Elementary Equivalence #
L∞ω-elementary equivalence with index types matching the structure universe.
Unlike LinfEquiv which pins uι = 0, this version uses BoundedFormulaInf.{u, v, 0, w}
so that index types for iSup/iInf may be any Type w. The backward direction of
Karp's theorem constructs formulas with iInf indexed by N : Type w, which needs
uι = w.
Equations
- L.LinfEquivW M N = ∀ (φ : L.BoundedFormulaInf Empty 0), FirstOrder.Language.SentenceInf.Realize φ M ↔ FirstOrder.Language.SentenceInf.Realize φ N