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