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