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