Obtain the length of a Java
(double-array-length array) → length
Function:
(defun double-array-length (array) (declare (xargs :guard (double-arrayp array))) (let ((__function__ 'double-array-length)) (declare (ignorable __function__)) (int-value (len (double-array->components array)))))
Theorem:
(defthm int-valuep-of-double-array-length (b* ((length (double-array-length array))) (int-valuep length)) :rule-classes :rewrite)