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 735

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Given any nn points in R2\mathbb{R}^2 when can one give positive weights to the points such that the sum of the weights of the points along every line containing at least two points is the same?

This is a problem of Murty [Er81], who conjectured that this is only possible in one of four cases: all points on a line, no three points on a line, n−1n-1 points on a line, and a triangle, the angle bisectors, and the incentre (or a projective equivalent). Ackerman, Buchin, Knauer, Pinchasi and Rote [ABKPR08] proved this conjecture. Conversely, every set in these four cases is magic.

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

Formal statement

theorem erdos_735 : {S : Finset ℝ² | IsMagic S} = erdos_735.answer
Show the full Challenge.lean (97 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 735

*References:*
- [erdosproblems.com/735](https://www.erdosproblems.com/735)
- [Er81] Erdős, P., *On the combinatorial problems which I would most like to see solved*.
  Combinatorica 1 (1981), 25-42. [PDF](https://www.renyi.hu/~p_erdos/1981-16.pdf)
- [ABKPR08] Ackerman, E., Buchin, K., Knauer, C., Pinchasi, R. and Rote, G., *There are not too
  many magic configurations*. Discrete Comput. Geom. 39 (2008), 3-16.
  [DOI](https://doi.org/10.1007/s00454-007-9023-0)
-/

@[expose] public section

open EuclideanGeometry

namespace Erdos735

open scoped Classical in
/-- A finite set `S` of points of the plane is *magic* if one can give positive weights to the
points of `S` such that the sum of the weights of the points of `S` on every line containing at
least two points of `S` is the same number `c`. A line containing at least two points of `S` is
`line[ℝ, p, q]` for some distinct `p q ∈ S`. If `S` has at most one point there is no such line,
so `S` is magic. Rescaling the weights, `c` can be normalised to `1` when `S` has two points or
more, which is the definition in [ABKPR08]. -/
def IsMagic (S : Finset ℝ²) : Prop :=
  ∃ (w : ℝ² → ℝ) (c : ℝ), (∀ p ∈ S, 0 < w p) ∧
    ∀ p ∈ S, ∀ q ∈ S, p ≠ q → ∑ r ∈ S with r ∈ line[ℝ, p, q], w r = c

/-- A set with at most one point is magic: there is no line to check. -/
@[category API, AMS 52]
theorem isMagic_of_card_le_one {S : Finset ℝ²} (h : S.card ≤ 1) : IsMagic S :=
  ⟨fun _ => 1, 0, fun _ _ => one_pos,
    fun p hp q hq hpq => absurd (Finset.card_le_one.mp h p hp q hq) hpq⟩

/-- `S` is a *failed Fano configuration*: it consists of four points `a b c d`, no three on a
line, together with the three diagonal points `e = ab ∩ cd`, `f = ac ∩ bd`, `g = ad ∩ bc` of the
complete quadrangle `abcd`. This is the Fano plane with one line removed: the diagonal points are
not collinear in the real plane. The three diagonal points must exist in the plane, that is, the
opposite sides of the quadrangle must not be parallel. Such an `S` has seven points. These are
exactly the projective images of the configuration in Figure 1 of [ABKPR08] that lie in the plane.
Murty's configuration [Er81], "a triangle the angle bisectors and the incentre", is read as the
triangle `abc`, its incentre `d` and the feet `e f g` of the angle bisectors on the opposite
sides. -/
def IsFailedFano (S : Finset ℝ²) : Prop :=
  ∃ a b c d e f g : ℝ²,
    ¬ Collinear ℝ {a, b, c} ∧ ¬ Collinear ℝ {a, b, d} ∧
    ¬ Collinear ℝ {a, c, d} ∧ ¬ Collinear ℝ {b, c, d} ∧
    e ∈ line[ℝ, a, b] ∧ e ∈ line[ℝ, c, d] ∧
    f ∈ line[ℝ, a, c] ∧ f ∈ line[ℝ, b, d] ∧
    g ∈ line[ℝ, a, d] ∧ g ∈ line[ℝ, b, c] ∧
    (S : Set ℝ²) = {a, b, c, d, e, f, g}

/-- The finite sets of points of the plane that can be given positive weights as in the problem:
all points on a line, no three points on a line, all points but one on a line, or a failed Fano
configuration. The cases overlap for small sets. -/
def erdos_735.answer : Set (Finset ℝ²) :=
  {S | Collinear ℝ (S : Set ℝ²) ∨ (∃ p ∈ S, Collinear ℝ ((S : Set ℝ²) \ {p})) ∨
    NonTrilinear (S : Set ℝ²) ∨ IsFailedFano S}

set_option linter.style.formal_proof_palomar false in
/--
Given any $n$ points in $\mathbb{R}^2$ when can one give positive weights to the points such that
the sum of the weights of the points along every line containing at least two points is the same?

This is a problem of Murty [Er81], who conjectured that this is only possible in one of
four cases: all points on a line, no three points on a line, $n-1$ points on a line, and a
triangle, the angle bisectors, and the incentre (or a projective equivalent). Ackerman, Buchin,
Knauer, Pinchasi and Rote [ABKPR08] proved this conjecture. Conversely, every set in these four
cases is magic.
-/
@[category research solved, question value, AMS 51 52, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos735/Final.lean#L54"]
theorem erdos_735 : {S : Finset ℝ² | IsMagic S} = erdos_735.answer := by
  sorry

end Erdos735

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

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

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.