(vl-enum-basetype-signedp x) → *
Function:
(defun vl-enum-basetype-signedp (x) (declare (xargs :guard (vl-datatype-p x))) (declare (xargs :guard (vl-datatype-resolved-p x))) (let ((__function__ 'vl-enum-basetype-signedp)) (declare (ignorable __function__)) (vl-datatype-case x :vl-coretype x.signedp :vl-usertype (and (mbt (and x.res t)) (vl-enum-basetype-signedp x.res)) :otherwise nil)))
Theorem:
(defthm vl-enum-basetype-signedp-of-vl-datatype-fix-x (equal (vl-enum-basetype-signedp (vl-datatype-fix x)) (vl-enum-basetype-signedp x)))
Theorem:
(defthm vl-enum-basetype-signedp-vl-datatype-equiv-congruence-on-x (implies (vl-datatype-equiv x x-equiv) (equal (vl-enum-basetype-signedp x) (vl-enum-basetype-signedp x-equiv))) :rule-classes :congruence)