Function symbols occurring in a term #
Term.functionsIn records function symbols together with their arities. The set is finite,
unchanged by relabelling variables, bounded under substitution by the symbols of the substituted
terms, mapped to its image under a language homomorphism (with
LHom.exists_eq_onTerm_of_functionsIn_subset pulling back terms whose occurring symbols lie in the
image of a given set), and determines which interpretations a term can observe.
These facts supply the term cases of symbol locality for infinitary formulas.
Every term mentions only finitely many function symbols, even over an arbitrary language.
Relabelling variables does not change the function symbols of a term.
Substitution keeps every function symbol of the original term.
Substitution adds at most the function symbols of the substituted terms.
Two substitutions either give a term the same image, or they differ at a variable whose substituted term has all its function symbols in the image of the term.
A language map sends the occurring function symbols to their images.
Interpretations agreeing on the occurring symbols give the same value to a term.
A term of L' whose occurring function symbols lie in the image of a set F under a language
homomorphism g : L →ᴸ L' is the image under g of a term of L whose occurring function symbols
lie in F. No injectivity of g is needed.