Language maps on infinitary formulas #
A language homomorphism g : L →ᴸ L' acts on the infinitary formulas of L, at every carrier
ι, symbol by symbol: each term is mapped by Mathlib's LHom.onTerm, each relation symbol by
g.onRelation, and the logical structure is kept. This is the infinitary form of Mathlib's
LHom.onBoundedFormula.
When an L'-structure on M expands an L-structure along g (g.IsExpansionOn M), the image
of a formula is realized exactly when the formula is. Every passage between languages, such as
adding constants or restricting to the symbols a formula mentions, transfers truth through this
result.
Main definitions #
FirstOrder.Language.LHom.onBoundedFormulaInf: the action of a language homomorphism on infinitary formulas.
Main results #
FirstOrder.Language.LHom.realize_onBoundedFormulaInf: along an expansion, the image of a formula is realized exactly when the formula is.FirstOrder.Language.LHom.realize_sentenceInf_onBoundedFormulaInf: its form for sentences.FirstOrder.Language.LHom.id_onBoundedFormulaInfandFirstOrder.Language.LHom.comp_onBoundedFormulaInf: the action is functorial.FirstOrder.Language.LHom.onBoundedFormulaInf_toInf,FirstOrder.Language.LHom.onBoundedFormulaInf_mapBound,FirstOrder.Language.LHom.onBoundedFormulaInf_castLEandFirstOrder.Language.LHom.onBoundedFormulaInf_reindex: the action commutes with the embedding of finitary formulas, with relabelling and weakening of bound-variable slots, and with transport along a coding of carriers; along the way it commutes with⊥,⊤, negation, existential quantification and the coded connectivesiInfAlongandiSupAlong.FirstOrder.Language.LEquiv.realize_onBoundedFormulaInf: realization is preserved by translation along a language equivalence, the target structure being the reduct along the inverse map.
References #
- Ported from
cameronfreer/infinitary-logicat commit518a366cba97b1ae8c4dc64a297a396939bc3e0b:mapLanguageandrealize_mapLanguageinInfinitaryLogic/Lomega1omega/Operations.lean. - Divergences from that source: the action is defined at every carrier
ιrather than atℕ, between languages in arbitrary universes rather than a common one, and as a method of the language homomorphism named after Mathlib's finitaryLHom.onBoundedFormula; the functor laws are new.
The action of a language homomorphism on infinitary formulas: each term is mapped by
g.onTerm, each relation symbol by g.onRelation, and the logical structure is kept.
Instances For
A language map maps both sides of an equation.
A language map maps the relation symbol and the terms of a relational atom.
A language map commutes with implication.
A language map commutes with universal quantification.
A language map commutes with disjunctions over the carrier.
A language map commutes with conjunctions over the carrier.
Realization along an expansion. If the L'-structure on M expands its L-structure
along g, the image of an infinitary formula under g is realized exactly when the formula is.
This is the infinitary form of Mathlib's LHom.realize_onBoundedFormula.
Realization of sentences along an expansion. If the L'-structure on M expands its
L-structure along g, the image of an infinitary sentence under g holds exactly when the
sentence does.
The identity language map acts as the identity on infinitary formulas.
The action of a composite language map is the composite of the actions.
Commutation with the operations on formulas #
A language map commutes with negation.
A language map commutes with existential quantification.
A language map commutes with coded conjunctions.
A language map commutes with coded disjunctions.
A language map commutes with the embedding of finitary formulas: translating a finitary formula and then embedding it is embedding it and then translating.
A language map commutes with relabelling the bound-variable slots.
A language map commutes with weakening.
A language map commutes with transporting formulas along a coding of carriers.
Realization along a language equivalence. An L-structure, reinterpreted as an
L'-structure along the inverse map, realizes the translation of an infinitary formula exactly
when it realizes the formula.