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