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