Apply the
(expdata-gen-oldp-of-terms terms arg/res-surjmaps) → new-terms
Function:
(defun expdata-gen-oldp-of-terms (terms arg/res-surjmaps) (declare (xargs :guard (and (pseudo-term-listp terms) (expdata-symbol-surjmap-alistp arg/res-surjmaps)))) (declare (xargs :guard (= (len terms) (len arg/res-surjmaps)))) (let ((__function__ 'expdata-gen-oldp-of-terms)) (declare (ignorable __function__)) (b* (((when (endp terms)) nil) (term (car terms)) (surjmap (cdar arg/res-surjmaps)) (oldp (expdata-surjmap->oldp surjmap)) (new-term (apply-term* oldp term)) (new-terms (expdata-gen-oldp-of-terms (cdr terms) (cdr arg/res-surjmaps)))) (cons new-term new-terms))))