Documentation

LeanPool.Erdos132ConvexK3.Basic

The convex three-largest-distance graph #

Definitions for the internal convex k = 3 Erdős 132 draft. Geometry is expressed through exact signed areas, while the graph uses squared distances; this keeps the rational campaign witnesses kernel-reducible.

The open Erdős 132 conjecture is not asserted here. Recon: ~/Knowledge/Construct/recon/erdos_132.md.

@[reducible, inline]

A Cartesian point over an ordered coordinate ring.

Equations
Instances For
    def LeanPool.Erdos132ConvexK3.cross {K : Type u_1} [Ring K] (u v : Point K) :
    K

    Signed two-dimensional cross product.

    Equations
    Instances For
      def LeanPool.Erdos132ConvexK3.dot {K : Type u_1} [Ring K] (u v : Point K) :
      K

      Cartesian dot product. Keeping this polynomial form explicit lets the majorant angle argument stay over exact ordered rings.

      Equations
      Instances For
        def LeanPool.Erdos132ConvexK3.turn {K : Type u_1} [Ring K] (a b c : Point K) :
        K

        Signed turn from the ray a ⟶ b to the ray a ⟶ c.

        Equations
        Instances For
          def LeanPool.Erdos132ConvexK3.sqDist {K : Type u_1} [Ring K] (a b : Point K) :
          K

          Squared Euclidean distance, used to compare distance classes exactly.

          Equations
          Instances For

            The next index in a cyclic labelling.

            Equations
            Instances For

              Strict convex position in a specified cyclic order.

              Every vertex other than the endpoints of a boundary edge lies strictly in that oriented edge's left open half-plane. This signed-area formulation is stronger and less ambiguous than checking consecutive turns alone.

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

                Four vertices in positive cyclic order, in the exact form needed for the diagonal-crossing proof.

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

                  Membership in the open left half-plane of the oriented line a ⟶ b.

                  Equations
                  Instances For

                    Executable increasing representatives of unordered pairs of labels.

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

                      Increasing representatives of unordered pairs of labels.

                      Equations
                      Instances For

                        The squared distance classes realized by a labelled configuration.

                        Equations
                        Instances For
                          def LeanPool.Erdos132ConvexK3.HasTopThreeDistanceClasses {K : Type u_1} [Ring K] [LinearOrder K] {n : } (P : Fin nPoint K) (d₁ d₂ d₃ : K) :

                          d₁ > d₂ > d₃ are exactly the three largest squared distance classes.

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

                            The executable unordered-pair list contains exactly the increasing representatives.

                            Distinct real points have positive squared distance.

                            theorem LeanPool.Erdos132ConvexK3.top_three_class_bounds_of_ne {n : } {P : Fin nPoint } {d₁ d₂ d₃ : } (hClasses : HasTopThreeDistanceClasses P d₁ d₂ d₃) {i j : Fin n} (hij : i j) :
                            have d := sqDist (P i) (P j); d d₁ (d < d₁d d₂) (d < d₂d d₃)

                            The top-three predicate supplies its global distance bound for every ordered pair of distinct labels, not only for the increasing representative stored in unorderedPairList.

                            Executable checker for CyclicStrictConvex.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              def LeanPool.Erdos132ConvexK3.hasTopThreeDistanceClassesCheck {K : Type u_1} [Ring K] [LinearOrder K] {n : } (P : Fin nPoint K) (d₁ d₂ d₃ : K) :

                              Executable checker for the exact top-three distance-class predicate.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                theorem LeanPool.Erdos132ConvexK3.hasTopThreeDistanceClasses_of_check {K : Type u_1} [Ring K] [LinearOrder K] {n : } {P : Fin nPoint K} {d₁ d₂ d₃ : K} (h : hasTopThreeDistanceClassesCheck P d₁ d₂ d₃ = true) :
                                def LeanPool.Erdos132ConvexK3.TopThreeAdjacent {K : Type u_1} [Ring K] {n : } (P : Fin nPoint K) (d₁ d₂ d₃ : K) (i j : Fin n) :

                                Adjacency in the union of the three named largest distance classes.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  def LeanPool.Erdos132ConvexK3.topThreeGraph {K : Type u_1} [CommRing K] {n : } (P : Fin nPoint K) (d₁ d₂ d₃ : K) :

                                  The graph G(S,3) for three explicitly identified distance classes.

                                  Equations
                                  Instances For
                                    def LeanPool.Erdos132ConvexK3.vertexDegree {K : Type u_1} [CommRing K] [DecidableEq K] {n : } (P : Fin nPoint K) (d₁ d₂ d₃ : K) (i : Fin n) :

                                    Vertex degree in G(S,3), executable for exact coordinate fields.

                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For
                                      theorem LeanPool.Erdos132ConvexK3.vertexDegree_eq_of_neighbors {K : Type u_1} [CommRing K] [DecidableEq K] {n : } (P : Fin nPoint K) (d₁ d₂ d₃ : K) (i : Fin n) (N : Finset (Fin n)) (hN : ∀ (j : Fin n), j N j i (sqDist (P i) (P j) = d₁ sqDist (P i) (P j) = d₂ sqDist (P i) (P j) = d₃)) :
                                      vertexDegree P d₁ d₂ d₃ i = N.card