Generate Java code to build a Java
Function:
(defun atj-gen-jbigint (integer) (declare (xargs :guard (integerp integer))) (let ((__function__ 'atj-gen-jbigint)) (declare (ignorable __function__)) (b* ((string (if (< integer 0) (str::cat "-" (nat-to-dec-string (- integer))) (nat-to-dec-string integer)))) (jexpr-newclass (jtype-class "BigInteger") (list (jexpr-literal-string string))))))
Theorem:
(defthm jexprp-of-atj-gen-jbigint (b* ((expr (atj-gen-jbigint integer))) (jexprp expr)) :rule-classes :rewrite)