Documentation

FormalConjectures.ErdosProblems.«90»

Erdős Problem 90: The unit distance problem #

Reference: erdosproblems.com/90

noncomputable def Erdos90.unitDistancePairsCount (points : Finset (EuclideanSpace (Fin 2))) :

Given a finite set of points, this function counts the number of unordered pairs of distinct points that are at a distance of exactly 1 from each other.

Equations
Instances For
    noncomputable def Erdos90.unitDistanceCounts (n : ) :

    The set of all possible numbers of unit distances for a configuration of $n$ points.

    Equations
    Instances For

      This lemma confirms that the set of possible unit distance counts is bounded above, which ensures that taking the supremum (sSup) is a well-defined operation. The trivial upper bound is the total number of pairs of points, $\binom{n}{2}$.

      noncomputable def Erdos90.maxUnitDistances (n : ) :

      The maximum number of unit distances determined by any set of $n$ points in the plane. This function is often denoted as $u(n)$ in combinatorics.

      Equations
      Instances For
        theorem Erdos90.erdos_90 :
        (∃ (O : ) (_ : O =O[Filter.atTop] fun (n : ) => 1 / Real.log (Real.log n)), (fun (n : ) => (maxUnitDistances n)) = fun (n : ) => n ^ (1 + O n)) sorry

        Does every set of $n$ distinct points in $\mathbb{R}^2$ contain at most $n^{1+O(\frac{1}{\log\log n})}$ many pairs which are distance $1$ apart?