Recognizes plain constant integer expressions.
(vl-expr-resolved-p x) → *
We say an expression is resolved when it is just an atomic,
integer value that is free of X/Z bits. We often expect to be able to resolve
the expressions that occur in ranges like
Function:
(defun vl-expr-resolved-p$inline (x) (declare (xargs :guard (vl-expr-p x))) (let ((__function__ 'vl-expr-resolved-p)) (declare (ignorable __function__)) (and (vl-fast-atom-p x) (vl-fast-constint-p (vl-atom->guts x)))))
Theorem:
(defthm vl-expr-resolved-p$inline-of-vl-expr-fix-x (equal (vl-expr-resolved-p$inline (vl-expr-fix x)) (vl-expr-resolved-p$inline x)))
Theorem:
(defthm vl-expr-resolved-p$inline-vl-expr-equiv-congruence-on-x (implies (vl-expr-equiv x x-equiv) (equal (vl-expr-resolved-p$inline x) (vl-expr-resolved-p$inline x-equiv))) :rule-classes :congruence)