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