A substitution is a finite set where:

  • are distinct variables (only variables can be substituted)
  • are terms (variables, constants, or functional terms)

If we let be a substitution and a first order formula, then is the result of applying the substitution to .