Process the
(evmac-process-input-print print ctx state) → (mv erp print$ state)
This is for event macros that have a
If the
Function:
(defun evmac-process-input-print (print ctx state) (declare (xargs :stobjs (state))) (declare (xargs :guard t)) (let ((__function__ 'evmac-process-input-print)) (declare (ignorable __function__)) (if (evmac-input-print-p print) (value print) (er-soft+ ctx t nil "The :PRINT input must be ~ NIL, :ERROR, :RESULT, :INFO, or :ALL; ~ but it is ~x0 instead." print))))
Theorem:
(defthm evmac-input-print-p-of-evmac-process-input-print.print$ (b* (((mv ?erp ?print$ ?state) (evmac-process-input-print print ctx state))) (evmac-input-print-p print$)) :rule-classes :rewrite)