Check that some value is bst< all members of a tree.
(bst<-all-r x tree) → *
Function:
(defun bst<-all-r (x tree) (declare (xargs :guard (binary-tree-p tree))) (declare (xargs :type-prescription (booleanp (bst<-all-r x tree)))) (let ((__function__ 'bst<-all-r)) (declare (ignorable __function__)) (or (tree-emptyp tree) (and (bst< x (tree-head tree)) (bst<-all-r x (tree-left tree)) (bst<-all-r x (tree-right tree))))))