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