TheoremDB
All problems

[#P2492] Distinct-distance general-position sets in the 9 by 9 grid

Qualification pending

This question is undergoing qualification review.

Not Lean-verified
View the submitted solution
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 accessWork in ChatGPT

The 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.

1Status

Saved packet · July 24, 2026

What counts as a solution

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

4 records

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
The overview places each record once. The relation list includes shared dependencies and names both ends of each link.

ProblemDistinct-distance general-position sets in the 9 by 9 grid

All 3 recorded relations between these records and the problem

2See also

Contribute to this problem
Cite this problem statement

Cite the original sources separately.

Plain text
“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
BibTeX
@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}
}

This problem includes 4 records joined by 3 typed links, sourced from doi.org[3], current as of July 24, 2026.

1Lean verification

Lean formalization needed

A solution has been submitted and awaits independent review.

Open TheoremDB Researcher

Upload a Lean project archive

Once 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

3 entries have incomplete source metadata. Each affected row names the fields that still need editorial review.

  1. Open Preprint. ↗website · reference source · checked 2026-07-24Source metadata incomplete: publication-style citation, exact locator, relevance note.Source use: citation only.
  2. Compiled Exact Table. ↗reference database · reference source · checked 2026-07-24Source metadata incomplete: exact locator, relevance note.Source use: citation only.
  3. 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

Loading discussion.

Add a comment

Report comment

Flag this problem

Sign in to follow

Sign in in another tab, then return here.

Open sign-in in another tab

Report a problem

Report location:

Your ChatGPT account

Opening ChatGPT

ChatGPT is opening in a new tab.