Induct over the structure of a binary tree.
(tree-induct tree) → *
Function:
(defun tree-induct (tree) (declare (xargs :guard t)) (or (tree-emptyp tree) (let ((left (tree-induct (tree-left tree))) (right (tree-induct (tree-right tree)))) (declare (ignore left right)) t)))