Get the args field from a vl-msg.
(vl-msg->args x) → args
This is an ordinary field accessor created by defprod.
Function:
(defun vl-msg->args$inline (x) (declare (xargs :guard (vl-msg-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-msg->args)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (list-fix (and (consp x) (cdr x)))) :exec (and (consp x) (cdr x)))))
Theorem:
(defthm true-listp-of-vl-msg->args (b* ((args (vl-msg->args$inline x))) (true-listp args)) :rule-classes :type-prescription)
Theorem:
(defthm vl-msg->args$inline-of-vl-msg-fix-x (equal (vl-msg->args$inline (vl-msg-fix x)) (vl-msg->args$inline x)))
Theorem:
(defthm vl-msg->args$inline-vl-msg-equiv-congruence-on-x (implies (vl-msg-equiv x x-equiv) (equal (vl-msg->args$inline x) (vl-msg->args$inline x-equiv))) :rule-classes :congruence)