Map · 05
combinatorics
MSC 05 · Combinatorics
14,470 declarations (12,022 theorems, 2,448 definitions) across 341 files. 13 of the 81 famous theorems listed for this area are in Mathlib (16%), 18 in some Lean library. 380 open conjectures here are stated in Lean.
Files are assigned to areas by a language model reading each file's documentation. Report a file that is in the wrong area.
Subareas5
- 05A Enumerative combinatorics 7,226
- 05C Graph theory 4,984
- 05B Designs and configurations 1,744
- 05D Extremal combinatorics 402
- 05E Algebraic combinatorics 114
Famous theorems13 of 81
From the 1000+ theorems project, which classifies each theorem by MSC area.
Not yet in Mathlib · 68
In Mathlib · 13
- Binomial theoremadd_pow
- Erdős–Ko–Rado theoremFinset.erdos_ko_rado
- Four functions theoremfour_functions_theorem
- Friendship theoremTheorems100.friendship_theorem
- Hales–Jewett theoremCombinatorics.Line.exists_mono_in_high_dimension
- Hall's marriage theoremFinset.all_card_le_biUnion_card_iff_exists_injective
- Hindman's theoremHindman.FP_partition_regular
- Kruskal–Katona theoremFinset.kruskal_katona
- Multinomial theoremFinset.sum_pow_eq_sum_piAntidiag_of_commute
- Sperner's theoremIsAntichain.sperner
- Turán's theoremSimpleGraph.isTuranMaximal_iff_nonempty_iso_turanGraph
- Tutte theoremSimpleGraph.tutte
From the 100 theorems list5
Open conjectures stated in Lean380
Statements without proofs, collected by the Formal Conjectures project.
Structures defined here24
Typeclasses defined in this area's files, most assumed first.
- Fintype 9,766
- Finite 3,128
- Quiver 610
- Infinite 273
- Finset.HasAntidiagonal 59
- FinEnum 53
- Matroid.InvariantCardinalRank 27
- Matroid.RankFinite 26
- Quiver.HasInvolutiveReverse 25
- Configuration.ProjectivePlane 19
- Finset.HasMulAntidiagonal 19
- Matroid.Finitary 17
- Matroid.RankPos 16
- Quiver.HasReverse 16
- Quiver.Arborescence 15
- Matroid.Finite 14
- Matroid.Loopless 11
- Configuration.HasLines 10
- Matroid.Nonempty 10
- Configuration.HasPoints 9
- Graph.Loopless 9
- Prefunctor.MapReverse 8
- SimpleGraph.TripartiteFromTriangles.NoAccidental 8
- Quiver.RootedConnected 6
Files341
Largest first. The code after each file is its assigned subarea.
- Mathlib.Combinatorics.SimpleGraph.Subgraph
Subgraphs of a simple graph
05C · 276
- Mathlib.Combinatorics.SimpleGraph.Basic
Simple graphs
05C · 246
05B · 226
- Mathlib.Combinatorics.SimpleGraph.Paths
Trail, Path, and Cycle
05C · 221
- Mathlib.Data.Sym.Sym2
The symmetric square
05A · 210
- Mathlib.Data.Fin.Tuple.Basic
Operation on tuples
05A · 206
- Mathlib.Combinatorics.Matroid.Closure
Matroid Closure
05B · 193
- Mathlib.Combinatorics.Matroid.Loop
Matroid loops and coloops
05B · 188
- Mathlib.Combinatorics.SimpleGraph.Clique
Graph cliques
05C · 185
- Mathlib.Combinatorics.SimpleGraph.Maps
Maps between graphs
05C · 179
- Mathlib.Combinatorics.Enumerative.Composition
Compositions
05A · 178
- Mathlib.Combinatorics.SimpleGraph.Walk.Operations
Operations on walks
05C · 176