(vl-expr-has-funcalls x) → *
Function:
(defun vl-expr-has-funcalls (x) (declare (xargs :guard (vl-expr-p x))) (let ((__function__ 'vl-expr-has-funcalls)) (declare (ignorable __function__)) (mbe :logic (if (member :vl-funcall (vl-expr-ops x)) t nil) :exec (vl-expr-has-ops (list :vl-funcall) x))))
Theorem:
(defthm vl-expr-has-funcalls-of-vl-expr-fix-x (equal (vl-expr-has-funcalls (vl-expr-fix x)) (vl-expr-has-funcalls x)))
Theorem:
(defthm vl-expr-has-funcalls-vl-expr-equiv-congruence-on-x (implies (vl-expr-equiv x x-equiv) (equal (vl-expr-has-funcalls x) (vl-expr-has-funcalls x-equiv))) :rule-classes :congruence)