Process the
(atc-process-print options) → (mv erp print)
We use the evmac-input-print-p type,
but we exclude the
Function:
(defun atc-process-print (options) (declare (xargs :guard (symbol-alistp options))) (let ((__function__ 'atc-process-print)) (declare (ignorable __function__)) (b* (((reterr) nil) (print-option (assoc-eq :print options)) (print (if print-option (cdr print-option) :result)) ((unless (and (evmac-input-print-p print) print)) (reterr (msg "The :PRINT input must be ~ :ERROR, :RESULT, :INFO, or :ALL; ~ but it is ~x0 instead." print)))) (retok print))))
Theorem:
(defthm evmac-input-print-p-of-atc-process-print.print (b* (((mv acl2::?erp common-lisp::?print) (atc-process-print options))) (evmac-input-print-p print)) :rule-classes :rewrite)