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