Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§1, p. 36 — after the Preliminaries each row and column contains a zero, and this never changes

Proved
MunkresAlg.Assignment.every_line_has_zero

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

assignment-probleminvariantp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let AAA be a real n×nn\times nn×n matrix and let sss be any state reachable by Munkres' algorithm from AAA (including the start states), with current matrix B=(bij)B=(b_{ij})B=(bij​). Then every row and every column of BBB contains a zero:

∀i ∃j: bij=0,∀j ∃i: bij=0.\forall i\ \exists j:\ b_{ij}=0, \qquad \forall j\ \exists i:\ b_{ij}=0 .∀i ∃j: bij​=0,∀j ∃i: bij​=0.

The paper uses this fact in its operation count; it holds after the Preliminaries and is preserved by the Step 3 transformation.

Preamble
import Mathlib
import Definitions.Def_MunkresAlg_Assignment_Basic
import Definitions.Def_MunkresAlg_Assignment_Algorithm
Formal statement
namespace MunkresAlg.Assignment

/-- §1, p. 36: after the Preliminaries each row and each column of the matrix contains at least
one zero, and this never changes. -/
theorem every_line_has_zero {n : ℕ} (A : Matrix (Fin n) (Fin n) ℝ) (s : State n)
    (hs : Reachable A s) :
    (∀ i, ∃ j, s.A i j = 0) ∧ (∀ j, ∃ i, s.A i j = 0) := by sorry

end MunkresAlg.Assignment
Source
Munkres, Algorithms for the assignment and transportation problems, J. SIAM 5 (1957), p. 36, §1
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