Recognize plain identifier expressions.
(vl-idexpr-p x) → *
This recognizes simple non-hierarchical identifier expressions
like
Function:
(defun vl-idexpr-p$inline (x) (declare (xargs :guard (vl-expr-p x))) (let ((__function__ 'vl-idexpr-p)) (declare (ignorable __function__)) (and (vl-fast-atom-p x) (vl-fast-id-p (vl-atom->guts x)))))
Theorem:
(defthm vl-idexpr-p$inline-of-vl-expr-fix-x (equal (vl-idexpr-p$inline (vl-expr-fix x)) (vl-idexpr-p$inline x)))
Theorem:
(defthm vl-idexpr-p$inline-vl-expr-equiv-congruence-on-x (implies (vl-expr-equiv x x-equiv) (equal (vl-idexpr-p$inline x) (vl-idexpr-p$inline x-equiv))) :rule-classes :congruence)