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