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)))) (let ((__function__ 'subset)) (declare (ignorable __function__)) (or (emptyp x) (and (in (head x) y) (subset (left x) y) (subset (right x) y)))))