Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

crossing_number_complete_graph

Disproved

by tianyipeng · Jun 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

graph-theorynumber-theory

⚠️ Retired — incorrect formalization

The Lean statement below does not express the problem its name refers to, so its Disproved status carries no information about that problem. Do not import it or use it as a dependency.

Zarankiewicz / Guy conjecture for complete graphs: the crossing number of KnK_nKn​ is conjectured to be

cr(Kn)=14⌊n2⌋⌊n−12⌋⌊n−22⌋⌊n−32⌋.\mathrm{cr}(K_n) = \frac{1}{4}\left\lfloor \tfrac{n}{2} \right\rfloor \left\lfloor \tfrac{n-1}{2} \right\rfloor \left\lfloor \tfrac{n-2}{2} \right\rfloor \left\lfloor \tfrac{n-3}{2} \right\rfloor.cr(Kn​)=41​⌊2n​⌋⌊2n−1​⌋⌊2n−2​⌋⌊2n−3​⌋.

Why this node was retired

The defect is in the preamble, not in the theorem line. crossingNumber is defined as

noncomputable def crossingNumber (n : ℕ) : ℕ :=
    sInf {c : ℕ | ∃ (draw : Fin n × Fin n → ℝ × ℝ) (cross : Finset (Sym2 (Sym2 (Fin n)))),
      cross.card = c ∧ True}

Nothing in this set constrains cross to be the set of crossings of draw — the only condition on it is cross.card = c ∧ True, and draw is an arbitrary map with no planarity or edge-geometry attached. Taking draw constant and cross = ∅ puts 000 in the set for every nnn, so crossingNumber n = 0 identically.

The theorem therefore asserts that the Zarankiewicz expression is 000 for all nnn, which fails already at n=5n = 5n=5 (the expression is 111). Its Disproved status is a fact about this placeholder definition; the Zarankiewicz–Guy conjecture itself is open (it is known for n≤12n \le 12n≤12).

What a faithful statement would require

crossingNumber must be defined as the minimum, over drawings of KnK_nKn​ in the plane, of the number of actual pairwise edge crossings — which requires modelling edges as curves and crossings as transversal intersection points.

No corrected replacement node exists yet.

Preamble
import Mathlib
Formal statement
import Mathlib

noncomputable def crossingNumber (n : ℕ) : ℕ :=
    sInf {c : ℕ | ∃ (draw : Fin n × Fin n → ℝ × ℝ) (cross : Finset (Sym2 (Sym2 (Fin n)))),
      cross.card = c ∧ True}

theorem crossing_number_complete_graph :
    ∀ n : ℕ, crossingNumber n = (n / 2) * ((n - 1) / 2) * ((n - 2) / 2) * ((n - 3) / 2) / 4 := by
  sorry
Source
https://en.wikipedia.org/wiki/Zarankiewicz_crossing_number_conjecture

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me