export function areSetsEqual(a: Set, b: Set): boolean { return a.size === b.size && a.intersection(b).size === a.size; }