Farkas' lemma
Lax109476.FarkasLemma · concepts/Lax109476/FarkasLemma.lean · lax-109476
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
If , has no solution, there is a certificate
Together with certificate soundness, this is the alternative between feasibility and a certificate of infeasibility.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax109476.FarkasCertificate |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Farkas' lemma |
| 6 | type: theorem |
| 7 | --- |
| 8 | If , has no solution, there is a certificate |
| 9 | |
| 10 | Together with certificate soundness, this is the alternative between |
| 11 | feasibility and a certificate of infeasibility. |
| 12 | |
| 13 | # Formalization notes |
| 14 | |
| 15 | This is the inequality form of Farkas' lemma. We state the existence |
| 16 | direction separately from the elementary soundness argument. Coefficients |
| 17 | and witnesses are real; exact rational certificates are treated downstream. |
| 18 | -/ |
| 19 | |
| 20 | namespace Lax109476.FarkasLemma |
| 21 | |
| 22 | open Lax109476.LinearProgram Lax109476.FarkasCertificate |
| 23 | |
| 24 | /-- Every infeasible real system has nonnegative separating multipliers. -/ |
| 25 | axiom exists_infeasibility_certificate : |
| 26 | ∀ (m n : ℕ) (P : Program ℝ m n), ¬ IsFeasible P → |
| 27 | ∃ y : Fin m → ℝ, IsInfeasibilityCertificate P y |
| 28 | |
| 29 | end Lax109476.FarkasLemma |
| 30 |
Formalization notes
This is the inequality form of Farkas' lemma. We state the existence direction separately from the elementary soundness argument. Coefficients and witnesses are real; exact rational certificates are treated downstream.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments