Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 29, p. 19 — series composition: n ≤ n₁ + n₂ breakpoints

Proved
ThinFlowSP.Breakpoints.lemma_29

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

breakpointsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1series-parallelthin-flows

Let G1′G'_1G1′​ and G2′G'_2G2′​ be two-terminal directed acyclic multigraphs and G′=G1′∗G2′G' = G'_1 * G'_2G′=G1′​∗G2′​ their series composition (the sink of G1′G'_1G1′​ glued to the source of G2′G'_2G2′​). Let A∗⊆A′A^* \subseteq A'A∗⊆A′ be resetting arcs and ν∈R>0A′\nu \in \mathbb R^{A'}_{>0}ν∈R>0A′​ capacities on G′G'G′; each part Gi′G'_iGi′​ carries A∗∩Ai′A^* \cap A'_iA∗∩Ai′​ and the restriction of ν\nuν. If ϱG′\varrho^{G'}ϱG′, ϱG1′\varrho^{G'_1}ϱG1′​, ϱG2′\varrho^{G'_2}ϱG2′​ are the label functions of G′G'G′, G1′G'_1G1′​, G2′G'_2G2′​ and n,n1,n2n, n_1, n_2n,n1​,n2​ their numbers of breakpoints, then

n≤n1+n2.n \le n_1 + n_2 .n≤n1​+n2​.

This is the series step of the structural induction proving Theorem 31.

Formalization Note Numbers of breakpoints are counted with Set.encard in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}, so the statement is meaningful before finiteness is known. The page's "Gi′:=G′[Vi]G'_i := G'[V_i]Gi′​:=G′[Vi​]" with A∗A^*A∗ left implicit is rendered by building G′G'G′ from the parts and restricting A∗A^*A∗ and ν\nuν to each part. A label function is any function with the defining property of ϱG′\varrho^{G'}ϱG′ (label 1 at sss); by Corollary 15 it agrees with ϱG′\varrho^{G'}ϱG′ on [0,∞)[0,\infty)[0,∞), and breakpoints only see (0,∞)(0,\infty)(0,∞).

Preamble
import Mathlib
import Definitions.Def_ThinFlowSP_Breakpoints_Model
Formal statement
namespace ThinFlowSP.Breakpoints

theorem lemma_29 (G₁ G₂ : Net) (h₁ : IsTwoTerminalDAG G₁) (h₂ : IsTwoTerminalDAG G₂)
    (Astar : Finset (G₁.A ⊕ G₂.A)) (ν : G₁.A ⊕ G₂.A → ℝ) (hν : ∀ a, 0 < ν a)
    (ρ : ℝ → (G₁.series G₂).V → ℝ) (ρ₁ : ℝ → G₁.V → ℝ) (ρ₂ : ℝ → G₂.V → ℝ)
    (hρ : IsLabelFunction (G₁.series G₂) Astar ν ρ)
    (hρ₁ : IsLabelFunction G₁ Astar.toLeft (fun a => ν (Sum.inl a)) ρ₁)
    (hρ₂ : IsLabelFunction G₂ Astar.toRight (fun a => ν (Sum.inr a)) ρ₂) :
    (breakpoints ρ).encard ≤ (breakpoints ρ₁).encard + (breakpoints ρ₂).encard := by sorry

end ThinFlowSP.Breakpoints
Source
Kaiser, Computation of Dynamic Equilibria in Series-Parallel Networks, arXiv:2002.11428v2, p. 19, Lemma 29
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 22, 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