Build a block consisting of a single Java assignment.
Function:
(defun jblock-asg (left right) (declare (xargs :guard (and (jexprp left) (jexprp right)))) (let ((__function__ 'jblock-asg)) (declare (ignorable __function__)) (jblock-expr (jexpr-binary (jbinop-asg) left right))))
Theorem:
(defthm jblockp-of-jblock-asg (b* ((block (jblock-asg left right))) (jblockp block)) :rule-classes :rewrite)