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 1174 · top_not_cliqueFree_four

Source:Erdős Problems
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

The complete graph on N\mathbb{N} is not K4K_4-free, so it is not a candidate for part (i).

Subjects:Combinatorics (math.CO)
MSC classes:05
Cite as:NS.00872 [math.CO] · NS.00872v1 for this version
Declaration:Erdos1174.top_not_cliqueFree_four
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:c76448eba15b791ffd93f71611d2c50d7d2bef615b84634782cab4dcba61cb9d
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1174.lean

Formal statement

theorem top_not_cliqueFree_four : ¬ (⊤ : SimpleGraph ℕ).CliqueFree 4
Show the full Challenge.lean (110 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1174

*References:*
- [erdosproblems.com/1174](https://www.erdosproblems.com/1174)
- [Va99] Various, *Some of Paul's favorite problems*. Booklet produced for the conference
  "Paul Erdős and his mathematics", Budapest, July 1999 (1999), problem 7.91.
-/

@[expose] public section

open Cardinal
open scoped Cardinal

namespace Erdos1174

/--
**Erdős Problem 1174, part (i)** [Va99, 7.91]. A problem of Erdős and Hajnal:
does there exist a graph $G$ with no $K_4$ such that every edge colouring of $G$
with countably many colours contains a monochromatic $K_3$?

For simplicity the colourings are given on all unordered pairs $\operatorname{Sym}_2(V)$;
only the values on the edges of $G$ matter, since a monochromatic triangle is witnessed by
edges alone.

Shelah proved that a graph with this property can consistently exist, so the
problem is not disprovable in ZFC; whether such a graph exists outright remains open.
-/
@[category research open, question, AMS 3 5]
theorem erdos_1174.parts.i :
    ∃ (V : Type) (G : SimpleGraph V), G.CliqueFree 4 ∧
      ∀ c : Sym2 V → ℕ, ∃ x y z : V,
        G.Adj x y ∧ G.Adj y z ∧ G.Adj x z ∧
        c s(x, y) = c s(y, z) ∧ c s(y, z) = c s(x, z) := by
  sorry

/--
**Erdős Problem 1174, part (ii)** [Va99, 7.91]. A problem of Erdős and Hajnal:
does there exist a graph $G$ with no $K_{\aleph_1}$ (that is, every clique of $G$
is countable) such that every edge colouring of $G$ with countably many colours
contains a monochromatic $K_{\aleph_0}$ (an infinite clique all of whose edges
receive the same colour)?

For simplicity the colourings are given on all unordered pairs $\operatorname{Sym}_2(V)$;
only the values on the edges of $G$ matter.

Shelah proved that a graph with this property can consistently exist, so the
problem is not disprovable in ZFC; whether such a graph exists outright remains open.
-/
@[category research open, question, AMS 3 5]
theorem erdos_1174.parts.ii :
    ∃ (V : Type) (G : SimpleGraph V),
      (∀ S : Set V, G.IsClique S → #S ≤ ℵ₀) ∧
      ∀ c : Sym2 V → ℕ, ∃ S : Set V, G.IsClique S ∧ S.Infinite ∧
        ∃ k : ℕ, ∀ x ∈ S, ∀ y ∈ S, x ≠ y → c s(x, y) = k := by
  sorry

/-
**Shelah's consistency result.** Shelah proved that a graph with either property —
a $K_4$-free graph forcing a monochromatic $K_3$ in every countable edge colouring,
or a $K_{\aleph_1}$-free graph forcing a monochromatic $K_{\aleph_0}$ — can
*consistently* exist (i.e. in some model of ZFC). Hence neither question above can
be answered negatively in ZFC: the problem is "not disprovable". Formalizing the
consistency statement itself is out of scope here, since it cannot be stated in
plain ZFC (cf. the prose remark on Larson's MA result in Erdős Problem 601).
-/

/- ### Sanity checks -/

/-- The complete graph on $\mathbb{N}$ is *not* $K_4$-free, so it is not a candidate
for part (i). -/
@[category test, AMS 5]
theorem top_not_cliqueFree_four : ¬ (⊤ : SimpleGraph ℕ).CliqueFree 4 :=
  SimpleGraph.IsContained.not_cliqueFree
    ⟨SimpleGraph.Embedding.toCopy (⟨Fin.valEmbedding, by simp [Fin.val_injective.ne_iff]⟩ :
      SimpleGraph.completeGraph (Fin 4) ↪g (⊤ : SimpleGraph ℕ))⟩

/-- The empty graph on $\mathbb{N}$ is trivially $K_4$-free but fails the colouring
property of part (i): it has no triangles at all, so the $K_4$-free condition alone
is not enough. -/
@[category test, AMS 5]
theorem bot_fails_colouring_property :
    ¬ ∀ c : Sym2 ℕ → ℕ, ∃ x y z : ℕ,
        (⊥ : SimpleGraph ℕ).Adj x y ∧ (⊥ : SimpleGraph ℕ).Adj y z ∧
        (⊥ : SimpleGraph ℕ).Adj x z ∧
        c s(x, y) = c s(y, z) ∧ c s(y, z) = c s(x, z) := by
  simp

end Erdos1174

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

nosorry desk erdos-1174--top-not-cliquefree-four      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-1174--top-not-cliquefree-four
nosorry submit erdos-1174--top-not-cliquefree-four nosorry/erdos-1174--top-not-cliquefree-four/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.