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