(vl-exprsign->arithclass x) → class
Function:
(defun vl-exprsign->arithclass$inline (x) (declare (xargs :guard (vl-exprsign-p x))) (let ((__function__ 'vl-exprsign->arithclass)) (declare (ignorable __function__)) (if (vl-exprsign-equiv x :vl-signed) :vl-signed-int-class :vl-unsigned-int-class)))
Theorem:
(defthm vl-arithclass-p-of-vl-exprsign->arithclass (b* ((class (vl-exprsign->arithclass$inline x))) (vl-arithclass-p class)) :rule-classes :rewrite)
Theorem:
(defthm vl-exprsign->arithclass$inline-of-vl-exprsign-fix-x (equal (vl-exprsign->arithclass$inline (vl-exprsign-fix x)) (vl-exprsign->arithclass$inline x)))
Theorem:
(defthm vl-exprsign->arithclass$inline-vl-exprsign-equiv-congruence-on-x (implies (vl-exprsign-equiv x x-equiv) (equal (vl-exprsign->arithclass$inline x) (vl-exprsign->arithclass$inline x-equiv))) :rule-classes :congruence)