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