Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4 — a component of the inaccessible points has only weak, undirected edges leaving it

Proved
BergeMatching.Core.lemma_4

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

graph-theorymatchingp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let G=(X,U)G = (X, U)G=(X,U) be a finite simple graph with a matching V0V_0V0​, and let III be the set of inaccessible points (non-neutral vertices at which no edge carries an arrow of Gˉ\bar GGˉ). Let ZZZ be the vertex set of a connected component of the subgraph of GGG induced on III. If aˉ\bar aaˉ is inaccessible (no arrow is directed to aˉ\bar aaˉ), then:

  1. every edge zwzwzw with z∈Zz \in Zz∈Z and w∉Zw \notin Zw∈/Z is weak and carries no arrow in either direction;
  2. every vertex w∉Zw \notin Zw∈/Z joined to ZZZ by an edge is a weak point;
∣Z∣≥2.|Z| \ge 2 .∣Z∣≥2.

In Berge's proof of Theorem 1, Lemma 4 is what allows a component of III to be shrunk to a single neutral vertex.

Formalization Note "Edges adjacent to ZZZ" is read as edges with exactly one endpoint in ZZZ: the strong edge at a vertex of ZZZ joins it to another vertex of ZZZ, so edges with both endpoints in ZZZ cannot all be weak. "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 4: let `Z` be a connected component of the subgraph induced
on the inaccessible points `I`; if `ā` is inaccessible, every edge with exactly one endpoint in
`Z` is weak and carries no arrow, every vertex outside `Z` joined to `Z` by an edge is a weak
point, and `|Z| ≥ 2`. -/
theorem lemma_4 {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj]
    (M : G.Subgraph) (hM : M.IsMatching) (h : AbarInaccessible G M)
    (Z : (G.induce {x : V | IsInaccessible G M x}).ConnectedComponent) :
    (∀ z ∈ Subtype.val '' Z.supp, ∀ w : V, w ∉ Subtype.val '' Z.supp → G.Adj z w →
        s(z, w) ∉ M.edgeSet ∧ ¬ Arrow G M (some z) (some w) ∧ ¬ Arrow G M (some w) (some z) ∧
          IsWeakPt G M w) ∧
      2 ≤ (Subtype.val '' Z.supp).ncard := by sorry

end BergeMatching.Core
Source
Berge, Two theorems in graph theory, Proc. Natl. Acad. Sci. USA 43 (1957), p. 843, Lemma 4
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