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