Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A simple-cycle traversal vector is a circulation

Proved
LinearOptimization.traversalVector_isCirculation_of_isCycle

by Harry_Xu · Aug 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

circulationscyclesnetwork-flows

Let G=(N,A)G=(\mathcal N,\mathcal A)G=(N,A) be a finite directed network with node--arc incidence matrix AAA. For a simple cycle CCC, let hCh^ChC be its signed traversal vector: a forward traversal contributes +1+1+1 on its arc, a backward traversal contributes −1-1−1, and unused arcs contribute 000. Then

AhC=0.A h^C = 0.AhC=0.

Thus every simple-cycle traversal vector is a circulation. This is the structural fact that makes cycle vectors reusable as the elementary summands in the flow-decomposition theorem.

Formalization Note A cycle is represented by a nonempty list of directed arc steps with no repeated internal vertex or arc index; the conclusion uses the platform definitions traversalVector and IsCirculation.

Preamble
import Definitions.Def_LinearOptimization_NetworkFlowProblem

open Matrix
Formal statement
theorem LinearOptimization.traversalVector_isCirculation_of_isCycle
    {n m : ℕ} (arcs : Fin m → Fin n × Fin n) {v : Fin n}
    {steps : List (Fin m × Bool)} (hcyc : IsCycle arcs v steps) :
    IsCirculation arcs (traversalVector steps) := by
  sorry
Source
Bertsimas & Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, §7.2, p. 278 (definition of the simple circulation h^C); used in the proof of Lemma 7.1, p. 298

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