Build a block consisting of a single Java
Function:
(defun jblock-if (test then) (declare (xargs :guard (and (jexprp test) (jblockp then)))) (let ((__function__ 'jblock-if)) (declare (ignorable __function__)) (list (jstatem-if test then))))
Theorem:
(defthm jblockp-of-jblock-if (b* ((block (jblock-if test then))) (jblockp block)) :rule-classes :rewrite)