Get the transactions field from a proposal.
(proposal->transactions x) → transactions
This is an ordinary field accessor created by fty::defprod.
Function:
(defun proposal->transactions$inline (x) (declare (xargs :guard (proposalp x))) (declare (xargs :guard t)) (let ((__function__ 'proposal->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-proposal->transactions (b* ((transactions (proposal->transactions$inline x))) (transaction-listp transactions)) :rule-classes :rewrite)
Theorem:
(defthm proposal->transactions$inline-of-proposal-fix-x (equal (proposal->transactions$inline (proposal-fix x)) (proposal->transactions$inline x)))
Theorem:
(defthm proposal->transactions$inline-proposal-equiv-congruence-on-x (implies (proposal-equiv x x-equiv) (equal (proposal->transactions$inline x) (proposal->transactions$inline x-equiv))) :rule-classes :congruence)