Lemma 6.3 — weak duality and the Fenchel identity (6.5) for arbitrary functions on finite sets
ProvedSteinitzExchange.Duality.weak_dualityLet be finite nonempty sets (no exchange axiom is assumed), and let , be arbitrary. With the conjugates and the closures taken with respect to and respectively,
where a maximum over an empty family is and the infimum may be . When , the middle maximum is attained.
The equality is the Fenchel duality (6.5) for the polyhedral concave function and polyhedral convex function ; it holds with no constraint qualification. The inequality is the weak half of the min-max theorem of the mission.
Formalization Note. All three values are in EReal (primalValue, relaxedValue, dualValue). "Max" is rendered as a supremum together with an explicit attainment clause for the relaxed problem; the primal maximum is over a finite set.
import Mathlib import Definitions.Def_SteinitzExchange_Duality_IntegralBaseSet import Definitions.Def_SteinitzExchange_Duality_Conjugate import Definitions.Def_SteinitzExchange_Duality_Problems
namespace SteinitzExchange.Duality
/-- Murota 1996, p. 295, Lemma 6.3 (weak duality, with the Fenchel identity (6.5)): for any
functions `ω : B₁ → ℝ` and `ζ : B₂ → ℝ` on nonempty finite sets `B₁, B₂ ⊆ ℤ^V` (no (B1) needed),
`max{ω(x) − ζ(x) | x ∈ B₁ ∩ B₂} ≤ max{ω̂(b) − ζ̌(b) | b ∈ B̄₁ ∩ B̄₂}
= inf{ζ•(p) − ω°(p) | p ∈ ℝ^V}`,
all values in `EReal` with `max ∅ = −∞`; the relaxed maximum is attained when `B̄₁ ∩ B̄₂ ≠ ∅`. -/
theorem weak_duality {V : Type*} [Fintype V] [DecidableEq V] [Nonempty V]
(B₁ B₂ : Finset (V → ℤ)) (hB₁ : B₁.Nonempty) (hB₂ : B₂.Nonempty)
(ω ζ : (V → ℤ) → ℝ) :
primalValue B₁ B₂ ω ζ ≤ relaxedValue B₁ B₂ ω ζ ∧
relaxedValue B₁ B₂ ω ζ = dualValue B₁ B₂ ω ζ ∧
((hull B₁ ∩ hull B₂).Nonempty →
∃ b ∈ hull B₁ ∩ hull B₂,
relaxedValue B₁ B₂ ω ζ = ((concaveClosure B₁ ω b - convexClosure B₂ ζ b : ℝ) : EReal)) := by sorry
end SteinitzExchange.Duality
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- is a finite, nonempty type with decidable equality.
- are nonempty finite sets. They are not assumed to be integral base sets.
- are arbitrary.
The notation is as follows, with all values in the extended reals:
- , where the empty supremum is .
- . Here is the real convex hull of . The closures are real-valued: and .
- .
- The conjugates are and , where .
Claim. The theorem asserts all three of the following:
- .
- .
- If , then some attains the relaxed value:
Degenerate cases. If , then and part 1 is automatic. If , then , part 3 is vacuous, and part 2 asserts , i.e. that is unbounded below on . Because are nonempty, the conjugates are genuine minima and maxima. The closures are evaluated only at points of the hulls, so the junk value used for points outside a hull never enters. Empty is excluded by hypothesis.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.