Distribution testing asks how many samples are needed to tell whether an unknown distribution has a property or is far from it. A new arXiv paper by Gautam Kamath settles the sample complexity of equivalence testing when queries are non-adaptive conditional samples: instead of drawing from the whole distribution, the tester can condition draws on subsets of the domain, but must choose all queries in advance.

Kamath proves that Θ~(log n / ε²) queries are both necessary and sufficient to decide whether two unknown distributions over an n-element domain are equal or ε-far in total variation distance. The tilde hides logarithmic factors, and the result is tight: the proposed algorithm and lower bound match exactly.

Because uniformity and identity testing were already known to have the same complexity in this model, the paper shows all three basic testing problems collapse to the same Θ~(log n) query complexity. The work is available on arXiv as 2610.11145.