|
| 1 | +/- |
| 2 | +Copyright 2026 The Formal Conjectures Authors. |
| 3 | +
|
| 4 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +you may not use this file except in compliance with the License. |
| 6 | +You may obtain a copy of the License at |
| 7 | +
|
| 8 | + https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +
|
| 10 | +Unless required by applicable law or agreed to in writing, software |
| 11 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +See the License for the specific language governing permissions and |
| 14 | +limitations under the License. |
| 15 | +-/ |
| 16 | + |
| 17 | +import FormalConjectures.Util.ProblemImports |
| 18 | + |
| 19 | +/-! |
| 20 | +# Erdős Problem 617 |
| 21 | +
|
| 22 | +*References:* |
| 23 | +- [erdosproblems.com/617](https://www.erdosproblems.com/617) |
| 24 | +- [ErGy99] Erdős, Paul and Gyárfás, András, Split and balanced colorings of complete graphs. |
| 25 | + Discrete Math. (1999), 79-86. |
| 26 | +-/ |
| 27 | + |
| 28 | +namespace Erdos617 |
| 29 | + |
| 30 | +/-- |
| 31 | +Let $r\geq 3$. If the edges of $K_{r^2+1}$ are $r$-coloured then there exist $r+1$ vertices with at |
| 32 | +least one colour missing on the edges of the induced $K_{r+1}$. |
| 33 | +
|
| 34 | +In other words, there is no balanced colouring. |
| 35 | +
|
| 36 | +A conjecture of Erdős and Gyárfás [ErGy99]. |
| 37 | +-/ |
| 38 | +@[category research open, AMS 5] |
| 39 | +theorem erdos_617 (r : ℕ) (hr : r ≥ 3) {V : Type} [Fintype V] [DecidableEq V] |
| 40 | + (hV : Fintype.card V = r^2 + 1) (coloring : Sym2 V → Fin r) : |
| 41 | + ∃ (S : Finset V) (k : Fin r), |
| 42 | + S.card = r + 1 ∧ |
| 43 | + ∀ u ∈ S, ∀ v ∈ S, u ≠ v → coloring s(u, v) ≠ k := by |
| 44 | + sorry |
| 45 | + |
| 46 | +/-- |
| 47 | +Erdős and Gyárfás [ErGy99] proved the conjecture for $r=3$. |
| 48 | +-/ |
| 49 | +@[category research solved, AMS 5] |
| 50 | +theorem erdos_617.variant.r_eq_3 (r : ℕ) (hr : r ≥ 3) {V : Type} [Fintype V] [DecidableEq V] |
| 51 | + (hV : Fintype.card V = 3^2 + 1) (coloring : Sym2 V → Fin 3) : |
| 52 | + ∃ (S : Finset V) (k : Fin 3), |
| 53 | + S.card = 3 + 1 ∧ |
| 54 | + ∀ u ∈ S, ∀ v ∈ S, u ≠ v → coloring s(u, v) ≠ k := by |
| 55 | + sorry |
| 56 | + |
| 57 | +/-- |
| 58 | +Erdős and Gyárfás [ErGy99] proved the conjecture for $r=4$. |
| 59 | +-/ |
| 60 | +@[category research solved, AMS 5] |
| 61 | +theorem erdos_617.variant.r_eq_4 (r : ℕ) (hr : r ≥ 3) {V : Type} [Fintype V] [DecidableEq V] |
| 62 | + (hV : Fintype.card V = 4^2 + 1) (coloring : Sym2 V → Fin 4) : |
| 63 | + ∃ (S : Finset V) (k : Fin 4), |
| 64 | + S.card = 4 + 1 ∧ |
| 65 | + ∀ u ∈ S, ∀ v ∈ S, u ≠ v → coloring s(u, v) ≠ k := by |
| 66 | + sorry |
| 67 | + |
| 68 | +/-- |
| 69 | +Erdős and Gyárfás [ErGy99] showed this property fails for infinitely many $r$ if we replace $r^2+1$ |
| 70 | +by $r^2$. |
| 71 | +-/ |
| 72 | +@[category research solved, AMS 5] |
| 73 | +theorem erdos_617.variant.r2 : |
| 74 | + {r : ℕ | ∃ (V : Type) (_ : Fintype V) (_ : DecidableEq V), Fintype.card V = r^2 ∧ |
| 75 | + ∃ (coloring : Sym2 V → Fin r), |
| 76 | + ∀ (S : Finset V), S.card = r + 1 → |
| 77 | + ∀ (k : Fin r), ∃ u ∈ S, ∃ v ∈ S, u ≠ v ∧ coloring s(u, v) = k}.Infinite := by |
| 78 | + sorry |
| 79 | + |
| 80 | +end Erdos617 |
0 commit comments