Add Erdős Problem 595 (K₄-free graph not union of triangle-free, $250 prize)#3775
Conversation
…e-free ($250 prize) Adds formalization of Erdős Problem 595 (Erdős-Hajnal, $250 prize). Reference: https://www.erdosproblems.com/595 Asks whether there exists a K₄-free graph of chromatic number ℵ₁ which cannot be written as a countable union of triangle-free subgraphs. Includes IsCountableUnionOfTriangleFree definition, Folkman/Nešetřil-Rödl finite version, 4 proved lemmas, and edge-colouring reformulation. Assisted by Claude (Anthropic).
|
Closes #814 |
mo271
left a comment
There was a problem hiding this comment.
Thanks! Looks good to me and mathemtically correct, just some small suggestions...
|
CLA bot is not happy -- should be fixed by rewriting history, removing authors that have not signed the CLA by amending the commit(s)... |
…e_colouring - Update copyright year to 2026 - Remove duplicate docstring on IsCountableUnionOfTriangleFree def - Update reformulation_edge_colouring docstring to reference c : G.edgeSet → ℕ - Change attribute to @[category test, AMS 5] - Prove reformulation_edge_colouring using EdgeLabeling.iSup_labelGraph and Sym2.ind Assisted by Claude (Anthropic).
9887014 to
bbb368b
Compare
Mirrors the Round C docstring pass from the private repo's phase1-infrastructure branch. Each Lean file now carries the canonical source statement and upstream URL inline so reviewers can verify formalization against the source without navigating away from the diff.
Paul-Lez
left a comment
There was a problem hiding this comment.
Note: some of the attribute infrastructure has changed, so you'll want to merge main and fix things. Apart from that I think this is ready to merge!
| **Proof**: If `G = ⨆ i, G_i` with each `G_i` triangle-free, then `H = ⨆ i, H ⊓ G_i`. | ||
| Each `H ⊓ G_i` is triangle-free because it is a subgraph of `G_i`. | ||
| -/ | ||
| @[category undergraduate, AMS 5] |
There was a problem hiding this comment.
nit: Looks like this file still uses @[category undergraduate] for a few auxiliary/supporting lemmas. This now no longer works on main - the new version of this is textbook.
… textbook] Per Paul-Lez review on PR google-deepmind#3775. The 'undergraduate' category was renamed to 'textbook' on upstream/main in google-deepmind#3900. This commit, on top of the just-merged upstream/main, applies the rename to the four supporting-lemma decorators in this file. Builds cleanly: lake build FormalConjectures.ErdosProblems.«595»
Head branch was pushed to by a user without write access
mo271
left a comment
There was a problem hiding this comment.
LGTM up to some docstring changes, see suggested changes (some of which are the same as made before in the initial review)
| a positive answer. | ||
|
|
||
| **Open question:** Whether the *infinite* version holds — i.e., whether a single graph can | ||
| simultaneously be $K_4$-free and not expressible as a countable union of triangle-free graphs. |
There was a problem hiding this comment.
| simultaneously be $K_4$-free and not expressible as a countable union of triangle-free graphs. |
Let's not duplicate the docstrings in the module header
| **Formalization:** We ask for the existence of an infinite type `V` (witnessed by `[Infinite V]`) | ||
| and a `SimpleGraph V` that is $K_4$-free (`G.CliqueFree 4`) but not a countable union of | ||
| triangle-free graphs. | ||
|
|
||
| **Prize:** \$250 (see erdosproblems.com/595). | ||
|
|
||
| **Status:** OPEN. | ||
|
|
||
| **Known (Folkman [Fo70], Nešetřil–Rödl [NeRo75]):** For every finite `n ≥ 1`, there exists a | ||
| graph (even a finite one) that is $K_4$-free but not a union of `n` triangle-free graphs. This | ||
| is the variant `erdos_595.variants.folkman_finite`. However, whether `n` can be replaced by | ||
| `ℵ₀` (countably infinite) is the content of this open problem. |
There was a problem hiding this comment.
| **Formalization:** We ask for the existence of an infinite type `V` (witnessed by `[Infinite V]`) | |
| and a `SimpleGraph V` that is $K_4$-free (`G.CliqueFree 4`) but not a countable union of | |
| triangle-free graphs. | |
| **Prize:** \$250 (see erdosproblems.com/595). | |
| **Status:** OPEN. | |
| **Known (Folkman [Fo70], Nešetřil–Rödl [NeRo75]):** For every finite `n ≥ 1`, there exists a | |
| graph (even a finite one) that is $K_4$-free but not a union of `n` triangle-free graphs. This | |
| is the variant `erdos_595.variants.folkman_finite`. However, whether `n` can be replaced by | |
| `ℵ₀` (countably infinite) is the content of this open problem. |
| **Verbatim statement (Erdős #595, status O):** | ||
| > Is there an infinite graph $G$ which contains no $K_4$ and is not the union of countably many triangle-free graphs? | ||
|
|
||
| **Source:** https://www.erdosproblems.com/595 | ||
|
|
||
| **Notes:** OPEN - $250 | ||
|
|
||
|
|
There was a problem hiding this comment.
| **Verbatim statement (Erdős #595, status O):** | |
| > Is there an infinite graph $G$ which contains no $K_4$ and is not the union of countably many triangle-free graphs? | |
| **Source:** https://www.erdosproblems.com/595 | |
| **Notes:** OPEN - $250 |
| *Reference:* [erdosproblems.com/595](https://www.erdosproblems.com/595) | ||
|
|
||
| *References for known results:* |
There was a problem hiding this comment.
| *Reference:* [erdosproblems.com/595](https://www.erdosproblems.com/595) | |
| *References for known results:* | |
| *References:* | |
| - [erdosproblems.com/595](https://www.erdosproblems.com/595) |
| ## Overview | ||
|
|
||
| **Problem (Erdős–Hajnal, $250)**: Is there an infinite graph $G$ which contains no $K_4$ | ||
| and is not the union of countably many triangle-free graphs? | ||
|
|
||
| The "union of countably many triangle-free graphs" condition means that the edge set of $G$ | ||
| can be covered by countably many subgraphs, each of which is triangle-free (i.e., $K_3$-free). | ||
|
|
||
| **Known (finite case):** Folkman [Fo70] and Nešetřil–Rödl [NeRo75] proved independently that | ||
| for every $n \geq 1$ there exists a graph $G$ (which may be taken finite) that contains no $K_4$ | ||
| and whose edges cannot be coloured with $n$ colours such that each colour class is triangle-free. | ||
| This means the *finite* version of the problem (with $n$ colours instead of countably many) has | ||
| a positive answer. | ||
|
|
||
| **Open question:** Whether the *infinite* version holds — i.e., whether a single graph can | ||
| simultaneously be $K_4$-free and not expressible as a countable union of triangle-free graphs. | ||
|
|
||
| See also [596] for the more general problem of which pairs $(G_1, G_2)$ exhibit this phenomenon. | ||
|
|
There was a problem hiding this comment.
| ## Overview | |
| **Problem (Erdős–Hajnal, $250)**: Is there an infinite graph $G$ which contains no $K_4$ | |
| and is not the union of countably many triangle-free graphs? | |
| The "union of countably many triangle-free graphs" condition means that the edge set of $G$ | |
| can be covered by countably many subgraphs, each of which is triangle-free (i.e., $K_3$-free). | |
| **Known (finite case):** Folkman [Fo70] and Nešetřil–Rödl [NeRo75] proved independently that | |
| for every $n \geq 1$ there exists a graph $G$ (which may be taken finite) that contains no $K_4$ | |
| and whose edges cannot be coloured with $n$ colours such that each colour class is triangle-free. | |
| This means the *finite* version of the problem (with $n$ colours instead of countably many) has | |
| a positive answer. | |
| **Open question:** Whether the *infinite* version holds — i.e., whether a single graph can | |
| simultaneously be $K_4$-free and not expressible as a countable union of triangle-free graphs. | |
| See also [596] for the more general problem of which pairs $(G_1, G_2)$ exhibit this phenomenon. | |
| ## Overview | |
Let's not repeat the docstrings here (if we have the docstring only once there will be less work to keep them in sync when we change something...)
| **Erdős Problem 595 ($250)**: Is there an infinite graph $G$ which contains no $K_4$ and is | ||
| not the union of countably many triangle-free graphs? | ||
|
|
||
| A problem of Erdős and Hajnal [Er87]. | ||
|
|
||
| **Formalization:** We ask for the existence of an infinite type `V` (witnessed by `[Infinite V]`) | ||
| and a `SimpleGraph V` that is $K_4$-free (`G.CliqueFree 4`) but not a countable union of | ||
| triangle-free graphs. | ||
|
|
||
| **Prize:** \$250 (see erdosproblems.com/595). | ||
|
|
||
| **Status:** OPEN. | ||
|
|
||
| **Known (Folkman [Fo70], Nešetřil–Rödl [NeRo75]):** For every finite `n ≥ 1`, there exists a | ||
| graph (even a finite one) that is $K_4$-free but not a union of `n` triangle-free graphs. This | ||
| is the variant `erdos_595.variants.folkman_finite`. However, whether `n` can be replaced by | ||
| `ℵ₀` (countably infinite) is the content of this open problem. |
There was a problem hiding this comment.
| **Erdős Problem 595 ($250)**: Is there an infinite graph $G$ which contains no $K_4$ and is | |
| not the union of countably many triangle-free graphs? | |
| A problem of Erdős and Hajnal [Er87]. | |
| **Formalization:** We ask for the existence of an infinite type `V` (witnessed by `[Infinite V]`) | |
| and a `SimpleGraph V` that is $K_4$-free (`G.CliqueFree 4`) but not a countable union of | |
| triangle-free graphs. | |
| **Prize:** \$250 (see erdosproblems.com/595). | |
| **Status:** OPEN. | |
| **Known (Folkman [Fo70], Nešetřil–Rödl [NeRo75]):** For every finite `n ≥ 1`, there exists a | |
| graph (even a finite one) that is $K_4$-free but not a union of `n` triangle-free graphs. This | |
| is the variant `erdos_595.variants.folkman_finite`. However, whether `n` can be replaced by | |
| `ℵ₀` (countably infinite) is the content of this open problem. | |
| **Erdős Problem 595 ($250)**: Is there an infinite graph $G$ which contains no $K_4$ and is | |
| not the union of countably many triangle-free graphs? | |
| A problem of Erdős and Hajnal [Er87]. |
The price is mentioned also above, the formalisation note doesn't really ad anything
- Collapse the two reference blocks into a single *References:* block in the module docstring. - Drop the duplicated verbatim problem statement and the bloated Overview / Formalization-note sections from the module header. - Trim the Erdős Problem 595 theorem docstring to the short form mo271 suggested (problem statement + Erdős–Hajnal attribution), removing the Status/Prize/Formalization paragraphs already captured by the @[category research open] attribute and the verbatim quote in the docstring.
|
Applied mo271's docstring-convention review pass in
Build: |
… prize) (google-deepmind#3775) fixes google-deepmind#814 ## Problem Erdős Problem 595: https://www.erdosproblems.com/595 ($250 prize) > Does there exist a K₄-free graph of chromatic number ℵ₁ which cannot be written as a countable union of triangle-free subgraphs? ## Contents - IsCountableUnionOfTriangleFree definition for SimpleGraph - Main open theorem `erdos_595` - Folkman/Nešetřil-Rödl finite version variant - Edge-colouring reformulation - 4 fully proved lemmas (empty graph is countable union, triangle-free implies countable union, finite clique-free graphs, monotonicity) Assisted by Claude (Anthropic). --------- Co-authored-by: Paul Lezeau <lezeau@google.com>
fixes #814
Problem
Erdős Problem 595: https://www.erdosproblems.com/595 ($250 prize)
Contents
erdos_595Assisted by Claude (Anthropic).