Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

5.6, proof, first paragraph, p. 463 — weak duality: |M| ≤ capacity-sum of any odd-set cover

Proved
PathsTreesFlowers.Duality.weak_duality

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

matchingodd-set-coverp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1weak-duality

Let GGG be a finite graph, MMM a matching of GGG and S\mathcal SS an odd-set cover of GGG. Then

∣M∣≤cap⁡(S)=∑U∈Scap⁡(U).|M| \le \operatorname{cap}(\mathcal S) = \sum_{U \in \mathcal S} \operatorname{cap}(U).∣M∣≤cap(S)=U∈S∑​cap(U).

This is the easy half of the matching-duality theorem: the capacity-sum of any odd-set cover is at least the cardinality of any matching, so equality certifies that both are optimal.

Preamble
import Mathlib
import Definitions.Def_EdmondsMatching65_Polyhedron_Graph
import Definitions.Def_PathsTreesFlowers_Duality_OddSetCover
Formal statement
namespace PathsTreesFlowers.Duality

theorem weak_duality {V E : Type} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : EdmondsMatching65.Polyhedron.Graph V E)
    (M : Finset E) (S : Finset (Finset V))
    (hM : EdmondsMatching65.Polyhedron.IsMatching G M) (hS : IsOddSetCover G S) :
    M.card ≤ capacitySum S := by sorry

end PathsTreesFlowers.Duality
Source
Edmonds, Paths, trees, and flowers, Canad. J. Math. 17 (1965), p. 463, 5.6, proof, first paragraph
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me