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