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