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