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