Documentation

LeanPool.ConwaySoifer.SevenTriangles.Geometry.Basic

Rational coordinates for the covering problem #

(x, z) represents the Euclidean point (x, sqrt(3)/2 * z). The product norm on ℝ × ℝ is NOT the metric used for lengths below. All metric statements use sqDist; convexity is unchanged by this invertible linear change of coordinates. No geometric theorem is assumed as an axiom.

@[reducible, inline]

Planar coordinates; Euclidean lengths use the quadratic form described in this module.

Equations
Instances For
    noncomputable def ConwaySoifer.SevenTriangles.sqDist (p q : Point) :

    Squared Euclidean distance in the coordinate system described in this module.

    Equations
    Instances For

      Rotation through 60 degrees in oblique coordinates.

      Equations
      Instances For
        noncomputable def ConwaySoifer.SevenTriangles.vertex (i : Fin 6) :

        The six cyclic vertices of the unit hexagon.

        Equations
        Instances For

          The closed regular unit hexagon in oblique coordinates.

          Equations
          Instances For

            The preceding vertex index in the cyclic hexagon order.

            Equations
            Instances For

              The following vertex index in the cyclic hexagon order.

              Equations
              Instances For

                A nondegenerate filled equilateral triangle, with an explicit side length.

                Instances For

                  The filled closed convex hull of the three triangle vertices.

                  Equations
                  Instances For
                    @[reducible, inline]

                    The finite family of covering triangles used by this module.

                    Equations
                    Instances For

                      Every point of the closed unit hexagon belongs to one of the seven triangles.

                      Equations
                      Instances For

                        The actual geometric goal. This is a proposition, not a proved theorem.

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

                          No equilateral triangle of side below one contains the given set.

                          Equations
                          Instances For
                            theorem ConwaySoifer.SevenTriangles.sqDist_smul (a : ℝ) (p q : Point) :
                            sqDist (a • p) (a • q) = a ^ 2 * sqDist p q

                            Sanity check: the geometric datatype is inhabited by a standard unit sector.

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