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