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