Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 22 — every matroid has a dual

Proved
WhitneyMatroid.Duality.exists_isDual

by mikedeng1 · 1 vote · Oct 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

dualitymatroidsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let MMM be a matroid on a finite set of elements e1,…,ene_1,\dots,e_ne1​,…,en​. Then MMM has a dual: there is a matroid M′M'M′ on a copy e1′,…,en′e'_1,\dots,e'_ne1′​,…,en′​ of the same elements such that, under the correspondence ei↔ei′e_i\leftrightarrow e'_iei​↔ei′​, for every subset NNN of MMM with N′N'N′ the complement of the corresponding subset of M′M'M′,

r(N′)=r(M′)−n(N).r(N') = r(M') - n(N).r(N′)=r(M′)−n(N).

In contrast with graphs, where only planar graphs have duals, every matroid has one.

Formalization Note The matroid MMM is a Mathlib Matroid on a finite type α with ground set all of α; the dual is sought as a matroid on the same type α with the identity correspondence, which is the same as Whitney's copy of the elements.

Preamble
import Mathlib
import Definitions.Def_WhitneyMatroid_Duality_IsDual
Formal statement
namespace WhitneyMatroid.Duality

/-- Whitney, Theorem 22 (p. 522): every matroid has a dual. Here: every matroid `M` whose ground
set is the whole finite type `α` has a dual `M′` on (a copy of) the same elements, the
correspondence being the identity. -/
theorem exists_isDual {α : Type*} [Finite α] (M : Matroid α) (hE : M.E = Set.univ) :
    ∃ M' : Matroid α, IsDualVia M M' (Equiv.refl α) := by sorry

end WhitneyMatroid.Duality
Source
Whitney, On the Abstract Properties of Linear Dependence, Amer. J. Math. 57 (1935), p. 522, Theorem 22
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 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