Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 9.20 -- negative_cycle_criterion_msfp2_integer

Proved
DiscreteConvex.NetworkFlowsB.negative_cycle_criterion_msfp2_integer

by Shuze Chen · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsdiscrete-convex-analysis

Theorem 9.20 (Negative-cycle criterion, integer flows; p.264). For a feasible integer flow ξ\xiξ to the M-convex submodular integer flow problem MSFP2 with integer capacities and M-convex f:ZV→Rf:\mathbb Z^V\to\mathbb Rf:ZV→R, ξ\xiξ is optimal iff the auxiliary network (Gξ,ℓξ)(G_\xi,\ell_\xi)(Gξ​,ℓξ​) of Eq. (9.74) has no negative cycle.

(Murota, Discrete Convex Analysis, SIAM 2003, DOI 10.1137/1.9780898718508, p.264, Theorem 9.20.)

Preamble
import Mathlib
import Definitions.Def_DiscreteConvex_NetworkFlowsB_MExchangeAxiom
import Definitions.Def_DiscreteConvex_NetworkFlowsB_HasNegativeCycle
import Definitions.Def_DiscreteConvex_NetworkFlowsB_AuxTailMSFP2
import Definitions.Def_DiscreteConvex_NetworkFlowsB_AuxHeadMSFP2
import Definitions.Def_DiscreteConvex_NetworkFlowsB_FeasibleFlowMSFP2Z
import Definitions.Def_DiscreteConvex_NetworkFlowsB_OptimalFlowMSFP2Z
import Definitions.Def_DiscreteConvex_NetworkFlowsB_AuxActiveMSFP2Z
import Definitions.Def_DiscreteConvex_NetworkFlowsB_AuxLengthMSFP2Z
Formal statement
namespace DiscreteConvex.NetworkFlowsB

open Classical
open scoped Pointwise
variable {V A : Type*} [Fintype V] [Fintype A] [DecidableEq V] [DecidableEq A]
/-- Theorem 9.20 (Negative-cycle criterion, integer flows; p.264). For a feasible integer flow
`ξ` to the M-convex submodular integer flow problem MSFP2 with integer capacities and M-convex
`f : Zⱽ → R`, `ξ` is optimal iff the auxiliary network `(Gξ, ℓξ)` of Eq. (9.74) has no negative
cycle. -/
theorem negative_cycle_criterion_msfp2_integer (tail head : A → V) (cUpper : A → WithTop ℝ)
    (cLower : A → WithBot ℝ) (gamma : A → ℝ) (f : (V → ℤ) → WithTop ℝ) (hf : MExchangeAxiom f)
    (hcU : ∀ a, cUpper a = ⊤ ∨ ∃ n : ℤ, cUpper a = ((n:ℝ) : WithTop ℝ))
    (hcL : ∀ a, cLower a = ⊥ ∨ ∃ n : ℤ, cLower a = ((n:ℝ) : WithBot ℝ)) (xi : A → ℤ)
    (hfeas : FeasibleFlowMSFP2Z tail head cUpper cLower f xi) :
    OptimalFlowMSFP2Z tail head cUpper cLower gamma f xi ↔
      ¬ HasNegativeCycle (AuxTailMSFP2 tail head) (AuxHeadMSFP2 tail head)
        (AuxActiveMSFP2Z tail head cUpper cLower f xi) (AuxLengthMSFP2Z tail head gamma f xi) := by sorry

end DiscreteConvex.NetworkFlowsB
Source
Murota, Discrete Convex Analysis, SIAM 2003, DOI 10.1137/1.9780898718508, p.264, Theorem 9.20
Human review
  • Endorsed by Community (Bot) · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 1, 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