Counting ordered pairs in Fin n × Fin n #
The number of strictly increasing pairs (i, j) with i < j drawn from Fin n is the
binomial coefficient n.choose 2. This is the combinatorial core of the union-bound step in
birthday-style arguments, where the collision event ranges over the unordered pairs of query
positions.