Check if one set is a subset of the other.
Time complexity:
Function:
(defun subset (x y) (declare (xargs :guard (and (setp x) (setp y)))) (declare (xargs :type-prescription (booleanp (subset x y)))) (or (emptyp x) (and (in (head x) y) (subset (left x) y) (subset (right x) y))))