Get the args field from a vl-arguments-named.
(vl-arguments-named->args x) → args
This is an ordinary field accessor created by defprod.
Function:
(defun vl-arguments-named->args$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->args)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (vl-arguments-kind x) :vl-arguments-named) x))) (vl-namedarglist-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm vl-namedarglist-p-of-vl-arguments-named->args (b* ((args (vl-arguments-named->args$inline x))) (vl-namedarglist-p args)) :rule-classes :rewrite)
Theorem:
(defthm vl-arguments-named->args$inline-of-vl-arguments-fix-x (equal (vl-arguments-named->args$inline (vl-arguments-fix x)) (vl-arguments-named->args$inline x)))
Theorem:
(defthm vl-arguments-named->args$inline-vl-arguments-equiv-congruence-on-x (implies (vl-arguments-equiv x x-equiv) (equal (vl-arguments-named->args$inline x) (vl-arguments-named->args$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm vl-arguments-named->args-when-wrong-kind (implies (not (equal (vl-arguments-kind x) :vl-arguments-named)) (equal (vl-arguments-named->args x) (vl-namedarglist-fix nil))))