(all-nil x) → *
Function:
(defun all-nil (x) (declare (xargs :guard t)) (let ((__function__ 'all-nil)) (declare (ignorable __function__)) (if (atom x) t (and (eq (car x) nil) (all-nil (cdr x))))))
Theorem:
(defthm all-nil-when-atom (implies (atom x) (all-nil x)))
Theorem:
(defthm zero-when-all-nil (implies (all-nil x) (equal (bfr-list->u x env) 0)))