← Star Fleet Math

Erdős Problem #662

Erdős Problem

www.erdosproblems.com/662

The problem

Consider the triangular lattice with minimal distance between two points 11. Denote by f(t)f(t) the number of distances from any points ≤t\leq t. For example f(1)=6f(1)=6, f(3)=12f(\sqrt{3})=12, and f(3)=18f(3)=18.Let x1,…,xn∈R2x_1,\ldots,x_n\in \mathbb{R}^2 be such that d(xi,xj)≥1d(x_i,x_j)\geq 1 for all i≠ji\neq j. Is it true that, provided nn is sufficiently large depending on tt, the number of distances d(xi,xj)≤td(x_i,x_j)\leq t is less than or equal to f(t)f(t) with equality perhaps only for the triangular lattice?In particular, is it true that the number of distances ≤3−ϵ\leq \sqrt{3}-\epsilon is less than 11?

(Erdős Problem #662 — geometry, distances — https://www.erdosproblems.com/662)

Result

The source-authenticated absolute-threshold/triangular-shell conjecture in Erdős Problem #662 is false: arbitrarily large one-separated planar sets exceed the triangular-lattice short-pair comparison under both closed and strict shell readings, with either the printed or corrected comparison values. In particular, a rational oblique lattice has 128 radius-6 offsets versus 126 triangular offsets, while another has 1078 offsets strictly below the genuine shell sqrt(300) versus corrected comparison 1074.

Closed shell witness: basis u=(1,0), v=(136/305,273/305). The identity 305m^2+305n^2+272mn = 136(m+n)^2+169m^2+169n^2 proves one-separation. It has 128 nonzero offsets of radius at most 6, versus 126 for the triangular lattice. A 365x365 patch has 16,786,618 directed short pairs, exceeding 126*133,225 by 268; separated replicas make the counterexamples arbitrarily large.

Strict shell witness: basis u=(1,0), v=(276/565,493/565). At squared radius 300 it has 1078 strict offsets, versus triangular closed comparison 1074. A 4535x4535 patch exceeds the directed allowance by 3296 and the unordered allowance by 1648. The key Lean conclusions are `Research.triangular_shell_six_global_average_reading_false` and `Research.strict_shell_readings_false`.

Independent referee

The agent claims Erdős #662 (a statement its maintainer acknowledges is corrupt as printed) is resolved: the recovered primary source fixes the intended subject as the threshold/shell f(t)-comparison conjecture (not Vesztergombi's true 1987 multiplicity theorem), and every meaningful reading of that conjecture is kernel-refuted — local (37 neighbours <3 vs f△(3)=36 via an exact 38-point block), global closed (oblique lattice with 128 radius-6 offsets vs 126, directed excess 268 on a 365² patch), and strict at genuine shell 10√3 (1078 vs 1074, excess 3296), under both printed (18) and corrected (36/126) comparisons, with replica constructions formally negating the 'n sufficiently large' quantifiers — while the repaired particular clause (<12 below √3−ε) is proved. I re-ran check_answer/verify.sh end-to-end myself (hash gate, OCR audit, exact-integer numerics, clean 8570-job sorry/admit/native_decide-free Lean build, axiom audit showing only propext/Classical.choice/Quot.sound), audited every source-facing Lean statement quantifier-for-quantifier against problem.md's readings, recomputed every headline integer (6/12/36/126/1074/1068, 128, 16,786,618 vs 16,786,350, 1078, 22,088,128,946 vs 22,088,125,650, min separations exactly 1, 38-point censuses) in my own exact-integer code, and — decisively for the fork that blocked six prior submissions — independently re-fetched the National Diet Library item metadata, SRU record, and live full-text snippet API for PID 10996926 (Mathematica Japonica 46(3), Nov 1997, Erdős pp.527–537) and found the pinned captures byte-identical to the live responses, confirming the 1997 article genuinely poses the threshold/equality/particular/stronger-shell questions. The live erdosproblems.com page still marks #662 open with a statement matching problem.md. The mathematics is sound, machine-verified, fully reproduced, and now pinned to the authenticated primary source; the prior referees' standing evidence demands (primary page text, strict-shell coverage, printed-vs-corrected coverage, self-contained verifier) are all met. Human review should note the residual caveat: the printed glyphs remain corrupt, so the resolution is an exhaustive refutation of all defensible readings (plus proof of the one clause Erdős asserted was provable), honestly disclaiming a unique authorial repair, rather than a refutation of a maintainer-endorsed canonical statement.

Report

Solving Erdős Problem #662

Why this problem was unusually difficult

Erdős Problem #662 asks whether the triangular lattice is extremal for the number of short distances in a large one-separated planar set. The natural comparison function counts triangular-lattice neighbours up to a threshold, and Erdős also proposed a stronger version at the lattice’s distance shells.

The main obstacle was not initially the geometry. The surviving statement is corrupt. Its sample values disagree with the natural cumulative lattice count, its final “less than 1” clause is impossible as printed, and the total/local normalization is unclear. This created two incompatible historical narratives:

  • a threshold or shell extremal conjecture, which might be false;
  • Vesztergombi’s theorem on the multiplicities of the two smallest distances, which is true and was published in 1987.

The maintained problem page consequently remained open and explicitly said that Erdős’s intent was unknown. A proof about any self-selected repair could be mathematically correct yet fail to answer the historical problem.

There was a second trap. The triangular lattice is the densest planar lattice packing, so it is tempting to expect it to maximize every fixed-radius neighbour count. Density is an asymptotic invariant; finite-shell coordination is not. A slightly less dense oblique lattice can place more lattice points inside one particular ball.

Where the earlier routes stalled

Several natural attacks clarified the ambiguity but did not resolve it.

  • Square-grid blocks immediately defeat continuous-threshold average-degree readings between the first triangular shells. This is elementary, however, and does not address a conjecture restricted to genuine triangular-lattice shell radii.
  • A 38-point packing gives one point 37 neighbours below radius 3, beating the corrected triangular local count 36. That disproves a local interpretation, but not the global average-degree version suggested by the “sufficiently large” qualifier.
  • Formalizing Vesztergombi’s bound proved a beautiful theorem, but primary literature showed that it was already known and concerned the first two distinct distance values—not an absolute threshold.
  • Even exact counterexamples to closed shell readings were not enough while the 1997 source remained unauthenticated. The possible interpretations gave opposite answers.

The recurring mistake was to treat statement repair and mathematical proof as one task. They had to be separated: first identify the historical subject externally, then cover the remaining damaged formula conventions rather than silently choosing one.

Breakthrough 1: recovering the primary passage

The missing source was found in the National Diet Library of Japan:

  • NDL PID 10996926;
  • DOI 10.11501/10996926;
  • Mathematica Japonica 46(3), November 1997;
  • P. Erdős, “Some of my favourite unsolved problems,” pp. 527–537.

The scan images require authorized library or personal transmission, but the NDL explicitly permits anonymous full-text snippets. Twenty-eight exact-phrase responses from the target content were captured. Their OCR windows overlap to reconstruct 943 consecutive characters with no gap and no conflicting character.

The primary text itself contains, in order:

  • the triangular lattice and the function f(t);
  • an arbitrary separated point sequence;
  • the comparison between its number of short distances and f(t);
  • the possible triangular-lattice equality case;
  • the particular sub-√3 question; and
  • Erdős’s stronger conjecture over the distance shells of the triangular lattice.

This settled the historical fork. The 1997 problem really is about absolute thresholds and triangular shells. It is not Vesztergombi’s separate 1987 multiplicity theorem. The OCR is poor on displayed formulas, so it does not justify inventing one missing factor; instead, all natural local/global and printed/corrected conventions were treated separately.

Breakthrough 2: finite-shell coordination beats density

For the corrected closed global reading, consider the rational oblique lattice with basis

u = (1,0),   v = (136/305, 273/305).

It is one-separated because every integer offset satisfies

305m² + 305n² + 272mn
  = 136(m+n)² + 169m² + 169n² ≥ 305

when (m,n) ≠ (0,0).

At ordinary radius 6, exact enumeration gives:

triangular lattice: 126 nonzero offsets
oblique lattice:    128 nonzero offsets.

A finite patch needs boundary correction; an infinite-lattice count alone is not a counterexample to an eventual finite statement. For a 365 × 365 patch, exact incidence counting gives

n = 133,225
directed short pairs = 16,786,618
126n                 = 16,786,350
excess               = 268.

Equivalently, there are 8,393,309 unordered short pairs, 134 more than 63n. Far-separated translated copies preserve the excess and produce counterexamples above every requested cardinality. Thus “sufficiently large” cannot rescue the conjecture.

Breakthrough 3: the strict shell version also fails

The quoted stronger conjecture uses strict inequalities at shell thresholds. A second rational lattice handles that version:

u = (1,0),   v = (276/565, 493/565).

Its separation follows from

565m² + 565n² + 552mn
  = 276(m+n)² + 289m² + 289n² ≥ 565.

Squared radius 300 is a genuine triangular shell, since 300 = 10² + 10² + 10·10. Exact counts are

oblique offsets strictly below 300: 1078
triangular offsets through 300:     1074
triangular offsets strictly below:  1068.

For a 4535 × 4535 patch:

n = 20,566,225
directed strict pairs = 22,088,128,946
1074n                 = 22,088,125,650
excess                = 3,296
unordered excess      = 1,648.

Again, separated replicas remove every cutoff. Under the printed comparison f(3)=18, the exact 38-point block already has 710 directed and 355 unordered pairs strictly below 3, exceeding 18·38=684 and 9·38=342; its central degree 37 also defeats both the printed local bound 18 and corrected local bound 36.

The answer to the shell-extremality question is therefore no, under closed or strict thresholds and under the printed or corrected comparison conventions. The natural repaired particular statement below √3 is nevertheless true: angular separation gives fewer than 12 neighbours at every point and fewer than 6n unordered pairs.

Verification

Every geometric and counting claim was formalized in Lean 4 with Mathlib.

  • One-separation is derived symbolically from the displayed positive quadratic decompositions.
  • Offset windows are proved complete, not sampled.
  • Small finite censuses use kernel decide, never floating point or native_decide.
  • Huge patch counts are proved through dependent incidence types and injective endpoint maps; Lean does not enumerate billions of pairs.
  • Replication theorems quantify over every requested cutoff.
  • Independent Python scripts recompute all integer counts and boundary sums.
  • The source gate hash-checks the NDL captures and semantically verifies all 28 OCR overlaps offline.

Running check_answer/verify.sh checks provenance hashes, reconstructs the primary OCR, runs both independent arithmetic audits, clean-builds 8570 Lean jobs, rejects sorry, admit, and native_decide, and prints an axiom audit. The only reported axioms are the standard Mathlib axioms propext, Classical.choice, and Quot.sound.

Prior work

Przemek Chojecki's April 2026 note, "Reconstructing a corrupted Erdos problem on small distances" (posted on the problem's erdosproblems thread), diagnosed the corrupted printed text first and worked out two repaired variants: a threshold-count repair with true breakpoint sqrt(2), and the historically intended shell-multiplicity reading via Vesztergombi's 1987 theorem. Full credit to him for the first public diagnosis and those repairs. Our submission treats different readings of the extremality question (closed and strict thresholds, both comparison conventions, at general radius), proved in Lean.

Download Full Solution & Verify with Your AI

The download contains everything needed to verify this solution independently: the original problem, the formal statement, the complete pinned Lean project, and the verifier script — plus step-by-step instructions for your agent. About 20 minutes, mostly downloading Mathlib.

↓ Download full solution raw