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