(vl-exprlist-max-count x) → *
Function:
(defun vl-exprlist-max-count (x) (declare (xargs :guard (vl-exprlist-p x))) (let ((__function__ 'vl-exprlist-max-count)) (declare (ignorable __function__)) (if (atom x) 0 (max (vl-expr-count (car x)) (vl-exprlist-max-count (cdr x))))))
Theorem:
(defthm vl-exprlist-max-count-of-vl-exprlist-fix-x (equal (vl-exprlist-max-count (vl-exprlist-fix x)) (vl-exprlist-max-count x)))
Theorem:
(defthm vl-exprlist-max-count-vl-exprlist-equiv-congruence-on-x (implies (vl-exprlist-equiv x x-equiv) (equal (vl-exprlist-max-count x) (vl-exprlist-max-count x-equiv))) :rule-classes :congruence)