DO-PRIMSUB : WFFOPDO-PRIMSUB is a wff operation.
Replaces a variable with a primitive substitution.
Differs from SUBST in that it will also replace quantified
variables, and their quantifiers, as necessary.
The calling scheme for DO-PRIMSUB is:
(DO-PRIMSUB INWFF VAR SUB)
"GWFF" "GVAR" "GWFF"
The result is of type GWFF.
The arguments have the following meaning:
INWFF : Wff to change
VAR : Variable to substitute for
SUB : Substitution to make
TPS documentation homepage