Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The eight cells σ1,…,σ8\sigma_1,\dots,\sigma_8σ1​,…,σ8​ of Schaer–Meir

Definition
CirclePackingConstants_Eight

by vebis · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

circle-packingdiscrete-geometry

Let s=(2−3)/2s=(2-\sqrt3)/2s=(2−3​)/2, so that d82=2−3=2sd_8^2=2-\sqrt3=2sd82​=2−3​=2s for the optimal separation d8=2−3=(6−2)/2d_8=\sqrt{2-\sqrt3}=(\sqrt6-\sqrt2)/2d8​=2−3​​=(6​−2​)/2 of eight points in the unit square. We use coordinates (u,v)=(x−12, y−12)(u,v)=(x-\tfrac12,\,y-\tfrac12)(u,v)=(x−21​,y−21​) centred at the centre CCC of the unit square.

Schaer and Meir (1965, Proposition 2) cover the square by eight sets σ1,…,σ8\sigma_1,\dots,\sigma_8σ1​,…,σ8​, each of diameter at most d8d_8d8​: four corner squares [s,12]2[s,\tfrac12]^2[s,21​]2 (and its rotations by multiples of 90∘90^\circ90∘), which contain the corners A1,…,A4A_1,\dots,A_4A1​,…,A4​, and four pentagons C Hi Ei Di+1 Hi+1C\,H_i\,E_i\,D_{i+1}\,H_{i+1}CHi​Ei​Di+1​Hi+1​ filling the arms of the central cross {∣u∣≤s}∪{∣v∣≤s}\{|u|\le s\}\cup\{|v|\le s\}{∣u∣≤s}∪{∣v∣≤s}, where Hi=(±s,±s)H_i=(\pm s,\pm s)Hi​=(±s,±s). eightCell i p states that the point ppp lies in the closed cell number iii (numbered 0,…,70,\dots,70,…,7; even indices are corner squares, odd indices arms; index 777 is the right arm {∣v∣≤s, ∣v∣≤u≤12}\{|v|\le s,\ |v|\le u\le \tfrac12\}{∣v∣≤s, ∣v∣≤u≤21​} and index 111 the top arm).

Formalization Note. In the paper the cells are made disjoint by removing boundary segments and the point CCC; here they are closed, which suffices for the argument.

Definition code
import Definitions.Def_CirclePackingConstants

noncomputable section

namespace CirclePackingConstants

/-- The constant `s = (2 - √3)/2`, so that `d₈² = 2 - √3 = 2 s` and `d₈ = (√6 - √2)/2` is the optimal
separation of eight points in the unit square. -/
def eightS : ℝ := (2 - Real.sqrt 3) / 2

/-- The eight closed cells `σ₁, …, σ₈` of Schaer–Meir, in coordinates centred at the centre of the
unit square, `(u, v) = (x - 1/2, y - 1/2)`.  Even indices `0,2,4,6` are the four corner squares
`[s, 1/2]²` and its rotations (they contain the corners `A₁, A₂, A₃, A₄`); odd indices `1,3,5,7`
are the four pentagons `C H E D H' C` (they contain the arms of the central cross: top, left,
bottom, right).  Index `7` is the right arm `{ |v| ≤ s, |v| ≤ u ≤ 1/2 }`. -/
def eightCell (i : Fin 8) (p : Point) : Prop :=
  match i.val with
  | 0 => eightS ≤ p.1 ∧ p.1 ≤ 1 / 2 ∧ eightS ≤ p.2 ∧ p.2 ≤ 1 / 2
  | 1 => -eightS ≤ p.1 ∧ p.1 ≤ eightS ∧ -p.2 ≤ p.1 ∧ p.1 ≤ p.2 ∧ p.2 ≤ 1 / 2
  | 2 => -(1 / 2) ≤ p.1 ∧ p.1 ≤ -eightS ∧ eightS ≤ p.2 ∧ p.2 ≤ 1 / 2
  | 3 => -eightS ≤ p.2 ∧ p.2 ≤ eightS ∧ p.1 ≤ -p.2 ∧ p.1 ≤ p.2 ∧ -(1 / 2) ≤ p.1
  | 4 => -(1 / 2) ≤ p.1 ∧ p.1 ≤ -eightS ∧ -(1 / 2) ≤ p.2 ∧ p.2 ≤ -eightS
  | 5 => -eightS ≤ p.1 ∧ p.1 ≤ eightS ∧ p.2 ≤ -p.1 ∧ p.2 ≤ p.1 ∧ -(1 / 2) ≤ p.2
  | 6 => eightS ≤ p.1 ∧ p.1 ≤ 1 / 2 ∧ -(1 / 2) ≤ p.2 ∧ p.2 ≤ -eightS
  | _ => -eightS ≤ p.2 ∧ p.2 ≤ eightS ∧ -p.1 ≤ p.2 ∧ p.2 ≤ p.1 ∧ p.1 ≤ 1 / 2

end CirclePackingConstants
Source
J. Schaer and A. Meir, On a geometric extremum problem, Canad. Math. Bull. 8 (1965), 21-27, https://doi.org/10.4153/CMB-1965-004-x, Proposition 2 and Figure 3.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me