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