Documentation

LeanPool.ConwaySoifer.Geometry.Basic

The point (a, b) represents (a+b/2, sqrt(3)*b/2) in the Euclidean plane. The product norm on Real × Real is deliberately NOT used for lengths. All triangles below include their boundary and interior. Degenerate triangles are allowed, so the eventual statement also includes common side zero.

@[reducible, inline]

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

Equations
Instances For

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

    Equations
    Instances For

      The filled equilateral target of side three in triangular coordinates.

      Equations
      Instances For

        The closed central unit hexagon in triangular coordinates.

        Equations
        Instances For

          The six cyclic vertices of the unit hexagon.

          Equations
          Instances For

            The three vertices of the side-three target.

            Equations
            Instances For

              The centre and boundary vertices used to assign distinct covering owners.

              Equations
              Instances For

                Three equidistant vertices with a nonnegative side length; the carrier is their closed hull.

                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 side-three target lies in at least one covering triangle.

                      Equations
                      Instances For

                        Every covering triangle has the specified common side length.

                        Equations
                        Instances For

                          This is the actual target proposition, not a claim that it has been proved.

                          Equations
                          Instances For

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

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

                              Conversion to the oblique coordinates of the upstream SevenTriangles library.

                              Equations
                              Instances For
                                theorem ConwaySoifer.sqDist_toOblique (p q : Point) :
                                ((toOblique p).1 - (toOblique q).1) ^ 2 + 3 / 4 * ((toOblique p).2 - (toOblique q).2) ^ 2 = sqDist p q
                                theorem ConwaySoifer.anchors_separated (i j : Fin 10) (h : i ≠ j) :

                                Sanity check: the target is the filled equilateral triangle of side three.

                                Equations
                                Instances For