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