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 582

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:

Does there exist a graph GG which contains no K4K_4, and yet any 22-colouring of the edges produces a monochromatic K3K_3?

Erdős and Hajnal [ErHa67] first asked for the existence of any such graph. Existence was proved by Folkman [Fo70], but with very poor quantitative bounds. (As a result these quantities are often called Folkman numbers.) The current best bounds on the minimal number of vertices NN of such a graph are 21≤N≤78621 \leq N \leq 786, where the lower bound is due to Bikov and Nenov [BiNe20] and the upper bound is due to Lange, Radziszowski, and Xu [LRX14].

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question, formal_proof
Cite as:NS.02509 [math.CO] · NS.02509v1 for this version
Declaration:Erdos582.erdos_582
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:d215ddd3be667cb41deced43ccb0a3ffb5ab6faf7eaaecbbedf3bdbd942aee16
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/582.lean

Formal statement

theorem erdos_582 :
    ∃ (V : Type*) (_ : Fintype V) (G : SimpleGraph V),
      G.CliqueFree 4 ∧ EdgeRamseyTriangle G
Show the full Challenge.lean (83 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 582

*References:*
- [erdosproblems.com/582](https://www.erdosproblems.com/582)
- [Er75b] Erdős, Paul, *Problems and results in combinatorial number theory*. Journées Arithmétiques
  de Bordeaux (Conf., Univ. Bordeaux, Bordeaux, 1974) (1975), 295-310.
- [Er69b] Erdős, P., *Problems and results in chromatic graph theory*. Proof Techniques in Graph
  Theory (Proc. Second Ann Arbor Graph Theory Conf., Ann Arbor, Mich., 1968) (1969), 27-35.
- [Er75d] Erdős, Paul, *Problems and results on finite and infinite graphs*. Recent advances in
  graph theory (Proc. Second Czechoslovak Sympos., Prague, 1974) (1975), 183-192. (loose errata).
- [FrRo86] Frankl, P. and Rödl, V., *Large triangle-free subgraphs in graphs without {$K_4$}*.
  Graphs Combin. (1986), 135-144.
- [Sp88] Spencer, Joel, *Three hundred million points suffice*. J. Combin. Theory Ser. A (1988),
  210-217.
- [Lu07] Lu, Linyuan, *Explicit construction of small Folkman graphs*. SIAM J. Discrete Math.
  (2007), 1053-1060.
- [DuRo08] Dudek, Andrzej and Rödl, Vojtěch, *On the Folkman number {$f(2,3,4)$}*. Experiment.
  Math. (2008), 63-67.
- [RaXu07] Radziszowski, Stanisław P. and Xu, Xiaodong, *On the most wanted Folkman graph*.
  Geombinatorics (2007), 367-381.
- [BiNe20] Bikov, Aleksandar and Nenov, Nedyalko, *On the independence number of
  $(3,3)$-Ramsey graphs and the Folkman number $F_e(3,3;4)$*. Australas. J. Combin.
  (2020), 35-50.
- [ErHa67] Erdős, P. and Hajnal, A., *Research Problem 2.5*. J. Comb. Theory (1967).
- [Fo70] Folkman, Jon, *Graphs with monochromatic complete subgraphs in every edge coloring*.
  SIAM J. Appl. Math. (1970), 19-24.
- [LRX14] Lange, Alexander R. and Radziszowski, Stanisław P. and Xu, Xiaodong, *Use of MAX-CUT
  for Ramsey arrowing of triangles*. J. Combin. Math. Combin. Comput. (2014), 61-71.
-/

@[expose] public section

namespace Erdos582

/--
A graph `G` is *edge-Ramsey for triangles* (in arrow notation, $G \to (K_3, K_3)^e$) if any
$2$-colouring of the edges of `G` produces a monochromatic $K_3$: three pairwise adjacent
vertices whose three connecting edges all receive the same colour.
-/
def EdgeRamseyTriangle {V : Type*} (G : SimpleGraph V) : Prop :=
  ∀ c : G.edgeSet → Fin 2,
    ∃ (u v w : V) (huv : G.Adj u v) (hvw : G.Adj v w) (huw : G.Adj u w),
      c ⟨s(u, v), huv⟩ = c ⟨s(v, w), hvw⟩ ∧ c ⟨s(v, w), hvw⟩ = c ⟨s(u, w), huw⟩

set_option linter.style.formal_proof_palomar false in
/--
Does there exist a graph $G$ which contains no $K_4$, and yet any $2$-colouring of the edges
produces a monochromatic $K_3$?

Erdős and Hajnal [ErHa67] first asked for the existence of any such graph. Existence was proved
by Folkman [Fo70], but with very poor quantitative bounds. (As a result these quantities are
often called Folkman numbers.) The current best bounds on the minimal number of vertices $N$ of
such a graph are $21 \leq N \leq 786$, where the lower bound is due to Bikov and Nenov [BiNe20]
and the upper bound is due to Lange, Radziszowski, and Xu [LRX14].
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/1d7b3f00780b85ed0462e79a1cd5650ee9055655/src/v4.29.1/ErdosProblems/Erdos582.lean"]
theorem erdos_582 :
    ∃ (V : Type*) (_ : Fintype V) (G : SimpleGraph V),
      G.CliqueFree 4 ∧ EdgeRamseyTriangle G := by
  sorry

end Erdos582

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

nosorry fetch erdos-582
nosorry submit erdos-582 nosorry/erdos-582/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.