Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2 — vertices of at least the end's tenacity are BFS honest

Proved
MVBlossoms.theorem_2

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

alternating-pathsblossomsgraph-theorymatchingmicali-vaziranip2o-gran-per-chapterp2o-plan-paperp2o-v1

Let ppp be an even level(vvv) or odd level(vvv) path starting at an unmatched vertex fff, and let uuu be a vertex of ppp with tenacity(u)≥tenacity(v)\mathrm{tenacity}(u)\ge\mathrm{tenacity}(v)tenacity(u)≥tenacity(v). Then uuu is BFS honest on ppp: the part p[f to u]p[f\text{ to }u]p[f to u] of ppp is a shortest alternating path to uuu of its parity. Moreover, if tenacity(u)>tenacity(v)\mathrm{tenacity}(u)>\mathrm{tenacity}(v)tenacity(u)>tenacity(v), then

∣p[f to u]∣=min level(u).|p[f\text{ to }u]|=\mathrm{min\ level}(u).∣p[f to u]∣=min level(u).

This "limited BFS honesty" is the substitute, in general graphs, for the BFS honesty of every vertex that holds in bipartite graphs.

Formalization Note Throughout, G=(V,E)G=(V,E)G=(V,E) is a finite simple graph and MMM a matching of GGG; levels and tenacities take values in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}. The section's standing assumption tm<lmt_m<l_mtm​<lm​ (p.2018: "Henceforth, we will assume that tm<lmt_m<l_mtm​<lm​") is a hypothesis.

Differences from the source:

  • encoding: levels, tenacities and l_m equal ∞ when no path exists (Definitions 3, 4) → values in ℕ∞, defined as infima (⊤ for an empty family); reason: Lean convention; same instances
Preamble
import Mathlib
import Definitions.Def_MVBlossoms_IsEvenLevelPath
import Definitions.Def_MVBlossoms_IsOddLevelPath
import Definitions.Def_MVBlossoms_minLevel
import Definitions.Def_MVBlossoms_tenacity
import Definitions.Def_MVBlossoms_lm
import Definitions.Def_MVBlossoms_tm
import Definitions.Def_MVBlossoms_IsBFSHonest
Formal statement
namespace MVBlossoms

/-- **Theorem 2.** Vazirani, *A Theory of Alternating Paths and Blossoms from the Perspective of Minimum Length*,
Math. Oper. Res. 49(3) (2024), Theorem 2, p.2027: "Let p be an even level(v) or odd level(v) path
starting at unmatched vertex f, and let vertex u ∈ p with tenacity(u) ≥ tenacity(v). Then, u is
BFS honest on p. Furthermore, if tenacity(u) > tenacity(v), then |p[f to u]| = min level(u)."

**Formalization Note.** `V` is finite (`Fintype`), `G` is a simple graph and `M` a matching (`hM`); levels and
tenacities are in `ℕ∞` (definitions `evenLevel`, `oddLevel`, `tenacity`, `edgeTenacity`). The paper's standing assumption `t_m < l_m` ("Henceforth, we will assume that tm<lm",
p.2018; restated on p.2027) is the hypothesis `hstd`. `|p[f to u]|` is `(p.takeUntil u hu).length`. -/
theorem theorem_2 {V : Type} [Fintype V] [DecidableEq V] {G : SimpleGraph V} (M : G.Subgraph)
    (hM : M.IsMatching) (hstd : tm M < lm M)
    {f v : V} (p : G.Walk f v) (hp : IsEvenLevelPath M p ∨ IsOddLevelPath M p)
    (u : V) (hu : u ∈ p.support) (hten : tenacity M v ≤ tenacity M u) :
    IsBFSHonest M p u hu ∧
      (tenacity M v < tenacity M u → ((p.takeUntil u hu).length : ℕ∞) = minLevel M u) := by sorry

end MVBlossoms
Source
Vazirani, A Theory of Alternating Paths and Blossoms from the Perspective of Minimum Length, Math. Oper. Res. 49(3) (2024), Theorem 2, p.2027
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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