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