Definition

Substitution (Logic) ^definition

A substitution, , is a mapping (function) of symbols to symbols, also known as a syntactic transformation (because symbols define syntax):

A substitution is represented (conventionally) as , where gets replaced by . A substitution, , can only have a finite number of mappings. There are many different notations for substitution:

The resulting expression, , is a substitution instance of .

In Propositional Logic

See Propositional Substitution

In Predicate Logic

See Predicate Substitution

Compositions of Substitutions

Since substitutions are basically functions, function composition also applies to them. If we have and being two substitutions, then:

which means is applied to the substituted instance