Documentation

LeanPool.Erdos132N14.Basic

Finite planar distance configurations #

This module defines unordered index pairs, realized distances, their multiplicities, and the low-multiplicity distances in Erdős Problem 132. The definitions work on a selected finite subset of a labelled configuration, which makes deletion and insertion statements literal finset identities.

structure LeanPool.Erdos132N14.Configuration (ι : Type u_1) :
Type u_1

A labelled finite planar configuration.

Instances For
    def LeanPool.Erdos132N14.pairs {ι : Type u_1} [LinearOrder ι] (S : Finset ι) :
    Finset (ι × ι)

    The unordered pairs in S, represented by their increasing orientation.

    Equations
    Instances For
      def LeanPool.Erdos132N14.pairWith {ι : Type u_1} [LinearOrder ι] (v w : ι) :
      ι × ι

      The increasing representative of the unordered pair containing v and w.

      Equations
      Instances For
        def LeanPool.Erdos132N14.insertionPairs {ι : Type u_1} [LinearOrder ι] (v : ι) (S : Finset ι) :
        Finset (ι × ι)

        The new unordered pairs created by inserting v into S.

        Equations
        Instances For
          theorem LeanPool.Erdos132N14.pairs_insert {ι : Type u_1} [LinearOrder ι] {v : ι} {S : Finset ι} (hv : vS) :
          theorem LeanPool.Erdos132N14.pairs_disjoint_insertionPairs {ι : Type u_1} [LinearOrder ι] {v : ι} {S : Finset ι} (hv : vS) :
          theorem LeanPool.Erdos132N14.pairWith_mem_pairs {ι : Type u_1} [LinearOrder ι] {S : Finset ι} {a b : ι} (ha : a S) (hb : b S) (hab : a b) :
          theorem LeanPool.Erdos132N14.pairWith_map_injectiveOn_orderedPairs {ι : Type u_1} {κ : Type u_2} [LinearOrder ι] [LinearOrder κ] (f : κι) (hf : Function.Injective f) :
          Set.InjOn (fun (e : κ × κ) => pairWith (f e.1) (f e.2)) {e : κ × κ | e.1 < e.2}
          noncomputable def LeanPool.Erdos132N14.Configuration.pairDistance {ι : Type u_1} (P : Configuration ι) (e : ι × ι) :

          The Euclidean length belonging to an indexed pair.

          Equations
          Instances For

            The positive distances realized inside S.

            Equations
            Instances For
              noncomputable def LeanPool.Erdos132N14.Configuration.distanceMultiplicity {ι : Type u_1} [LinearOrder ι] (P : Configuration ι) (S : Finset ι) (d : ) :

              The number of unordered pairs in S at distance d.

              Equations
              Instances For
                noncomputable def LeanPool.Erdos132N14.Configuration.lowMultiplicityDistances {ι : Type u_1} [LinearOrder ι] (P : Configuration ι) (S : Finset ι) (threshold : ) :

                Realized distances represented by at most threshold unordered pairs.

                Equations
                Instances For
                  theorem LeanPool.Erdos132N14.Configuration.pairDistance_pos {ι : Type u_1} [LinearOrder ι] (P : Configuration ι) {S : Finset ι} {e : ι × ι} (he : e pairs S) :
                  theorem LeanPool.Erdos132N14.Configuration.pairs_mono {ι : Type u_1} [LinearOrder ι] {S T : Finset ι} (hST : S T) :

                  Multiplicities partition the unordered pairs.

                  noncomputable def LeanPool.Erdos132N14.Configuration.insertionMultiplicity {ι : Type u_1} (P : Configuration ι) (v : ι) (S : Finset ι) (d : ) :

                  Number of new edges of length d created by inserting v into S.

                  Equations
                  Instances For
                    theorem LeanPool.Erdos132N14.Configuration.filter_insertionPairs {ι : Type u_1} [LinearOrder ι] (P : Configuration ι) (v : ι) (S : Finset ι) (d : ) :
                    {einsertionPairs v S | P.pairDistance e = d} = Finset.image (pairWith v) ({wS | dist (P.point v) (P.point w) = d})

                    Exact insertion formula for distance multiplicity.

                    A distance-scaling equivalence of the Euclidean plane.

                    Instances For
                      structure LeanPool.Erdos132N14.SimilarTo {ι : Type u_1} (P : Configuration ι) (S : Finset ι) {κ : Type u_3} (template : κ) :
                      Type (max u_1 u_3)

                      A selected configuration is a relabelled Euclidean similarity image of a template.

                      • reindex : κ S

                        A relabelling from the template onto the selected points.

                      • similarity : PlaneSimilarity

                        The Euclidean similarity carrying the template to the selection.

                      • point_eq (i : κ) : P.point (self.reindex i) = self.similarity.toEquiv (template i)
                      Instances For
                        theorem LeanPool.Erdos132N14.SimilarTo.distance_eq {ι : Type u_1} {κ : Type u_2} {P : Configuration ι} {S : Finset ι} {template : κ} (h : SimilarTo P S template) (i j : κ) :
                        dist (P.point (h.reindex i)) (P.point (h.reindex j)) = h.similarity.ratio * dist (template i) (template j)

                        A Euclidean similarity injects every template distance class into the corresponding scaled class of the selected configuration.

                        Euclidean similarities preserve every distance multiplicity exactly.