Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Integer inverse of a network basis matrix

Proved
LinearOptimization.network_basis_inverse_integer

by Harry_Xu · Aug 6, 2026 · Mathlib c5ea003 (Lean v4.30.0)

integralitylinear-programmingnetwork-flow

Let a directed network have n+1n+1n+1 vertices and mmm arcs. Delete one row from its node–arc incidence matrix, and select any nnn linearly independent columns to form a square basis matrix BBB. Then every entry of the inverse is integral:

∀i,j,(B−1)ij∈Z.\forall i,j,\quad (B^{-1})_{ij}\in\mathbb Z.∀i,j,(B−1)ij​∈Z.

This is the algebraic integrality property behind integer primal and dual basic solutions in network-flow linear programs.

Formalization Note The selected columns are represented by an embedding and linear independence is expressed by IsStdBasis.

Preamble
import Definitions.Def_LinearOptimization_NetworkFlowProblem
import Definitions.Def_BasicSolution
import Mathlib.LinearAlgebra.Matrix.NonsingularInverse

open Matrix

open LinearOptimization
Formal statement
theorem LinearOptimization.network_basis_inverse_integer {n m : ℕ}
    (arcs : Fin m → Fin (n + 1) × Fin (n + 1))
    (B : Fin n ↪ Fin m)
    (hB : IsStdBasis (truncatedIncidence arcs) B) :
    ∀ i j, ∃ z : ℤ,
      (basisMatrix (truncatedIncidence arcs) B)⁻¹ i j = (z : ℝ) := by sorry
Source
Dimitris Bertsimas and John N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, p. 289, Theorem 7.5(a). https://pdfcoffee.com/introduction-to-linear-optimization-by-dimitris-john-n-tsitsiklis-pdf-free.html

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