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