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