(vl-unsized-atom-p x ss) → *
Function:
(defun vl-unsized-atom-p (x ss) (declare (xargs :guard (and (vl-expr-p x) (vl-scopestack-p ss)))) (let ((__function__ 'vl-unsized-atom-p)) (declare (ignorable __function__)) (vl-expr-case x :vl-literal (vl-value-case x.val (:vl-constint (or x.val.wasunsized (assoc-equal "VL_PARAMNAME" x.atts))) (:vl-weirdint x.val.wasunsized) (:otherwise nil)) :vl-index (vl-unsized-index-p x ss) :vl-call (vl-is-integer-valued-syscall x) :otherwise nil)))
Theorem:
(defthm vl-unsized-atom-p-of-vl-expr-fix-x (equal (vl-unsized-atom-p (vl-expr-fix x) ss) (vl-unsized-atom-p x ss)))
Theorem:
(defthm vl-unsized-atom-p-vl-expr-equiv-congruence-on-x (implies (vl-expr-equiv x x-equiv) (equal (vl-unsized-atom-p x ss) (vl-unsized-atom-p x-equiv ss))) :rule-classes :congruence)
Theorem:
(defthm vl-unsized-atom-p-of-vl-scopestack-fix-ss (equal (vl-unsized-atom-p x (vl-scopestack-fix ss)) (vl-unsized-atom-p x ss)))
Theorem:
(defthm vl-unsized-atom-p-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-unsized-atom-p x ss) (vl-unsized-atom-p x ss-equiv))) :rule-classes :congruence)