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