Title:Erdős Problem 1105
2 results recorded on aiXiv
- solves The anti-Ramsey number of cycles satisfies . This follows from the exact formula of Montellano-Ballesteros and Neumann-Lara (2005). — aiXiv:2609.02573, 2026-02-01 · claimed by its authors; no independent check recorded on aiXiv
- solves For and , , with for odd and for even. This was announced by Yuan (2021); Simonovits and Sós (1984) had proved it for . — aiXiv:2609.02573, 2026-02-01 · claimed by its authors; no independent check recorded on aiXiv
From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.
Statement:The anti-Ramsey number is the maximum possible number of colours in which the edges of can be coloured without creating a rainbow copy of (i.e. one in which all edges have different colours).
Let be the cycle on vertices. Is it true that ?
Montellano-Ballesteros and Neumann-Lara [MoNe05] gave an exact formula for , which implies in particular that
| Subjects: | Combinatorics (math.CO) |
| MSC classes: | 05 |
| Tags: | question, formal_proof |
| Cite as: | NS.00682 [math.CO] · NS.00682v1 for this version |
| Declaration: | Erdos1105.erdos_1105.parts.i |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 2cb04aa34664709147fea9a077add5463e973c3426d4aec83e1858dde6bbde8e |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/1105.lean |
Formal statement
theorem erdos_1105.parts.i :
∀ k, 3 ≤ k →
((fun n => (antiRamseyNum (cycleGraph k) n : ℝ) - ((k - 2 : ℝ) / 2 + 1 / (k - 1)) * n)
=O[atTop] (fun _ => (1 : ℝ)))Show the full Challenge.lean (85 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 1105
*References:*
- [erdosproblems.com/1105](https://www.erdosproblems.com/1105)
- [PALOMAR-2026-10-13-000006](https://palomar-registry.org/entry.html?id=PALOMAR-2026-10-13-000006&version=1)
- [ESS75] Erdős, P. and Simonovits, M. and Sós, V. T., Anti-{R}amsey theorems. (1975), 633--643.
- [MoNe05] Montellano-Ballesteros, J. J. and Neumann-Lara, V., An anti-{R}amsey theorem on cycles.
Graphs Combin. (2005), 343--354.
- [SiSo84] Simonovits, Miklós and Sós, Vera T., On restricted colourings of {$K_n$}. Combinatorica
(1984), 101--110.
- [Yu21] L.-T. Yuan, The anti-Ramsey number for paths. arXiv:2102.00807 (2021).
-/
@[expose] public section
namespace Erdos1105
open SimpleGraph Asymptotics Filter
set_option linter.style.formal_proof_palomar false in
/--
The anti-Ramsey number $\mathrm{AR}(n,G)$ is the maximum possible number of colours in which the
edges of $K_n$ can be coloured without creating a rainbow copy of $G$ (i.e. one in which all edges
have different colours).
Let $C_k$ be the cycle on $k$ vertices. Is it true that
$\mathrm{AR}(n,C_k)=\left(\frac{k-2}{2}+\frac{1}{k-1}\right)n+O(1)$?
Montellano-Ballesteros and Neumann-Lara [MoNe05] gave an exact formula for $\mathrm{AR}(n,C_k)$,
which implies in particular that
$\mathrm{AR}(n,C_k)=\left(\frac{k-2}{2}+\frac{1}{k-1}\right)n+O(1).$
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
"https://github.com/linrock/math-proofs/blob/ba96303b34a95ac458958c1eb0bbdee54733484a/erdos-1105/Solution.lean#L72"]
theorem erdos_1105.parts.i :
∀ k, 3 ≤ k →
((fun n => (antiRamseyNum (cycleGraph k) n : ℝ) - ((k - 2 : ℝ) / 2 + 1 / (k - 1)) * n)
=O[atTop] (fun _ => (1 : ℝ))) := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
Let $P_k$ be the path on $k$ vertices and $\ell=\lfloor\frac{k-1}{2}\rfloor$. If $n\geq k\geq 5$
then is $\mathrm{AR}(n,P_k)$ equal to $\max\left(\binom{k-2}{2}+1,
\binom{\ell-1}{2}+(\ell-1)(n-\ell+1)+\epsilon\right)$where $\epsilon=1$ if $k$ is odd and
$\epsilon=2$ otherwise?
A proof of the formula for $\mathrm{AR}(n,P_k)$ for all $n\geq k\geq 5$ has been announced by
Yuan [Yu21].
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
"https://github.com/linrock/math-proofs/blob/ba96303b34a95ac458958c1eb0bbdee54733484a/erdos-1105/Solution.lean#L79"]
theorem erdos_1105.parts.ii :
∀ (k n : ℕ), 5 ≤ k → k ≤ n →
let ℓ := (k - 1) / 2
let ε := if Odd k then 1 else 2
antiRamseyNum (pathGraph k) n = max ((k - 2).choose 2 + 1) ((ℓ - 1).choose 2 +
(ℓ - 1) * (n - ℓ + 1) + ε) := by
sorry
-- TODO: Add Erdős, Simonovits, and Sós variant.
-- TODO: Add Simonovits and Sós variant.
end Erdos1105
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos1105.erdos_1105.parts.i with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_i : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-1105 nosorry submit erdos-1105 nosorry/erdos-1105/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-1105-parts-ii — known result
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.