§4.2 — the optimum of is , attained at
ProvedNonmonotoneSubmod.QueryLB.hard_instance_optLet be even, , , and . For every with , the maximum of the hard instance is
and it is attained at (that is, , ).
This is the paper's ", attained for and ", with the constant made explicit. Comparing it with the maximum of the cut function is what gives the approximation gap of Theorem 4.5.
import Mathlib import Definitions.Def_NonmonotoneSubmod_Shared_OPT import Definitions.Def_NonmonotoneSubmod_QueryLB_HardInstance
namespace NonmonotoneSubmod.QueryLB
/-- §4.2, proof of Theorem 4.5 (pp. 1149–1150, third bullet): the maximum of `f_C` is
`OPT = ½n²(1 − 2ϵ + 2ϵ²) = n²/2 − mn + m²` (`m = ϵn`), attained at `S = C`
(`k = n/2`, `ℓ = 0`). -/
theorem hard_instance_opt (n m : ℕ) (hn : Even n) (hm : 1 ≤ m) (hmn : 2 * m ≤ n)
(C : Finset (Fin n)) (hC : C.card = n / 2) :
NonmonotoneSubmod.Shared.OPT (fC n m C) = (n : ℝ) ^ 2 / 2 - (m : ℝ) * n + (m : ℝ) ^ 2 ∧
fC n m C C = NonmonotoneSubmod.Shared.OPT (fC n m C) := by sorry
end NonmonotoneSubmod.QueryLB
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. The notation follows these definitions:
- For , .
- .
- is computed in the reals:
- if ;
- otherwise.
Hypotheses. Natural numbers and a set satisfy:
- is even;
- ;
- ;
- .
Claim. Let be the quantity "OPT" from a shared definitions module. Its definition is not included in the code provided; presumably it is the maximum of over subsets of , but that is not confirmed by the code shown. The statement asserts both:
Here is ordinary real division.
Degenerate cases:
- cannot occur: the hypotheses force .
- is allowed: then , so falls in the first formula of .
- Satisfiability: the hypotheses can be met, for example with , .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.