Build a block consisting of a single (non-final) local variable declaration statement.
(jblock-locvar type name init?) → block
Function:
(defun jblock-locvar (type name init?) (declare (xargs :guard (and (jtypep type) (stringp name) (maybe-jexprp init?)))) (let ((__function__ 'jblock-locvar)) (declare (ignorable __function__)) (list (jstatem-locvar (make-jlocvar :final? nil :type type :name name :init? init?)))))
Theorem:
(defthm jblockp-of-jblock-locvar (b* ((block (jblock-locvar type name init?))) (jblockp block)) :rule-classes :rewrite)