Twenty-five points of the unit square with pairwise occupy the cells of the subdivision bijectively
OpenCirclePackingConstants.twentyfive_cell_occupancyLet be twenty-five points of the closed unit square whose pairwise squared distances all exceed , and let be the cells of the subdivision. Then there is a bijection with for every : every cell contains exactly one of the points.
A cell has diameter , so two points may a priori share a cell (near opposite corners); the statement says that this cannot happen when all points are strictly more than apart. Since the grid of spacing shows that the separation is attained, this is the global (non-tight) half of the optimality proof for twenty-five points: the numerically best configuration with a doubly occupied cell has minimum distance clearly below , so there is a margin and a finite case analysis over the occupancy patterns of the cells applies.
Formalization Note. Fin 5 × Fin 5 indexes the cells; the cells are closed, so a point on a common boundary may be assigned to either cell.
import Definitions.Def_CirclePackingConstants noncomputable section namespace CirclePackingConstants
theorem twentyfive_cell_occupancy (p : Fin 25 → Point)
(hp : ∀ i, 0 ≤ (p i).1 ∧ (p i).1 ≤ 1 ∧ 0 ≤ (p i).2 ∧ (p i).2 ≤ 1)
(hd : ∀ i j, i ≠ j → (1 : ℝ) / 16 < sqDist (p i) (p j)) :
∃ σ : Fin 25 → Fin 5 × Fin 5, Function.Bijective σ ∧ ∀ k,
((σ k).1.val : ℝ) / 5 ≤ (p k).1 ∧ (p k).1 ≤ (((σ k).1.val : ℝ) + 1) / 5 ∧
((σ k).2.val : ℝ) / 5 ≤ (p k).2 ∧ (p k).2 ≤ (((σ k).2.val : ℝ) + 1) / 5 := by sorry