Transform a translation unit ensemble.
(copy-fn-transunit-ensemble tunits target-fn new-fn) → new-tunits
Function:
(defun copy-fn-transunit-ensemble (tunits target-fn new-fn) (declare (xargs :guard (and (transunit-ensemblep tunits) (identp target-fn) (identp new-fn)))) (declare (xargs :guard (transunit-ensemble-annop tunits))) (let ((__function__ 'copy-fn-transunit-ensemble)) (declare (ignorable __function__)) (b* (((transunit-ensemble tunits) tunits)) (transunit-ensemble (copy-fn-filepath-transunit-map tunits.units target-fn new-fn)))))
Theorem:
(defthm transunit-ensemblep-of-copy-fn-transunit-ensemble (b* ((new-tunits (copy-fn-transunit-ensemble tunits target-fn new-fn))) (transunit-ensemblep new-tunits)) :rule-classes :rewrite)