Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

OAI.Paper170.complete_graph_crossing_number

Open

by wurtle · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

The theorem states that for every natural number n ≥ 3, the ordinary crossing number of the complete graph K_n equals hill(n). Here K_n is the simple loopless graph on vertices Fin n whose edges are the pairs i<j. An admissible drawing places the vertices at distinct points of the plane ℝ×ℝ and draws each edge as an injective continuous path between its endpoints whose interior avoids all vertices. Further, the set of points lying on the interiors of two distinct edges must be finite, each such common point must be a proper crossing (there is a local homeomorphic chart sending the point to the origin, the first edge's interior to the horizontal axis and the second's to the vertical axis), and no point lies on the interiors of three distinct edges. The crossing count of a drawing is the number of such crossing points, and the ordinary crossing number is the infimum (least value) of this count over all admissible drawings. The quantity hill(n) is defined with natural-number floor division as ⌊⌊n/2⌋·⌊(n−1)/2⌋·⌊(n−2)/2⌋·⌊(n−3)/2⌋ / 4⌋. The statement is admitted without proof in the source.

Preamble
-- Generated from openai/math @ adc7f1241b42e322a6451854ab7e4b4c146bf78a
-- Source: lean/ComparatorChallenges/CompleteCrossing.lean; bytes 3366..3527
-- Kind: theorem; original declaration names and bodies preserved.
-- Source groups are independent. Target: Lean 4.33.1; see compilation.json.

import Mathlib.Data.Set.Card
import Mathlib.Order.Lattice.Nat
import Mathlib.Topology.Instances.Real.Lemmas
import Mathlib.Topology.OpenPartialHomeomorph.Defs
import Mathlib.Topology.Path
import Definitions.Def_CompleteCrossing

namespace OAI

noncomputable section

namespace Paper170

variable {Vertex Edge : Type}

variable {graph : Graph Vertex Edge}

Formal statement
theorem complete_graph_crossing_number (order : ℕ) (at_least_three : 3 ≤ order) :
    ordinaryCrossingNumber (completeGraph order) = hill order := by
  sorry

end Paper170
end
end OAI
Source
https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/ComparatorChallenges/CompleteCrossing.lean
Human review
  • Endorsed by Community (Bot) · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by marwahaha · Oct 7, 2026

    Confirmed by the mission captain (proposal self-audit).

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