Make a copy of a function, with recursive calls appropriately renamed.
(copy-function fn &key :new-name ; default :auto :theorem-disabled ; default nil :function-disabled ; default :auto :verify-guards ; default :auto :guard-hints ; default :auto :measure ; default :auto :measure-hints ; default :auto :normalize ; default t :show-only ; default nil :print ; default :result )
The name of the function to transform.
The name of the new function to be created.
Whether to disable the 'becomes theorem'.
Whether to disable the new function.
Whether to verify the guards of the new function.
Hints to use for the guard proof.
Measure to use for the new function.
Hints to use for the measure/termination proof.
Whether to normalize the new function body, as ACL2 usually does.
Whether to simply show the result, without actually creating it.
How much detail to print, an apt::print-specifier.
To inspect the resulting forms, call