SUBST1_TAC : thm_tactic
A ?- t
============= SUBST1_TAC (A'|-u=v)
A ?- t[v/u]
SUBST1_TAC automatically renames bound variables to prevent free variables in v becoming bound after substitution.
?- m * n = (n * (m - 1)) + n
SUBST1_TAC (SPECL ["m:num"; "n:num"] MULT_SYM)
?- n * m = (n * (m - 1)) + n