(rename-fn-transunit tunit old-fn new-fn) → new-tunit
Function:
(defun rename-fn-transunit (tunit old-fn new-fn) (declare (xargs :guard (and (transunitp tunit) (identp old-fn) (identp new-fn)))) (declare (ignorable tunit old-fn new-fn)) (let ((__function__ 'rename-fn-transunit)) (declare (ignorable __function__)) (b* (((transunit tunit) tunit)) (transunit (rename-fn-extdecl-list tunit.decls old-fn new-fn)))))
Theorem:
(defthm transunitp-of-rename-fn-transunit (b* ((new-tunit (rename-fn-transunit tunit old-fn new-fn))) (transunitp new-tunit)) :rule-classes :rewrite)