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