Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated

Lean proof of the full rainbow odd-cycle threshold


The target is Erdos809.Statement, in the module Erdos.Library.Problem809.Statement: for every fixed k≥3k\ge3, the least number of colors on an nn-vertex graph with at least ⌊n2/4⌋+1\lfloor n^2/4\rfloor+1 edges under which every copy of the cycle C2k+1C_{2k+1} is rainbow is asymptotically equivalent to n2/8n^2/8. Copies are Mathlib's SimpleGraph.Copy of SimpleGraph.cycleGraph, so chords in the host graph are allowed, and the asymptotic is Mathlib's ~[atTop]. Its proof is statement_proved. The seven-cycle branch uses the six proof notes and works with the exact-edge seven-cycle formulation of its statement module. The higher-cycle branch is a Lean reconstruction of the argument of Bucić, Chen and Ma, Theorem 1.2 (arXiv:2603.18952v1, Sections 2 and 4) for every k≥4k\ge4, consuming only its statement as the target; the library card records the paper at claims-checked depth, and this reconstruction is author-recorded, not independently accepted source-proof coverage. The bridge module identifies the indexed-cycle formulation the proofs use with the graph-copy formulation of the statement, and the comparison module identifies the exact-edge seven-cycle formulation with the at-least-edge one.

The development is the corpus's port of the author's standalone project, https://github.com/plasma-ai/erdos-809 at commit ed2155f of 25 September 2026 (UTC), whose Lean files are unchanged through its commit of 8 October 2026. The port has 194 modules under Erdos.Library.Problem809, the seven-cycle chain under SevenCycle/, the Bucić–Chen–Ma modules under BucicChenMa/, the upper-bound construction under UpperBound/, and the statement, main-term, threshold-arithmetic, bridge, comparison and assembly modules at the top, with module paths re-rooted and the author's Erdos809 namespaces kept so that a later sync differs only in import lines (two modules declare into an Erdos809.NearBipartite namespace). The corpus pins an older Mathlib than the project: one moved Mathlib import keeps its earlier name, which the pin keeps as a deprecated alias, and three proof steps keep the form the pin accepts. A MathlibCompat module declares nothing; it gathers the Mathlib imports for the graph, walk, set and extended-natural lemmas that eleven of the modules use. The project's publication files, the Mathlib-only Challenge.lean with its deliberate sorry among them, are retained under evidence/assets/publication/ and are not built here. The modules use targeted Mathlib imports and contain no incomplete proofs. The corpus manifest lists the claim L17, whose module Erdos.L17 restates the result in erdosproblems.com's exact-edge form over graph copies and proves it from statement_proved; the full build and the universal native audit pass. The independent whole-statement fidelity audit, its grade and a non-author clean gate are filed on the claim page, so the claim stands at tier 2 (on the second-cycle review and grade of 2026-10-02 and the non-author clean gate of 2026-10-13, as the claim page states) and the problem page records the question as proved.