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