Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 831

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Let h(n)h(n) be maximal such that in any nn points in R2\mathbb{R}^2 (with no three on a line and no four on a circle) there are at least h(n)h(n) many circles of different radii passing through three points. Estimate h(n)h(n).

Erdős asks this in [Er75h, pp. 2-3] (see also [Er92e]); see also Problems 104 and 506. We read "estimate" as the order of magnitude =Θ. [Er75h] also asks how h(n)h(n) changes if one only assumes that the points are not all on a circle; this is not formalised.

Subjects:Metric Geometry (math.MG)
MSC classes:51, 52
Tags:question
Cite as:NS.03347 [math.MG] · NS.03347v1 for this version
Declaration:Erdos831.erdos_831
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:52d12c41bb857b2af107baec1f1c9c569d9d4e0c6a2bdb825361443dc22808f2
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/831.lean

Formal statement

theorem erdos_831 :
    (fun n : ℕ ↦ (h n : ℝ)) =Θ[atTop] erdos_831.answer
Show the full Challenge.lean (104 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 831

*References:*
- [erdosproblems.com/831](https://www.erdosproblems.com/831)
- [Er75h] Erdős, P., *Some problems on elementary geometry*. Austral. Math. Soc. Gaz. (1975), 2-3.
  [PDF](https://www.renyi.hu/~p_erdos/1975-41.pdf)
- [Er92e] Erdős, Pál, *Some Unsolved problems in Geometry, Number Theory and Combinatorics*. Eureka
  (1992), 44-48.
-/

@[expose] public section

open Filter Asymptotics EuclideanGeometry

namespace Erdos831

/-- The set of radii of the circles passing through at least three points of `P`. A circle is a
`Sphere ℝ²` (a centre and a radius), and we collect the radii of those spheres that contain at
least three points of `P`. For a finite `P` this set is finite, since three distinct points lie on
at most one circle. -/
def circleRadii (P : Set ℝ²) : Set ℝ :=
  (fun s : Sphere ℝ² ↦ s.radius) '' {s : Sphere ℝ² | 3 ≤ {p ∈ P | p ∈ s}.ncard}

/-- The number of circles of different radii passing through three points of `P`. -/
noncomputable def numRadii (P : Set ℝ²) : ℕ :=
  (circleRadii P).ncard

/-- `h n` is the minimum, over all sets `P` of `n` points of the plane in general position (no
three on a line, no four on a circle), of the number `numRadii P` of different radii of circles
through three points of `P`. In Erdős's words, `h n` is the largest integer such that every such
`P` determines at least `h n` circles of different radii.

Admissible `P` exist for every `n`: the points $(i, i^2)$, $1 \le i \le n$, have no three on a
line, and four points $(t_j, t_j^2)$ of the parabola lie on a circle only if $\sum_j t_j = 0$.
Hence the set below is nonempty and `sInf` is a true minimum. For $n \le 2$ no circle passes
through three points and `h n = 0`. -/
noncomputable def h (n : ℕ) : ℕ :=
  sInf {k : ℕ | ∃ P : Finset ℝ², P.card = n ∧ InGeneralPosition (P : Set ℝ²) ∧
    numRadii (P : Set ℝ²) = k}

/-- A set of `n` points in general position determining `k` different radii gives
`h n ≤ k`. -/
@[category API, AMS 51 52]
theorem h_le {n : ℕ} (P : Finset ℝ²) (hcard : P.card = n) (hP : InGeneralPosition (P : Set ℝ²)) :
    h n ≤ numRadii (P : Set ℝ²) :=
  Nat.sInf_le ⟨P, hcard, hP, rfl⟩

def erdos_831.answer : ℕ → ℝ := sorry

/--
Let $h(n)$ be maximal such that in any $n$ points in $\mathbb{R}^2$ (with no three on a line and
no four on a circle) there are at least $h(n)$ many circles of different radii passing through
three points. Estimate $h(n)$.

Erdős asks this in [Er75h, pp. 2-3] (see also [Er92e]); see also Problems 104 and 506. We read
"estimate" as the order of magnitude `=Θ`. [Er75h] also asks how $h(n)$ changes if one only
assumes that the points are not all on a circle; this is not formalised.
-/
@[category research open, question value, AMS 51 52]
theorem erdos_831 :
    (fun n : ℕ ↦ (h n : ℝ)) =Θ[atTop] erdos_831.answer := by
  sorry

/--
Erdős [Er75h, p. 2] attributes to E. Szekeres the observation that for three points
$x_1,x_2,x_3$ of the plane, not on a line, there is a unique point $x_4$ such that
$x_1,x_2,x_3,x_4$ are not on a circle and the four circles determined by the four triples of these
points have the same radius; one can take $x_4$ to be the orthocentre of the triangle
$x_1x_2x_3$.

Read literally this fails for a right-angled triangle, whose orthocentre is a vertex, so we assume
that the triangle has no right angle. We also require the four points to be in general position,
so that the four circles exist.
-/
@[category research solved, AMS 51 52]
theorem erdos_831.variants.szekeres (x₁ x₂ x₃ : ℝ²)
    (hcol : ¬ Collinear ℝ ({x₁, x₂, x₃} : Set ℝ²)) (hright : ¬ IsRightAngled x₁ x₂ x₃) :
    ∃! x₄ : ℝ², x₄ ∉ ({x₁, x₂, x₃} : Set ℝ²) ∧
      InGeneralPosition ({x₁, x₂, x₃, x₄} : Set ℝ²) ∧
      (circleRadii ({x₁, x₂, x₃, x₄} : Set ℝ²)).ncard = 1 := by
  sorry

end Erdos831

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos831.erdos_831 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_831 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-831
nosorry submit erdos-831 nosorry/erdos-831/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.