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 1105

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: claimed solved — Claimed proved in aiXiv:2609.02573 (2026-02-01); no independent check recorded on aiXiv. · erdosproblems.com: proved (a claim recorded elsewhere, not verified on nosorry)
2 results recorded on aiXiv
  1. solves The anti-Ramsey number of cycles satisfies AR(n,Ck)=(k−22+1k−1)n+O(1)\mathrm{AR}(n,C_k)=\left(\frac{k-2}{2}+\frac{1}{k-1}\right)n+O(1). 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
  2. solves For n≥k≥5n\ge k\ge 5 and ℓ=⌊(k−1)/2⌋\ell=\lfloor (k-1)/2\rfloor, AR(n,Pk)=max⁡((k−22)+1,(ℓ−12)+(ℓ−1)(n−ℓ+1)+ϵ)\mathrm{AR}(n,P_k)=\max\left(\binom{k-2}{2}+1,\binom{\ell-1}{2}+(\ell-1)(n-\ell+1)+\epsilon\right), with ϵ=1\epsilon=1 for kk odd and ϵ=2\epsilon=2 for kk even. This was announced by Yuan (2021); Simonovits and Sós (1984) had proved it for n≥ck2n\ge ck^2. — 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 AR(n,G)\mathrm{AR}(n,G) is the maximum possible number of colours in which the edges of KnK_n can be coloured without creating a rainbow copy of GG (i.e. one in which all edges have different colours).

Let CkC_k be the cycle on kk vertices. Is it true that AR(n,Ck)=(k−22+1k−1)n+O(1)\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 AR(n,Ck)\mathrm{AR}(n,C_k), which implies in particular that AR(n,Ck)=(k−22+1k−1)n+O(1).\mathrm{AR}(n,C_k)=\left(\frac{k-2}{2}+\frac{1}{k-1}\right)n+O(1).

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.

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.