Documentation

LeanPool.HadwigerNelsonBounds.Basic

Plane unit-distance graph and triangular lattice #

This module defines the Euclidean plane graph and the lattice geometry used by the seven-color construction.

@[reducible, inline]

The plane R² as a 2-dimensional Euclidean space.

Equations
Instances For

    The unit-distance graph on R²: vertices are points of the plane, with an edge between p and q iff dist p q = 1. Built via SimpleGraph.fromRel, which automatically symmetrizes the relation and removes self-loops (dist p p = 0 ≠ 1, so this is harmless).

    Equations
    Instances For
      @[simp]

      Adjacency unfolds to: distinct points at distance exactly 1.

      Isbell hexagonal-tiling 7-coloring #

      Lattice basis spacing. Any value in the interval (1/(√7 − 2/√3), √3/2) ≈ (0.671, 0.866) is geometrically valid; we pick the clean rational 3/4.

      Equations
      Instances For

        The triangular-lattice point at integer coords (i, j): i · (a, 0) + j · (a/2, a·√3/2).

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          √3 * √3 = 3, hoisted to file scope for use in the squared-distance computation.

          theorem HadwigerNelsonBounds.isbellLatticePoint_dist_sq (i j i' j' : ) :
          dist (isbellLatticePoint i j) (isbellLatticePoint i' j') ^ 2 = isbellLatticeStep ^ 2 * ((i - i') ^ 2 + (i - i') * (j - j') + (j - j') ^ 2)

          Squared Euclidean distance between two lattice points.

          Squared Euclidean distance from a point p : R² to a lattice point. Helper formula expressed directly in terms of p 0, p 1, i, j.

          theorem HadwigerNelsonBounds.Q_le_third_origin {α β : } ( : 0 α) ( : 0 β) (h1 : 2 * α + β 1) (h2 : α + 2 * β 1) :
          α ^ 2 + α * β + β ^ 2 1 / 3

          The Voronoi covering bound Q(u, v) ≤ 1/3 holds in the centroid region of the triangle with vertices (0,0), (1,0), (0,1).