Will Lean mathlib have a definition of planar graphs before the end of the year?
15
230Ṁ1873
resolved Dec 31
Resolved
NO

Planar graphs are surprisingly difficult to formalize. The textbook definition (can be drawn on a plane) is easy to understand, but in code that explodes into a mess of coordinate geometry.

Georges Gonthier, in his proof of the four-color theorem, used a structure called combinatorial hypermaps to encode planar graphs. This approach seems most promising. Before proposing that to mathlib, it would be nice to check that it's suitable for all planar graph theorems, not just four-color.

Resolves YES if mathlib has a definition of planar graph. The code must be on the master branch. Alternative definitions of graphs (like hypermaps) are allowed, as long as there is an embedding from SimpleGraph that preserves planarity.

Get
Ṁ1,000
to start trading!

🏅 Top traders

#NameTotal profit
1Ṁ52
2Ṁ37
3Ṁ31
4Ṁ28
5Ṁ25
© Manifold Markets, Inc.TermsPrivacy