(vl-exprlist-has-ops ops x) → *
Function:
(defun vl-exprlist-has-ops (ops x) (declare (xargs :guard (and (vl-oplist-p ops) (vl-exprlist-p x)))) (let ((__function__ 'vl-exprlist-has-ops)) (declare (ignorable __function__)) (mbe :logic (intersectp-equal (vl-oplist-fix ops) (vl-exprlist-ops x)) :exec (vl-exprlist-has-ops-aux (list-fix ops) x))))
Theorem:
(defthm vl-exprlist-has-ops-of-vl-oplist-fix-ops (equal (vl-exprlist-has-ops (vl-oplist-fix ops) x) (vl-exprlist-has-ops ops x)))
Theorem:
(defthm vl-exprlist-has-ops-vl-oplist-equiv-congruence-on-ops (implies (vl-oplist-equiv ops ops-equiv) (equal (vl-exprlist-has-ops ops x) (vl-exprlist-has-ops ops-equiv x))) :rule-classes :congruence)
Theorem:
(defthm vl-exprlist-has-ops-of-vl-exprlist-fix-x (equal (vl-exprlist-has-ops ops (vl-exprlist-fix x)) (vl-exprlist-has-ops ops x)))
Theorem:
(defthm vl-exprlist-has-ops-vl-exprlist-equiv-congruence-on-x (implies (vl-exprlist-equiv x x-equiv) (equal (vl-exprlist-has-ops ops x) (vl-exprlist-has-ops ops x-equiv))) :rule-classes :congruence)