Generate the
(expdata-gen-old-to-new-thm appcond-thm-names old$ arg-surjmaps res-surjmaps new$ old-to-new$ old-to-new-enable$ new-to-old$ wrld) → (mv old-to-new-local-event old-to-new-exported-event)
Function:
(defun expdata-gen-old-to-new-thm (appcond-thm-names old$ arg-surjmaps res-surjmaps new$ old-to-new$ old-to-new-enable$ new-to-old$ wrld) (declare (xargs :guard (and (symbol-symbol-alistp appcond-thm-names) (symbolp old$) (expdata-symbol-surjmap-alistp arg-surjmaps) (expdata-pos-surjmap-alistp res-surjmaps) (symbolp new$) (symbolp old-to-new$) (booleanp old-to-new-enable$) (symbolp new-to-old$) (plist-worldp wrld)))) (let ((__function__ 'expdata-gen-old-to-new-thm)) (declare (ignorable __function__)) (b* ((formula (expdata-gen-old-to-new-thm-formula old$ arg-surjmaps res-surjmaps new$ wrld)) (formula (untranslate formula t wrld)) (hints (expdata-gen-old-to-new-thm-hints appcond-thm-names old$ arg-surjmaps res-surjmaps new-to-old$ wrld))) (evmac-generate-defthm old-to-new$ :formula formula :hints hints :enable old-to-new-enable$))))