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