Generate Java code to build a Java
(atj-gen-jlong-array long-array) → expr
Function:
(defun atj-gen-jlong-array-aux (longs) (declare (xargs :guard (long-value-listp longs))) (let ((__function__ 'atj-gen-jlong-array-aux)) (declare (ignorable __function__)) (cond ((endp longs) nil) (t (cons (atj-gen-jlong (long-value->int (car longs))) (atj-gen-jlong-array-aux (cdr longs)))))))
Theorem:
(defthm jexpr-listp-of-atj-gen-jlong-array-aux (b* ((exprs (atj-gen-jlong-array-aux longs))) (jexpr-listp exprs)) :rule-classes :rewrite)
Function:
(defun atj-gen-jlong-array (long-array) (declare (xargs :guard (long-arrayp long-array))) (let ((__function__ 'atj-gen-jlong-array)) (declare (ignorable __function__)) (jexpr-newarray-init (jtype-long) (atj-gen-jlong-array-aux (long-array->components long-array)))))
Theorem:
(defthm jexprp-of-atj-gen-jlong-array (b* ((expr (atj-gen-jlong-array long-array))) (jexprp expr)) :rule-classes :rewrite)