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