Get the right subtree of the nonempty binary-tree.
(tree-right tree) → right
For empty trees, returns
Function:
(defun tree-right$inline (tree) (declare (xargs :guard (binary-tree-p tree))) (cddr (tree-fix tree)))
Theorem:
(defthm binary-tree-p-of-tree-right (b* ((right (tree-right$inline tree))) (binary-tree-p right)) :rule-classes :rewrite)