The Bannai-Bannai-Stanton bound on distance sets #
Formalizes the Bannai-Bannai-Stanton theorem bounding the size of a distance
set S in ℝ^d with s distinct distances by Nat.choose (d + s) s, following
the short proof of Petrov and Pohoata via the Croot-Lev-Pach lemma.
The squared-distance polynomial used to encode pairwise distances of a distance set.
Equations
- BannaiBannaiStanton.distPoly d = ∑ i : Fin d, (MvPolynomial.X (Fin.castLE ⋯ i) - MvPolynomial.X ⟨d + ↑i, ⋯⟩) ^ 2
Instances For
The squared-distance polynomial expressed from a fixed reference point.
Equations
- BannaiBannaiStanton.distPolyFrom y = ∑ i : Fin d, (MvPolynomial.X i - MvPolynomial.C (y.ofLp i)) ^ 2
Instances For
The product over a finite distance set of the shifted squared-distance polynomials.
Equations
- BannaiBannaiStanton.productDistPoly d D = ∏ r ∈ D, (MvPolynomial.C (r ^ 2) - BannaiBannaiStanton.distPoly d)
Instances For
The product form of productDistPoly taken from a fixed reference point.
Equations
- BannaiBannaiStanton.productDistPolyFrom y D = ∏ r ∈ D, (MvPolynomial.C (r ^ 2) - BannaiBannaiStanton.distPolyFrom y)
Instances For
Evaluation of restricted polynomials as a linear map on bounded-degree monomials.
Equations
- BannaiBannaiStanton.evalMapRestricted A s = { toFun := fun (p : ↥(MvPolynomial.restrictTotalDegree (Fin d) F s)) (a : ↥A) => (MvPolynomial.eval (↑a).ofLp) ↑p, map_add' := ⋯, map_smul' := ⋯ }
Instances For
The dimension of the space of polynomials of bounded total degree used in the rank bound.
Equations
Instances For
Sends a bounded-degree monomial exponent vector to its multiset of variables.