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