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