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