Generate the hints to verify the guards of the new function,
when the function is recursive,
when
(isodata-gen-new-fn-verify-guards-hints-nonpred-rec-1res/mres appcond-thm-names old$ arg-isomaps res-isomaps new$ old-to-new$ old-fn-unnorm-name newp-of-new$ wrld) → hints
Function:
(defun isodata-gen-new-fn-verify-guards-hints-nonpred-rec-1res/mres (appcond-thm-names old$ arg-isomaps res-isomaps new$ old-to-new$ old-fn-unnorm-name newp-of-new$ wrld) (declare (xargs :guard (and (symbol-symbol-alistp appcond-thm-names) (symbolp old$) (isodata-symbol-isomap-alistp arg-isomaps) (isodata-pos-isomap-alistp res-isomaps) (symbolp new$) (symbolp old-to-new$) (symbolp old-fn-unnorm-name) (symbolp newp-of-new$) (plist-worldp wrld)))) (declare (xargs :guard (consp res-isomaps))) (let ((__function__ 'isodata-gen-new-fn-verify-guards-hints-nonpred-rec-1res/mres)) (declare (ignorable __function__)) (b* ((oldp-of-old (cdr (assoc-eq :oldp-of-old appcond-thm-names))) (oldp-of-rec-call-args (cdr (assoc-eq :oldp-of-rec-call-args appcond-thm-names))) (rec-calls (recursive-calls old$ wrld)) (instance-guard-thm-old (isodata-gen-lemma-instance-x1...xn-to-back-of-x1...xn (cons ':guard-theorem (cons old$ 'nil)) old$ arg-isomaps wrld)) (instances-newp-guard (isodata-gen-newp-guard-instances-to-x1...xn arg-isomaps wrld)) (instances-forth-guard (isodata-gen-all-forth-guard-instances-to-terms-back rec-calls old$ arg-isomaps wrld)) (instances-back-guard (isodata-gen-back-guard-instances-to-x1...xn arg-isomaps wrld)) (instances-forth-image (isodata-gen-all-forth-image-instances-to-terms-back rec-calls old$ arg-isomaps wrld)) (instances-back-image (isodata-gen-back-image-instances-to-x1...xn arg-isomaps wrld)) (instances-back-of-forth (isodata-gen-all-back-of-forth-instances-to-terms-back rec-calls old$ arg-isomaps wrld)) (instance-oldp-of-rec-call-args (isodata-gen-lemma-instance-x1...xn-to-back-of-x1...xn oldp-of-rec-call-args old$ arg-isomaps wrld)) (instances-old-to-new (isodata-gen-lemma-instances-x1...xn-to-rec-call-args-back old-to-new$ rec-calls old$ arg-isomaps wrld)) (instance-oldp-of-old (isodata-gen-lemma-instance-x1...xn-to-back-of-x1...xn oldp-of-old old$ arg-isomaps wrld)) (instance-old-fn-unnorm-name (isodata-gen-lemma-instance-x1...xn-to-back-of-x1...xn old-fn-unnorm-name old$ arg-isomaps wrld)) (instances-newp-of-new (isodata-gen-lemma-instances-x1...xn-to-forth-rec-call-args-back newp-of-new$ rec-calls old$ arg-isomaps wrld)) (x1...xn (formals old$ wrld)) (old-call (fcons-term old$ x1...xn)) (back-of-x1...xn (isodata-gen-back-of-terms x1...xn arg-isomaps)) (old-call-of-back-x1...xn (subcor-var x1...xn back-of-x1...xn old-call)) (instances-forth-guard-res (if (= (len res-isomaps) 1) (b* ((res-isomap (cdar res-isomaps)) (forth-guard-res (isodata-isomap->forth-guard res-isomap)) (var (isodata-formal-of-forth res-isomap wrld))) (cons (cons ':instance (cons forth-guard-res (cons ':extra-bindings-ok (cons (cons var (cons old-call-of-back-x1...xn 'nil)) 'nil)))) 'nil)) (isodata-gen-forth-guard-instances-to-mv-nth old-call-of-back-x1...xn res-isomaps wrld))) (instances-back-guard-res (if (= (len res-isomaps) 1) (b* ((res-isomap (cdar res-isomaps)) (back-guard-res (isodata-isomap->back-guard res-isomap)) (var (isodata-formal-of-back res-isomap wrld))) (isodata-gen-lemma-instances-var-to-new-forth-rec-call-args-back back-guard-res var rec-calls old$ arg-isomaps new$ wrld)) (isodata-gen-all-back-guard-instances-to-mv-nth old$ rec-calls arg-isomaps res-isomaps new$ wrld)))) (cons (cons '"Goal" (cons ':in-theory (cons 'nil (cons ':use (cons (append instances-newp-guard (append instances-forth-guard (append instances-back-guard (append instances-forth-image (append instances-back-image (append instances-back-of-forth (cons instance-guard-thm-old (cons instance-oldp-of-rec-call-args (append instances-old-to-new (cons instance-oldp-of-old (cons instance-old-fn-unnorm-name (append instances-newp-of-new (append instances-forth-guard-res instances-back-guard-res))))))))))))) 'nil))))) 'nil))))