(vl-scopeatom-p x) → *
Function:
(defun vl-scopeatom-p (x) (declare (xargs :guard (vl-expr-p x))) (let ((__function__ 'vl-scopeatom-p)) (declare (ignorable __function__)) (and (vl-atom-p x) (or (vl-hidname-p x) (let* ((guts (vl-atom->guts x))) (and (vl-fast-keyguts-p guts) (let ((type (vl-keyguts->type guts))) (or (vl-keygutstype-equiv type :vl-$unit) (vl-keygutstype-equiv type :vl-local)))))))))
Theorem:
(defthm vl-scopeatom-p-of-vl-expr-fix-x (equal (vl-scopeatom-p (vl-expr-fix x)) (vl-scopeatom-p x)))
Theorem:
(defthm vl-scopeatom-p-vl-expr-equiv-congruence-on-x (implies (vl-expr-equiv x x-equiv) (equal (vl-scopeatom-p x) (vl-scopeatom-p x-equiv))) :rule-classes :congruence)