Lemma 1 — every linear function is maximized over by a branching vector
ProvedOptimumBranchings.Polytope.lemma_1Let be a directed graph (finite, parallel edges allowed, no loops) and let be arbitrary real edge weights. Then there is a branching of whose incidence vector lies in and maximizes the linear function over :
Together with the definition of a vertex this gives the inclusion "vertices branching vectors" of Theorem 2, and it shows that the optimum branching problem is solved by the linear program over .
import Mathlib import Definitions.Def_OptimumBranchings_Polytope_Graph import Definitions.Def_OptimumBranchings_Polytope_BranchingPolyhedron
namespace OptimumBranchings.Polytope
/-- Edmonds (1967), Lemma 1, p. 236: every linear function `∑ c_e x_e` is maximized in `P_G` by
the vector of some branching in `G`. -/
theorem lemma_1 {V E : Type*} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
(G : Graph V E) (c : E → ℝ) :
∃ B : Finset E, G.IsBranching B ∧ incidenceVector B ∈ branchingPolyhedron G ∧
∀ x ∈ branchingPolyhedron G, ∑ e, c e * x e ≤ ∑ e, c e * incidenceVector B e := by sorry
end OptimumBranchings.Polytope
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. and are finite types with decidable equality. is any graph on them: each edge has a front and a rear , and these two nodes differ. are arbitrary real weights.
Claim. There exists a finite edge set such that all three of the following hold:
-
is a branching:
- no nonempty has every node an end of exactly or exactly edges of ;
- no two distinct edges of share a front.
-
, where is the incidence vector of . Here is the set of real vectors indexed by that satisfy:
- for every edge ;
- for every node ;
- for every node set with .
-
maximizes the linear function over : every satisfies
The statement does not claim the maximizer is unique.
Degenerate cases.
- empty: and the claim holds trivially.
- All weights : the choice satisfies the inequality, because every is nonnegative. The statement does not specify which is meant.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.