Documentation

LeanPool.HadwigerNelsonBounds.PartsGeometry

Exact geometry for the Parts lower-bound certificate #

The 481-vertex base graph in Parts' certificate uses points

(a + b * sqrt 33, c * sqrt 3 + d * sqrt 11) / 12.

The equivalent coordinates below use only sqrt 33 and sqrt 3; this makes the unit-distance check an integer calculation.

Integer coordinates for the quadratic field used by the Parts graph.

  • a :

    Rational coefficient in the first Cartesian coordinate.

  • b :

    sqrt 33 coefficient in the first Cartesian coordinate.

  • c :

    Rational coefficient in the second Cartesian coordinate.

  • d :

    sqrt 33 coefficient in the second Cartesian coordinate.

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

      Difference of two exact Parts coordinates.

      Equations
      Instances For

        Rational coefficient of 144 times the squared norm.

        Equations
        Instances For

          Coefficient of 2 * sqrt 33 in 144 times the squared norm.

          Equations
          Instances For

            Exact decidable test that an integer coordinate vector has length one.

            Equations
            Instances For

              Embed exact certificate coordinates in the Euclidean plane.

              Equations
              Instances For
                @[simp]
                theorem HadwigerNelsonBounds.PartsPoint.toR2_zero (p : PartsPoint) :
                p.toR2.ofLp 0 = (p.a + p.b * 33) / 12
                @[simp]
                theorem HadwigerNelsonBounds.PartsPoint.toR2_one (p : PartsPoint) :
                p.toR2.ofLp 1 = (3 * p.c + p.d * 33) / (12 * 3)

                Every positive exact unit vector embeds as a Euclidean unit segment.