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