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