Proof of Theorem 1: either m(T_1) = ⟨T, s, b⟩* or m(T_1) ≥ [k/(k + 1)] · b
ProvedJohnsonApprox.SubsetSum.choosable_opt_or_largeLet , let be a SUBSET-SUM input, and let be choosable by algorithm . Then either the output is optimal or its measure is at least a fraction of the bound:
The paper calls this "the somewhat stronger result" it actually proves for the upper bound of Theorem 1. Since every approximate solution has measure at most , so that , either alternative gives .
Formalization Note The second alternative is written multiplicatively as , with cast to . The statement holds for every choosable output, i.e. for every resolution of the ties in Steps 1 and 3.
import Mathlib import Definitions.Def_JohnsonApprox_SubsetSum_Problem import Definitions.Def_JohnsonApprox_SubsetSum_Ak
namespace JohnsonApprox.SubsetSum
theorem choosable_opt_or_large {α : Type} [DecidableEq α] (k : ℕ) (hk : 1 ≤ k) (u : Input α)
(T₁ : Finset α) (hT₁ : Choosable k u T₁) :
measure u T₁ = opt u ∨ (k : ℚ) * u.b ≤ ((k : ℚ) + 1) * measure u T₁ := by sorry
end JohnsonApprox.SubsetSum
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- is any type with decidable equality.
- is a natural number with .
- is any subset-sum input: is a finite subset of , is positive on , and is rational.
- The measure is .
- .
Hypothesis. is choosable by on , meaning:
- An initial set is chosen from the elements of with . It has and maximum measure among all such sets with measure at most .
- From the state , zero or more steps are taken.
- In each step, the state is not halted and some with maximizes among such elements. The step moves from into and adds to .
- The run ends at a halting state: every has .
- That state's equals .
Conclusion. At least one of the following holds:
The second alternative is a non-strict inequality involving the bound , not .
Degenerate cases:
- is excluded by the hypothesis .
- Empty : and , so the first alternative holds.
- No choosable set: if no choosable exists, the statement is vacuous.
- Division: there is no division by zero.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.