Worked solution: Flyspeck: a formal proof of the Kepler conjecture in HOL Light and Isabelle (2015)
To convince a skeptical machine that a system of linear inequalities has no solution, it's not enough to say 'I tried and failed' — you must hand over a short recipe (a set of non-negative weights) that combines the inequalities into an obviously false statement like ; checking that recipe is just adding numbers, which a proof assistant trusts completely, unlike the external numerical solver that first guessed the recipe.
Infeasibility of a linear program is checked by exhibiting nonnegative multipliers for its constraints whose weighted sum collapses every variable and yields a plainly false inequality such as — a Farkas-style dual certificate that a formal proof can check by pure arithmetic, without re-solving the program. About half of the roughly tame graphs need their feasible region split into several sub-cases (by branching on inequalities like or ) before a linear relaxation is tight enough to be infeasible, and irrational coefficients such as or are replaced by verified rational bounds. In total linear programs are generated and every one is formally certified infeasible.
- dual certificate (Farkas certificate)
- A set of non-negative multipliers, one per inequality, whose weighted sum of the inequalities collapses to a statement that is plainly false; its existence is a rigorous proof that the original system has no solution, and it can be checked by simple arithmetic instead of by re-solving the system.