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