A finite square configuration can be expanded to touch all four sides
ProvedCirclePackingConstants.touch_four_sidescircle-packingdiscrete-geometry
Let and let be labeled points of the unit square. There are labeled points in the same square such that each side contains at least one of the and for every pair of labels.
Consequently an upper bound on the minimum pairwise distance for configurations touching all four sides gives the same upper bound without that restriction. This normalization applies to every finite square-packing problem.
Preamble
import Definitions.Def_CirclePackingConstants open CirclePackingConstants
Formal statement
theorem CirclePackingConstants.touch_four_sides (n : ℕ) (hn : 2 ≤ n)
(p : Fin n → Point)
(hp : ∀ i, 0 ≤ (p i).1 ∧ (p i).1 ≤ 1 ∧ 0 ≤ (p i).2 ∧ (p i).2 ≤ 1) :
∃ q : Fin n → Point,
(∀ i, 0 ≤ (q i).1 ∧ (q i).1 ≤ 1 ∧ 0 ≤ (q i).2 ∧ (q i).2 ≤ 1) ∧
(∃ i, (q i).1 = 0) ∧ (∃ i, (q i).1 = 1) ∧
(∃ i, (q i).2 = 0) ∧ (∃ i, (q i).2 = 1) ∧
∀ i j, sqDist (p i) (p j) ≤ sqDist (q i) (q j) := by sorrySource
Elementary coordinate rescaling. Used in the Prove2Me circle-packing mission, https://prove2.me/theorems/147bdcc6-cfea-4ca8-99dc-9cfc2e63bded.