To solve this problem, we'll prove that any rearrangement of tokens on the grid that does not decrease any pairwise distances must, in fact, preserve all distances. That is, the rearrangement must be an isometry of the grid.
Step 1: Understanding the Grid and Distances
Consider an ( n \times n ) square grid with cells labeled by their coordinates ( (i, j) ) where ( 1 \leq i, j \leq n ). Initially, each cell ( (i, j) ) contains one token.
The distance between two tokens in cells ( (i_1, j_1) ) and ( (i_2, j_2) ) is the Euclidean distance:
[ D_{(i_1, j_1),(i_2, j_2)} = \sqrt{(i_1 - i_2)^2 + (j_1 - j_2)^2} ]
After rearrangement, the tokens occupy the cells according to some permutation ( \pi ): the token originally at cell ( (i, j) ) moves to cell ( \pi(i, j) ).
Step 2: Setting Up the Inequalities
We know that for all pairs of tokens, the new distance is at least as big as the original distance:
[ D_{\pi(i_1, j_1), \pi(i_2, j_2)} \geq D_{(i_1, j_1),(i_2, j_2)} ]
Our goal is to show that all these distances are actually equal:
[ D_{\pi(i_1, j_1), \pi(i_2, j_2)} = D_{(i_1, j_1),(i_2, j_2)} ]
Step 3: Proof by Contradiction
Suppose, for contradiction, that there exists at least one pair ( ((i_1, j_1), (i_2, j_2)) ) such that:
[ D_{\pi(i_1, j_1), \pi(i_2, j_2)} > D_{(i_1, j_1),(i_2, j_2)} ]
Let ( \delta = D_{\pi(i_1, j_1), \pi(i_2, j_2)} - D_{(i_1, j_1),(i_2, j_2)} > 0 ).
Step 4: Analysis Using the Triangle Inequality
Consider any other token at ( (k, l) ). By the triangle inequality:
[ D_{\pi(i_1, j_1), \pi(i_2, j_2)} \leq D_{\pi(i_1, j_1), \pi(k, l)} + D_{\pi(k, l), \pi(i_2, j_2)} ]
But since the distances did not decrease:
[ D_{\pi(i_1, j_1), \pi(k, l)} \geq D_{(i_1, j_1),(k, l)} ]
[ D_{\pi(k, l), \pi(i_2, j_2)} \geq D_{(k, l),(i_2, j_2)} ]
Therefore:
[ D_{\pi(i_1, j_1), \pi(i_2, j_2)} \geq D_{(i_1, j_1),(k, l)} + D_{(k, l),(i_2, j_2)} ]
But by the triangle inequality in the original configuration:
[ D_{(i_1, j_1),(i_2, j_2)} \leq D_{(i_1, j_1),(k, l)} + D_{(k, l),(i_2, j_2)} ]
Combining, we get:
[ D_{\pi(i_1, j_1), \pi(i_2, j_2)} \geq D_{(i_1, j_1),(i_2, j_2)} ]
But this contradicts our assumption that ( D_{\pi(i_1, j_1), \pi(i_2, j_2)} > D_{(i_1, j_1),(i_2, j_2)} ) unless the triangle inequality is an equality for every point ( (k, l) ), which is impossible unless all three points are colinear and the path from ( (i_1, j_1) ) to ( (i_2, j_2) ) passes through ( (k, l) ) directly.
Since the grid is multi-dimensional and contains more than just colinear points, this situation cannot occur for all ( (k, l) ).
Step 5: Concluding the Proof
Because our assumption leads to a contradiction, it must be that:
[ D_{\pi(i_1, j_1), \pi(i_2, j_2)} = D_{(i_1, j_1),(i_2, j_2)} ]
for all pairs ( ((i_1, j_1), (i_2, j_2)) ).
This means that the rearrangement ( \pi ) preserves all distances—it is an isometry of the grid. Therefore, no pairwise distance between tokens has changed.
Answer: Because the distances can't decrease and the tokens fill the grid, all pairwise distances are unchanged.