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