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