Something deterministic and compared to `equal` would be better. It's not just the totality of the cartesian product that's important, but also the order in which the space is explored. No?