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