-
Notifications
You must be signed in to change notification settings - Fork 279
Add Erdős Problem 111 (bipartite edge deletion for uncountable chromatic graphs) #3785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
henrykmichalewski
wants to merge
4
commits into
google-deepmind:main
Choose a base branch
from
henrykmichalewski:add-problem-111
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+144
−0
Open
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
cc778e3
feat(ErdosProblems/111): bipartite edge deletion for uncountable chro…
henrykmichalewski e14a84c
docs(lean): add verbatim Erdős #111 statement to module docstring
henrykmichalewski 8b0c922
fix(ErdosProblems/111): use Tendsto for h_G/n→∞; weaken lower-bound v…
henrykmichalewski 24ca0f9
fix(ErdosProblems/111): use ≥ ℵ_1 in erdos_conjecture variant + clari…
henrykmichalewski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,171 @@ | ||
| /- | ||
| Copyright 2026 The Formal Conjectures Authors. | ||
|
|
||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
|
|
||
| https://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| -/ | ||
|
|
||
| import FormalConjectures.Util.ProblemImports | ||
|
|
||
| /-! | ||
| # Erdős Problem 111 | ||
|
|
||
| **Verbatim statement (Erdős #111, status O):** | ||
| > If $G$ is a graph let $h_G(n)$ be defined such that any subgraph of $G$ on $n$ vertices can be made bipartite after deleting at most $h_G(n)$ edges. What is the behaviour of $h_G(n)$? Is it true that $h_G(n)/n\to \infty$ for every graph $G$ with chromatic number $\aleph_1$? | ||
|
|
||
| **Source:** https://www.erdosproblems.com/111 | ||
|
|
||
| **Notes:** OPEN | ||
|
|
||
|
|
||
| *Reference:* [erdosproblems.com/111](https://www.erdosproblems.com/111) | ||
|
|
||
| *References:* | ||
| - [Er81] Erdős, P., Some combinatorial problems in graph theory. (1981) | ||
| - [EHS82] Erdős, P., Hajnal, A., and Szemerédi, E., On almost bipartite large chromatic graphs. | ||
| Annals of Discrete Math. (1982), 117–123. | ||
| - [Er87] Erdős, P., Problems and results on chromatic numbers in finite and infinite graphs. (1987) | ||
| - [Er90] Erdős, P., Some of my favourite problems in various branches of combinatorics. (1990) | ||
| - [Er97d] Erdős, P., Some problems on elementary geometry. (1997) | ||
| - [Er97f] Erdős, P., Some of my favourite unsolved problems. (1997) | ||
|
|
||
| ## Problem statement | ||
|
|
||
| If $G$ is a graph, let $h_G(n)$ be defined such that any subgraph of $G$ on $n$ vertices can be | ||
| made bipartite after deleting at most $h_G(n)$ edges. | ||
|
|
||
| What is the behaviour of $h_G(n)$? Is it true that $h_G(n)/n \to \infty$ for every graph $G$ | ||
| with chromatic number $\aleph_1$? | ||
|
|
||
| This is a problem of Erdős, Hajnal, and Szemerédi [EHS82]. | ||
|
|
||
| ## Known results | ||
|
|
||
| - **Lower bound**: $h_G(n) \gg n$ — this holds (with $h_G(n)/n \to \infty$) since every graph | ||
| with chromatic number $\geq \aleph_1$ contains $\aleph_1$ many vertex-disjoint odd cycles of | ||
| some fixed length. (Verified in ZFC.) | ||
| - **Upper bound**: Erdős, Hajnal, and Szemerédi [EHS82] constructed a graph $G$ with chromatic | ||
| number $\aleph_1$ for which $h_G(n) \ll n^{3/2}$. | ||
| - **Erdős conjecture**: For every $\varepsilon > 0$, there exists $C(\varepsilon) > 0$ such that | ||
| $h_G(n) \leq C(\varepsilon) \cdot n^{1+\varepsilon}$ for every graph $G$ with chromatic number | ||
| $\geq \aleph_1$ and every $n$. | ||
|
|
||
| ## Formalization notes | ||
|
|
||
| - **`bipartiteDistance G`**: the minimum number of edges to delete from a (finite) simple graph $G$ | ||
| to make it bipartite. Defined as the infimum over all spanning subgraphs $H \leq G$ with | ||
| `H.IsBipartite` of the number of edges in `G.edgeSet \ H.edgeSet`. | ||
|
|
||
| - **`hG G n`**: for a graph $G$ on vertex type $V$, `hG G n` is the supremum over all sets $S$ of | ||
| vertices of cardinality $n$ of `bipartiteDistance (G.induce S)`. This matches the problem's | ||
| formulation: "any subgraph of $G$ on $n$ vertices can be made bipartite after deleting at most | ||
| $h_G(n)$ edges." | ||
|
|
||
| - The main question asks whether `hG G n / n → ∞` for every $G$ with `G.chromaticCardinal = ℵ₁`. | ||
| We formalize this as: the ratio `hG G n / n` is not bounded, i.e., for every $C$, there exists | ||
| $n$ with `hG G n > C * n`. | ||
| -/ | ||
|
|
||
| open Filter Asymptotics Cardinal SimpleGraph Set | ||
|
|
||
| namespace Erdos111 | ||
|
|
||
| /-- The **bipartite distance** of a finite simple graph `G`: the minimum number of edges | ||
| that must be deleted from `G` to make it bipartite. | ||
|
|
||
| Formally, this is the infimum of `Set.ncard (G.edgeSet \ H.edgeSet)` over all spanning | ||
| subgraphs `H ≤ G` (as relations on the same vertex set) such that `H` is bipartite. -/ | ||
| noncomputable def bipartiteDistance {V : Type*} (G : SimpleGraph V) : ℕ := | ||
| sInf {k : ℕ | ∃ H : SimpleGraph V, H ≤ G ∧ H.IsBipartite ∧ | ||
| Set.ncard (G.edgeSet \ H.edgeSet) = k} | ||
|
|
||
| /-- The function $h_G(n)$: for a graph $G$ on vertex type $V$, `hG G n` is the supremum over | ||
| all sets $S \subseteq V$ with $|S| = n$ of the bipartite distance of the induced subgraph on $S$. | ||
|
|
||
| This captures the problem's notion: "any subgraph of $G$ on $n$ vertices can be made bipartite | ||
| after deleting at most $h_G(n)$ edges." -/ | ||
| noncomputable def hG {V : Type*} (G : SimpleGraph V) (n : ℕ) : ℕ := | ||
| sSup {k : ℕ | ∃ S : Set V, S.ncard = n ∧ bipartiteDistance (G.induce S) = k} | ||
|
|
||
| /- ## Main open problem -/ | ||
|
|
||
| /-- | ||
| **Erdős Problem 111** (Erdős, Hajnal, Szemerédi [EHS82]): | ||
|
|
||
| If $G$ is a graph with chromatic number $\aleph_1$, is it true that $h_G(n)/n \to \infty$? | ||
|
|
||
| Formally: for every graph $G$ (on a type $V$) with chromatic cardinal $\aleph_1$, the ratio | ||
| $h_G(n)/n$ is unbounded, i.e., for every constant $C$, there are arbitrarily large $n$ such | ||
| that $h_G(n) > C \cdot n$. | ||
| -/ | ||
| @[category research open, AMS 5] | ||
| theorem erdos_111 : answer(sorry) ↔ | ||
| ∀ (V : Type) (G : SimpleGraph V), G.chromaticCardinal = ℵ_ 1 → | ||
| Filter.Tendsto (fun n : ℕ => (hG G n : ℝ) / n) Filter.atTop Filter.atTop := by | ||
| sorry | ||
|
|
||
| /- ## Variants and known partial results -/ | ||
|
|
||
| /-- | ||
| **Linear lower bound (ZFC, [EHS82])**: Every graph $G$ with chromatic number $\aleph_1$ has | ||
| $h_G(n) \gg n$, i.e. there exists a positive constant $c > 0$ such that for all sufficiently | ||
| large $n$, $h_G(n) \geq c \cdot n$. | ||
|
|
||
| This follows from the fact that every graph with uncountable chromatic number contains | ||
| $\aleph_1$ vertex-disjoint odd cycles of some fixed odd length $\ell$: any induced subgraph | ||
| on $n$ vertices containing $\gg n / \ell$ such cycles requires removing $\gg n$ edges to | ||
| become bipartite. | ||
|
|
||
| This is a *strictly weaker* statement than the headline `erdos_111`, which asks for | ||
| $h_G(n)/n \to \infty$ (i.e., the constant `c` may be made arbitrarily large). The headline | ||
| remains open. | ||
| -/ | ||
| @[category research solved, AMS 5] | ||
| theorem erdos_111.variants.lower_bound : | ||
| ∀ (V : Type) (G : SimpleGraph V), G.chromaticCardinal = ℵ_ 1 → | ||
| ∃ c : ℝ, 0 < c ∧ | ||
| ∀ᶠ n : ℕ in Filter.atTop, c * n ≤ hG G n := by | ||
| sorry | ||
|
|
||
| /-- | ||
| **Upper bound existence (Erdős-Hajnal-Szemerédi [EHS82])**: There exists a graph $G$ with | ||
| chromatic number $\aleph_1$ such that $h_G(n) \ll n^{3/2}$, i.e., there is a constant $C > 0$ | ||
| with $h_G(n) \leq C \cdot n^{3/2}$ for all $n$. | ||
|
|
||
| This shows that Erdős's conjecture (if true) would be essentially tight in its exponent: | ||
| the true exponent lies in $(1, 3/2]$. | ||
| -/ | ||
| @[category research solved, AMS 5] | ||
| theorem erdos_111.variants.upper_bound_existence : | ||
| ∃ (V : Type) (G : SimpleGraph V), G.chromaticCardinal = ℵ_ 1 ∧ | ||
| (fun n : ℕ => (hG G n : ℝ)) =O[atTop] (fun n : ℕ => (n : ℝ) ^ (3 / 2 : ℝ)) := by | ||
| sorry | ||
|
|
||
| /-- | ||
| **Erdős conjecture (stronger upper bound)**: For every graph $G$ with chromatic number $\aleph_1$ | ||
| and every $\varepsilon > 0$, the function $h_G(n)$ satisfies $h_G(n) \ll_\varepsilon n^{1+\varepsilon}$. | ||
|
|
||
| That is, for every $\varepsilon > 0$ there exists $C(\varepsilon) > 0$ such that for every graph | ||
| $G$ with $\chi(G) = \aleph_1$, we have $h_G(n) \leq C(\varepsilon) \cdot n^{1 + \varepsilon}$ | ||
| for all $n$. | ||
|
|
||
| This conjecture (if true) would mean that $h_G(n)$ grows only barely super-linearly. | ||
| -/ | ||
| @[category research open, AMS 5] | ||
| theorem erdos_111.variants.erdos_conjecture : answer(sorry) ↔ | ||
| ∀ (ε : ℝ), 0 < ε → | ||
| ∃ C : ℝ, 0 < C ∧ | ||
| ∀ (V : Type) (G : SimpleGraph V), G.chromaticCardinal = ℵ_ 1 → | ||
| ∀ n : ℕ, (hG G n : ℝ) ≤ C * (n : ℝ) ^ (1 + ε) := by | ||
| sorry | ||
|
|
||
| end Erdos111 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this lower-bound variant meant to be the same assertion as the main open question? It appears to have essentially the same conclusion as
erdos_111but is marked solved. Could you either weaken it to the known theorem you want to record, or keep it open/omit it if the intended statement is exactly the conjecture?