Get the value field from a vl-extint.
(vl-extint->value x) → value
This is an ordinary field accessor created by defprod.
Function:
(defun vl-extint->value$inline (x) (declare (xargs :guard (vl-extint-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-extint->value)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (vl-bit-fix (cdr x))) :exec (cdr x))))
Theorem:
(defthm vl-bit-p-of-vl-extint->value (b* ((value (vl-extint->value$inline x))) (vl-bit-p value)) :rule-classes :rewrite)
Theorem:
(defthm vl-extint->value$inline-of-vl-extint-fix-x (equal (vl-extint->value$inline (vl-extint-fix x)) (vl-extint->value$inline x)))
Theorem:
(defthm vl-extint->value$inline-vl-extint-equiv-congruence-on-x (implies (vl-extint-equiv x x-equiv) (equal (vl-extint->value$inline x) (vl-extint->value$inline x-equiv))) :rule-classes :congruence)