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