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