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