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