Function:
(defun rename-fn-ident (ident old-fn new-fn) (declare (xargs :guard (and (identp ident) (identp old-fn) (identp new-fn)))) (declare (ignorable ident old-fn new-fn)) (let ((__function__ 'rename-fn-ident)) (declare (ignorable __function__)) (ident-fix ident)))
Theorem:
(defthm identp-of-rename-fn-ident (b* ((new-ident (rename-fn-ident ident old-fn new-fn))) (identp new-ident)) :rule-classes :rewrite)