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