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