Fast recognizer for vl-paramvalues that are expressions.
(vl-paramvalue-expr-p x) → *
Function:
(defun vl-paramvalue-expr-p$inline (x) (declare (xargs :guard (vl-paramvalue-p x))) (let ((__function__ 'vl-paramvalue-expr-p)) (declare (ignorable __function__)) (mbe :logic (vl-expr-p (vl-paramvalue-fix x)) :exec (b* ((tag (tag x))) (or (eq tag :atom) (eq tag :nonatom))))))
Theorem:
(defthm vl-paramvalue-expr-p$inline-of-vl-paramvalue-fix-x (equal (vl-paramvalue-expr-p$inline (vl-paramvalue-fix x)) (vl-paramvalue-expr-p$inline x)))
Theorem:
(defthm vl-paramvalue-expr-p$inline-vl-paramvalue-equiv-congruence-on-x (implies (vl-paramvalue-equiv x x-equiv) (equal (vl-paramvalue-expr-p$inline x) (vl-paramvalue-expr-p$inline x-equiv))) :rule-classes :congruence)