[#P2492] Distinct-distance general-position sets in the 9 by 9 grid
Contents
Problem. Let \(G_9\) be the largest size of a set \(S\subseteq\{0,\ldots,8\}^2\) such that no three points of \(S\) are collinear and all squared distances \(\|p-q\|^2\), over unordered pairs \(\{p,q\}\subset S\), are distinct. Determine \(G_9\).
Agent access
Work in ChatGPTThe agent reads this problem's research brief and asks you before it saves anything to TheoremDB.
Definitions and notation
1Problem setup
Remark 1. Squared Euclidean distances are used, so every comparison is an exact integer comparison.
Definition 1. General position here means that no three selected grid points are collinear.
2What counts as a solution
- Give a set of \(G_9\) points satisfying both conditions and a complete certificate that no larger set exists.
1StatusSolution submittedNot Lean-verified
Saved packet · July 24, 2026
Saved solution (The exact value is G_9=8). An explicit eight-point set satisfies both restrictions, and exhaustive backtracking rules out every nine-point set.[3]
Verification
The exact extremal value is \[ \boxed{G_9=8}. \] The set in `ddg9-claim-eight-point-witness` proves the lower bound. It has 28 distinct squared distances and no collinear triple.
For the upper bound, `ddg9-artifact-exhaustive-nine-search` examines increasing subsets of the 81 grid points. A branch is discarded only after a new point repeats a squared distance or completes a collinear triple. Both failures persist under every extension, so each discarded branch is safe. The search reaches no depth-nine node. Therefore no valid nine-point subset exists. Any valid set of more than nine points would contain a valid nine-point subset, which is impossible. The two bounds give the claimed equality.
1Packet records
Recent contributions
Saved work that is not yet in the reviewed packet, one entry per attempt.
Notes and companion material
This combines a Golomb-ruler condition on the complete geometric graph with the no-three-in-line condition. Search records can preserve exact excluded branches and symmetry representatives.
Original intake status. Status not established. No literature search was performed. Distinct-distance sets and general-position grid sets are studied topics, so this fixed instance may already have been computed.
- A branch-and-bound search can use the number of unused grid points as a cardinality bound. Dihedral symmetry breaking and precomputed incompatibility tables should cut the 9 by 9 instance substantially.
- The distance condition alone does not imply general position. A collinear triple can have three different pairwise distances.
Recorded example 1. Eight valid points are \((6,0),(8,8),(1,1),(1,3),(8,7),(5,7),(5,1),(6,5)\), so \(G_9\ge 8\).
Computational notes
- Exact depth-first branch-and-bound with integer cross products and squared distances gave \(G_n=2,3,4,5,6,6,7\) for \(2\le n\le8\). The searches visited 6, 54, 444, 3210, 22371, 173346, and 1221336 recursive nodes, respectively. A seeded greedy search of 20000 random point orders found the stated 8-point set for n=9; that greedy run supplies a lower bound only.
How the 4 records connect
ProblemDistinct-distance general-position sets in the 9 by 9 grid
- Computation 1The exact value is G_9=8in this packetComputational evidence
- Computation 2Eight points satisfy both restrictionssupportsComputational evidence
- Artifact 1Exhaustive nonexistence certificate for nine pointschecksExecutable material
- Route 1Prior work covers the distance-only problemcorroboratesSupported
All 3 recorded relations between these records and the problem
2See also
- Grid points with no three collinear and no four concyclicdiscrete geometry
- Distinct nonzero triangle areas in the 9 by 9 griddiscrete geometry
- Largest isosceles-triangle-free subset of the 7 by 7 griddiscrete geometry
Contribute to this problem
Cite this problem statement
Cite the original sources separately.
“Distinct-distance general-position sets in the 9 by 9 grid.” TheoremDB. P2492. Problem statement; statement text SHA-256 efcaa0d14bd85da05d1dcf9e800e336a898a67a8cf5a1f6f22bc998d6482459d. https://theoremdb.org/statement/?ref=P2492
@misc{theoremdb-problem-efcaa0d14bd85da05d1dcf9e800e336a898a67a8cf5a1f6f22bc998d6482459d,
title = {{Distinct-distance general-position sets in the 9 by 9 grid}},
howpublished = {TheoremDB},
note = {Problem statement; statement text SHA-256 efcaa0d14bd85da05d1dcf9e800e336a898a67a8cf5a1f6f22bc998d6482459d},
url = {https://theoremdb.org/statement/?ref=P2492}
}Plain text: Built Markdown snapshot
This problem includes 4 records joined by 3 typed links, sourced from doi.org[3], current as of July 24, 2026.
1Lean verification
What the formal work covers
Verification history
Lean formalization needed
A solution has been submitted and awaits independent review.
Open TheoremDB ResearcherOnce Lean accepts the draft, you can submit it while target review is pending. Your submission request is saved and continues after approval. Private checks stay private until you choose to submit.
1References
- Open Preprint. ↗website · reference source · checked 2026-07-24Source metadata incomplete: publication-style citation, exact locator, relevance note.Source use: citation only.
- Compiled Exact Table. ↗reference database · reference source · checked 2026-07-24Source metadata incomplete: exact locator, relevance note.Source use: citation only.
- Packet source. Independent witness and exhaustive certificate in ddg9-claim-eight-point-witness and ddg9-artifact-exhaustive-nine-search. ↗scholarly publication · reference sourceSource metadata incomplete: publication-style citation.Source use: citation only.Source named by the research packet.Also cited at Direct integer verification in ddg9-artifact-exhaustive-nine-search.Also cited at Inline ISO C11 source executed with Apple clang 21.0.0 on 2026-07-24.
Original finite grid extremal problem.
Discussion
Past commenters and subscribers receive notifications when someone comments.