Get the nameonly-p field from a vl-namedarg.
(vl-namedarg->nameonly-p x) → nameonly-p
This is an ordinary field accessor created by defprod.
Function:
(defun vl-namedarg->nameonly-p$inline (x) (declare (xargs :guard (vl-namedarg-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-namedarg->nameonly-p)) (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-namedarg->nameonly-p (b* ((nameonly-p (vl-namedarg->nameonly-p$inline x))) (booleanp nameonly-p)) :rule-classes :rewrite)
Theorem:
(defthm vl-namedarg->nameonly-p$inline-of-vl-namedarg-fix-x (equal (vl-namedarg->nameonly-p$inline (vl-namedarg-fix x)) (vl-namedarg->nameonly-p$inline x)))
Theorem:
(defthm vl-namedarg->nameonly-p$inline-vl-namedarg-equiv-congruence-on-x (implies (vl-namedarg-equiv x x-equiv) (equal (vl-namedarg->nameonly-p$inline x) (vl-namedarg->nameonly-p$inline x-equiv))) :rule-classes :congruence)