Capture-avoiding first-order substitution

ID: capture-avoiding-first-order-substitution

To perform a first-order substitution, first rename each conflicting bound variable to a fresh name, then replace the designated free occurrences. The fresh names must avoid the formula's relevant free names and all names in the inserted first-order term. For instance, substituting for in requires renaming the binder, producing rather than . The latter would change the intended meaning by capturing .

New to topics? Read the docs here!