semisubstitution
Semisubstitution is a concept used in symbolic computation, logic, and related fields to describe a partially defined substitution operation. Unlike a full substitution, which replaces every occurrence of certain symbols throughout a term, semisubstitution targets only a chosen subset of variables or symbols, leaving the remaining parts of the term intact. This makes it useful for intermediate representations, partial evaluation, and staged computation.
Formally, let t be a term over a signature with variables Var. A semisubstitution is given by
Example: consider the term t = f(x, g(y, z)) and a semisubstitution sigma with x -> a and
Properties and considerations include compatibility with renaming to avoid variable capture, and the fact that semisubstitutions
See also: substitution, partial evaluation, term rewriting, unification, alpha-renaming.