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 173 · variants.right_triangle

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:

Shader [Sh76] proved that in any 22-colouring of R2\mathbb{R}^2, every right-angled triangle has a monochromatic congruent copy.

Subjects:Combinatorics (math.CO); Metric Geometry (math.MG)
MSC classes:05, 51
Cite as:NS.01200 [math.CO] · NS.01200v1 for this version
Declaration:Erdos173.erdos_173.variants.right_triangle
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:87b9142de2081f1488828ed32be8f13a4f523fdb033806081698f60ebd28c036
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/173.lean

Formal statement

theorem erdos_173.variants.right_triangle (c : ℝ² → Fin 2) (T : Triangle ℝ ℝ²)
    (hT : ∠ (T.points 0) (T.points 1) (T.points 2) = Real.pi / 2) :
    HasMonochromaticCopy c T
Show the full Challenge.lean (79 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 173

*References:*
- [erdosproblems.com/173](https://www.erdosproblems.com/173)
- [Sh76] Shader, L. E., *All right triangles are Ramsey in $E^2$!*. J. Combin. Theory Ser. A
  (1976), 385-389.
-/

@[expose] public section

open Affine
open scoped Congruent EuclideanGeometry

namespace Erdos173

/--
The colouring `c` contains a monochromatic triangle congruent to `T`.

Since `T'` is arbitrary, relabellings and reflections of `T` are allowed. Rescaling is not.
-/
def HasMonochromaticCopy (c : ℝ² → Fin 2) (T : Triangle ℝ ℝ²) : Prop :=
  ∃ T' : Triangle ℝ ℝ², (T'.points ≅ T.points) ∧ ∃ i, ∀ j, c (T'.points j) = i

/--
In any $2$-colouring of $\mathbb{R}^2$, for all but at most one triangle $T$ (up to
congruence), there is a monochromatic congruent copy of $T$.

The colouring is arbitrary. No measurability is assumed. `≅` compares vertices with the same
label, so the conclusion allows a relabelling `σ`.
-/
@[category research open, question, AMS 5 51]
theorem erdos_173 : ∀ (c : ℝ² → Fin 2) (T₁ T₂ : Triangle ℝ ℝ²),
    ¬ HasMonochromaticCopy c T₁ → ¬ HasMonochromaticCopy c T₂ →
      ∃ σ : Equiv.Perm (Fin 3), T₁.points ∘ σ ≅ T₂.points := by
  sorry

/--
Shader [Sh76] proved that in any $2$-colouring of $\mathbb{R}^2$, every right-angled triangle
has a monochromatic congruent copy.
-/
@[category research solved, AMS 5 51]
theorem erdos_173.variants.right_triangle (c : ℝ² → Fin 2) (T : Triangle ℝ ℝ²)
    (hT : ∠ (T.points 0) (T.points 1) (T.points 2) = Real.pi / 2) :
    HasMonochromaticCopy c T := by
  sorry

/--
The exceptional triangle can exist: colouring the plane in alternating half-open strips of
suitable width gives no monochromatic copy of some equilateral triangle.
-/
@[category research solved, AMS 5 51]
theorem erdos_173.variants.equilateral_exception : ∃ (c : ℝ² → Fin 2) (T : Triangle ℝ ℝ²),
    dist (T.points 0) (T.points 1) = dist (T.points 1) (T.points 2) ∧
    dist (T.points 1) (T.points 2) = dist (T.points 2) (T.points 0) ∧
    ¬ HasMonochromaticCopy c T := by
  sorry

end Erdos173

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

nosorry desk erdos-173--erdos-173-variants-right-triangle      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-173--erdos-173-variants-right-triangle
nosorry submit erdos-173--erdos-173-variants-right-triangle nosorry/erdos-173--erdos-173-variants-right-triangle/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.