Set of the addresses of all the correct validators in the system.
(correct-addresses systate) → addrs
These are the keys in the map, which only includes correct validators, as explained in validators-state.
Function:
(defun correct-addresses (systate) (declare (xargs :guard (system-statep systate))) (let ((__function__ 'correct-addresses)) (declare (ignorable __function__)) (omap::keys (system-state->validators systate))))
Theorem:
(defthm address-setp-of-correct-addresses (b* ((addrs (correct-addresses systate))) (address-setp addrs)) :rule-classes :rewrite)
Theorem:
(defthm correct-addresses-of-system-state-fix-systate (equal (correct-addresses (system-state-fix systate)) (correct-addresses systate)))
Theorem:
(defthm correct-addresses-system-state-equiv-congruence-on-systate (implies (system-state-equiv systate systate-equiv) (equal (correct-addresses systate) (correct-addresses systate-equiv))) :rule-classes :congruence)