(vl-rhs-condcheck x tests-above) → warnings
Function:
(defun vl-rhs-condcheck (x tests-above) (declare (xargs :guard (and (vl-rhs-p x) (vl-exprlist-p tests-above)))) (let ((__function__ 'vl-rhs-condcheck)) (declare (ignorable __function__)) (vl-rhs-case x :vl-rhsexpr (b* ((warnings (vl-expr-condcheck x.guts tests-above))) warnings) :vl-rhsnew (b* ((warnings (vl-maybe-expr-condcheck x.arrsize tests-above)) (warnings1 (vl-exprlist-condcheck x.args tests-above)) (warnings (vl-warningtree-cons warnings1 warnings))) warnings))))
Theorem:
(defthm vl-warningtree-p-of-vl-rhs-condcheck (b* ((warnings (vl-rhs-condcheck x tests-above))) (vl-warningtree-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-rhs-condcheck-of-vl-rhs-fix-x (equal (vl-rhs-condcheck (vl-rhs-fix x) tests-above) (vl-rhs-condcheck x tests-above)))
Theorem:
(defthm vl-rhs-condcheck-vl-rhs-equiv-congruence-on-x (implies (vl-rhs-equiv x x-equiv) (equal (vl-rhs-condcheck x tests-above) (vl-rhs-condcheck x-equiv tests-above))) :rule-classes :congruence)
Theorem:
(defthm vl-rhs-condcheck-of-vl-exprlist-fix-tests-above (equal (vl-rhs-condcheck x (vl-exprlist-fix tests-above)) (vl-rhs-condcheck x tests-above)))
Theorem:
(defthm vl-rhs-condcheck-vl-exprlist-equiv-congruence-on-tests-above (implies (vl-exprlist-equiv tests-above tests-above-equiv) (equal (vl-rhs-condcheck x tests-above) (vl-rhs-condcheck x tests-above-equiv))) :rule-classes :congruence)