Generate assertion events to double-check that all the correctness theorems were generated.
(atc-gen-thm-assert-events wf-thm fn-thms proofs) → events
This is to ensure that we do not accidentally miss the generation of some theorems.
We generate these assetions only if the
Function:
(defun atc-gen-thm-assert-events (wf-thm fn-thms proofs) (declare (xargs :guard (and (symbolp wf-thm) (symbol-symbol-alistp fn-thms) (booleanp proofs)))) (let ((__function__ 'atc-gen-thm-assert-events)) (declare (ignorable __function__)) (b* (((when (not proofs)) nil) (wf-thm-assert (cons 'assert-event (cons (cons 'theorem-symbolp (cons (cons 'quote (cons wf-thm 'nil)) '((w state)))) 'nil))) (fn-thms-assert (loop$ for fn-thm of-type cons in fn-thms collect (cons 'assert-event (cons (cons 'theorem-symbolp (cons (cons 'quote (cons (cdr fn-thm) 'nil)) '((w state)))) 'nil))))) (cons wf-thm-assert fn-thms-assert))))
Theorem:
(defthm pseudo-event-form-listp-of-atc-gen-thm-assert-events (b* ((events (atc-gen-thm-assert-events wf-thm fn-thms proofs))) (pseudo-event-form-listp events)) :rule-classes :rewrite)