(vl-zatom-p x) → *
Function:
(defun vl-zatom-p (x) (declare (xargs :guard (vl-expr-p x))) (let ((__function__ 'vl-zatom-p)) (declare (ignorable __function__)) (vl-expr-case x :vl-literal (vl-value-case x.val :vl-weirdint (vl-zbitlist-p x.val.bits) :vl-extint (vl-bit-equiv x.val.value :vl-zval) :otherwise nil) :otherwise nil)))
Theorem:
(defthm vl-zatom-p-of-vl-expr-fix-x (equal (vl-zatom-p (vl-expr-fix x)) (vl-zatom-p x)))
Theorem:
(defthm vl-zatom-p-vl-expr-equiv-congruence-on-x (implies (vl-expr-equiv x x-equiv) (equal (vl-zatom-p x) (vl-zatom-p x-equiv))) :rule-classes :congruence)