(vl-delayoreventcontrol-condcheck x tests-above) → warnings
Function:
(defun vl-delayoreventcontrol-condcheck (x tests-above) (declare (xargs :guard (and (vl-delayoreventcontrol-p x) (vl-exprlist-p tests-above)))) (let ((__function__ 'vl-delayoreventcontrol-condcheck)) (declare (ignorable __function__)) (let ((x (vl-delayoreventcontrol-fix x))) (common-lisp::case (tag x) ((:vl-delaycontrol) (b* ((warnings (vl-delaycontrol-condcheck x tests-above))) warnings)) ((:vl-eventcontrol) (b* ((warnings (vl-eventcontrol-condcheck x tests-above))) warnings)) (otherwise (b* ((warnings (vl-repeateventcontrol-condcheck x tests-above))) warnings))))))
Theorem:
(defthm vl-warningtree-p-of-vl-delayoreventcontrol-condcheck (b* ((warnings (vl-delayoreventcontrol-condcheck x tests-above))) (vl-warningtree-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-delayoreventcontrol-condcheck-of-vl-delayoreventcontrol-fix-x (equal (vl-delayoreventcontrol-condcheck (vl-delayoreventcontrol-fix x) tests-above) (vl-delayoreventcontrol-condcheck x tests-above)))
Theorem:
(defthm vl-delayoreventcontrol-condcheck-vl-delayoreventcontrol-equiv-congruence-on-x (implies (vl-delayoreventcontrol-equiv x x-equiv) (equal (vl-delayoreventcontrol-condcheck x tests-above) (vl-delayoreventcontrol-condcheck x-equiv tests-above))) :rule-classes :congruence)
Theorem:
(defthm vl-delayoreventcontrol-condcheck-of-vl-exprlist-fix-tests-above (equal (vl-delayoreventcontrol-condcheck x (vl-exprlist-fix tests-above)) (vl-delayoreventcontrol-condcheck x tests-above)))
Theorem:
(defthm vl-delayoreventcontrol-condcheck-vl-exprlist-equiv-congruence-on-tests-above (implies (vl-exprlist-equiv tests-above tests-above-equiv) (equal (vl-delayoreventcontrol-condcheck x tests-above) (vl-delayoreventcontrol-condcheck x tests-above-equiv))) :rule-classes :congruence)