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