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