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