Generate the events that print the result.
(defmapping-gen-print-result thms) → cw-events
This refers to the
Function:
(defun defmapping-gen-print-result (thms) (declare (xargs :guard (pseudo-event-form-listp thms))) (let ((__function__ 'defmapping-gen-print-result)) (declare (ignorable __function__)) (if (endp thms) nil (cons (cons 'cw-event (cons '"~x0~|" (cons (cons 'quote (cons (car thms) 'nil)) 'nil))) (defmapping-gen-print-result (cdr thms))))))
Theorem:
(defthm pseudo-event-form-listp-of-defmapping-gen-print-result (b* ((cw-events (defmapping-gen-print-result thms))) (pseudo-event-form-listp cw-events)) :rule-classes :rewrite)