Signers of a certificate.
(certificate->signers cert) → signers
These are the author and the endorsers, i.e. all the validators who signed the certificate.
Function:
(defun certificate->signers (cert) (declare (xargs :guard (certificatep cert))) (let ((__function__ 'certificate->signers)) (declare (ignorable __function__)) (b* (((certificate cert) cert)) (insert cert.author cert.endorsers))))
Theorem:
(defthm address-setp-of-certificate->signers (b* ((signers (certificate->signers cert))) (address-setp signers)) :rule-classes :rewrite)
Theorem:
(defthm certificate->signers-of-certificate-fix-cert (equal (certificate->signers (certificate-fix cert)) (certificate->signers cert)))
Theorem:
(defthm certificate->signers-certificate-equiv-congruence-on-cert (implies (certificate-equiv cert cert-equiv) (equal (certificate->signers cert) (certificate->signers cert-equiv))) :rule-classes :congruence)