Symbol sublanguages #
For a set F of function symbols and a set R of relation symbols of a language L, each
tagged by its arity, symbSublang F R is the sublanguage of L whose symbols are exactly the
members of F and R, and symbSublangIncl F R is its inclusion into L. The inclusion is
injective, the sublanguage has countably many symbols of each sort when F and R are
countable, and it is relational whenever L is relational or F is empty.
A term of L whose function symbols lie in F restricts to the sublanguage
(Term.restrictSymbols), and translating the restriction back along the inclusion recovers the
term. If every symbol of F and R lies in the range of a language map g : L →ᴸ L', the
inclusion factors through g; no injectivity of g is needed, since a preimage is chosen for each
symbol. The restriction of infinitary formulas lives in
TauCeti.ModelTheory.Infinitary.Sublanguage.
Main definitions #
FirstOrder.Language.symbSublang: the sublanguage with the given symbols.FirstOrder.Language.symbSublangIncl: its inclusion, which is injective.FirstOrder.Language.Term.restrictSymbols: the restriction of a term to a sublanguage containing its function symbols.
Main results #
FirstOrder.Language.Term.onTerm_restrictSymbols: the inclusion sends the restriction back to the term.FirstOrder.Language.LHom.exists_comp_eq_symbSublangIncl: the inclusion factors through any language map whose range contains the symbols.
References #
symbSublang,symbSublangIncl, their countability and the restriction of terms followsymbSublang,symbSublangInclandTerm.restrictSymbolsofcameronfreer/infinitary-logicat commit518a366cba97b1ae8c4dc64a297a396939bc3e0b, inInfinitaryLogic/Methods/GeneratedSublanguage.lean. Divergences from that source: the sublanguage lives in the universes ofLrather than inLanguage.{0, 0}, and the factorization through a language map is new.
The symbol sublanguage of L whose function and relation symbols of each arity are the
members of F and R. The definition is reducible: a symbol of the sublanguage is a symbol of L
together with a proof of membership, and is built and taken apart as such.
Instances For
A symbol sublanguage with countably many function symbols has countably many function symbols, counted over all arities.
A symbol sublanguage with countably many relation symbols has countably many relation symbols, counted over all arities.
Any symbol sublanguage of a relational language is relational.
A symbol sublanguage with an empty set of function symbols is relational.
The restriction of a term to a symbol sublanguage containing its function symbols.
Instances For
Restricting an application restricts the function symbol and every argument.
If every symbol of F and R is the image of a symbol under g, the inclusion of the
symbol sublanguage factors through g.