Weak duality
Lax109476.WeakDuality · concepts/Lax109476/WeakDuality.lean · lax-109476
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Every primal feasible point and dual feasible point satisfy
Thus a dual feasible point certifies an upper bound on the primal optimum. If their objective values agree, both are optimal.
Concept map
Lean source view on GitHub
| 1 | import Lax109476.LinearProgram |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Weak duality |
| 6 | type: theorem |
| 7 | --- |
| 8 | Every primal feasible point and dual feasible point satisfy |
| 9 | |
| 10 | Thus a dual feasible point certifies an upper bound on the primal optimum. |
| 11 | If their objective values agree, both are optimal. |
| 12 | |
| 13 | # Formalization notes |
| 14 | |
| 15 | The statement uses arbitrary real coefficient data and does not require |
| 16 | either feasible set to be bounded. The proof is finite sum rearrangement |
| 17 | and multiplication of inequalities by nonnegative coordinates. |
| 18 | -/ |
| 19 | |
| 20 | namespace Lax109476.WeakDuality |
| 21 | |
| 22 | open Lax109476.LinearProgram |
| 23 | |
| 24 | /-- Every primal objective is bounded by every dual objective. -/ |
| 25 | axiom primalValue_le_dualValue : |
| 26 | ∀ (m n : ℕ) (P : Program ℝ m n) (x : Fin n → ℝ) (y : Fin m → ℝ), |
| 27 | PrimalFeasible P x → DualFeasible P y → primalValue P x ≤ dualValue P y |
| 28 | |
| 29 | end Lax109476.WeakDuality |
| 30 |
Formalization notes
The statement uses arbitrary real coefficient data and does not require either feasible set to be bounded. The proof is finite sum rearrangement and multiplication of inequalities by nonnegative coordinates.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments