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