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