Recognizer for float-array structures.
(float-arrayp x) → *
Function:
(defun float-arrayp (x) (declare (xargs :guard t)) (let ((__function__ 'float-arrayp)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :float-array) (true-listp (cdr x)) (eql (len (cdr x)) 1) (b* ((components (std::da-nth 0 (cdr x)))) (and (float-value-listp components) (< (len components) (expt 2 31)))))))
Theorem:
(defthm consp-when-float-arrayp (implies (float-arrayp x) (consp x)) :rule-classes :compound-recognizer)