Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3 — with no medium and no inaccessible point, S∪NS \cup NS∪N, WWW and V0V_0V0​ are optimal

Proved
BergeMatching.Core.lemma_3

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

graph-theoryindependent-setmatchingp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1vertex-cover

Let G=(X,U)G = (X, U)G=(X,U) be a finite simple graph with a matching V0V_0V0​, neutral points NNN, and classes III (inaccessible), WWW (weak), SSS (strong) and MMM (medium) defined by the arrows of Gˉ\bar GGˉ. Assume that aˉ\bar aaˉ is inaccessible (no arrow is directed to aˉ\bar aaˉ) and

M=∅,I=∅.M = \emptyset, \qquad I = \emptyset .M=∅,I=∅.

Then:

  1. S∪NS \cup NS∪N is a maximum internally stable set of GGG;
  2. WWW is a minimum cover of GGG;
  3. V0V_0V0​ is a maximum matching of GGG.

Here "maximum" and "minimum" refer to the number of elements. Lemma 3 settles the case of Theorem 1 in which no vertex is medium or inaccessible.

Formalization Note The medium class, written MMM in the paper, is IsMedium in Lean, since M names the matching. "aˉ\bar aaˉ is inaccessible" is read as "no arrow is directed to aˉ\bar aaˉ".

Preamble
import Mathlib
import Definitions.Def_BergeMatching_Core_AlternatingChain
import Definitions.Def_BergeMatching_Core_Arrows
Formal statement
namespace BergeMatching.Core

/-- Berge (1957), p. 843, Lemma 3: if `ā` is inaccessible, `M = ∅` (no medium point) and
`I = ∅` (no inaccessible point), then `S ∪ N` is a maximum internally stable set, `W` is a
minimum cover, and `V₀` is a maximum matching. -/
theorem lemma_3 {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj]
    (M : G.Subgraph) (hM : M.IsMatching) (h : AbarInaccessible G M)
    (hMed : {x : V | IsMedium G M x} = ∅) (hI : {x : V | IsInaccessible G M x} = ∅) :
    IsMaximumIndepSet G ({x : V | IsStrongPt G M x} ∪ {x : V | IsNeutral M x}) ∧
      IsMinimumVertexCover G {x : V | IsWeakPt G M x} ∧
      IsMaximumMatching M := by sorry

end BergeMatching.Core
Source
Berge, Two theorems in graph theory, Proc. Natl. Acad. Sci. USA 43 (1957), p. 843, Lemma 3
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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me