Finite Farkas lemma and finite LP strong duality #
Built on fg_cone_isClosed (Weyl, in FgConeClosed.lean) and Mathlib's convex-cone
hyperplane separation:
LeanPool.Erdos81PaperIContrib.farkas_ge— finite Farkas lemma (inequality form).LeanPool.Erdos81PaperIContrib.covering_packing_duality— finite LP duality (covering/packing form): a maximum packing is attained and its value equals the covering infimum.
These stay over EuclideanSpace ℝ ι (a finite-dimensional real inner-product space),
the natural setting for the ProperCone/inner-dual separation used here.
The Farkas and LP conclusions overlap the pooled Duality project's more general
inequalityFarkas_neg and StandardLP.strongDuality results. This module gives a self-contained
specialization built directly from the finitely generated cone closedness theorem in
FgConeClosed.lean.
A real vector viewed in EuclideanSpace ℝ ι by its coordinates.
Equations
- LeanPool.Erdos81PaperIContrib.toE f = (WithLp.equiv 2 (ι → ℝ)).symm f
Instances For
Finite Farkas lemma (inequality form). If the primal system x ≥ 0, N x ≥ c is
infeasible, then there is a Farkas certificate y ≥ 0 with Nᵀ y ≤ 0 and ⟨c, y⟩ > 0.
Finite LP duality (covering/packing). For a nonnegative incidence matrix A with
nonnegative capacities r, in which every column has a positive entry, there is a maximum
packing w whose unit-objective value equals the infimum cost of nonnegative coverings with
unit demand. This conclusion does not assert that the covering infimum is attained.