Proof of Theorem 3 — the k = 3 example: S* = 8 and B2 can return 7 clauses
ProvedJohnsonApprox.MaxSatWeighted.exampleK3_specapproximation-algorithmsmaximum-satisfiabilityp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be the eight-clause input
Then:
- every clause of has three distinct literals, so is an input of MS(3);
- ;
- algorithm B2 has a choosable output with .
Hence , showing the bound of Theorem 3 is attained at .
Preamble
import Mathlib import Definitions.Def_JohnsonApprox_Shared_Problem import Definitions.Def_JohnsonApprox_MaxSatWeighted_B2 import Definitions.Def_JohnsonApprox_MaxSatWeighted_ExampleK3
Formal statement
namespace JohnsonApprox.MaxSatWeighted
/-- Proof of Theorem 3 (p. 264), the lower-bound input for `k = 3`: it is an input of `MS(3)`,
`S* = 8`, and B2 has a choosable output with `7` clauses, so `r(B2, S) = 8/7`. -/
theorem exampleK3_spec :
Shared.InMS 3 exampleK3 ∧ Shared.opt exampleK3 = 8 ∧ ∃ X, Choosable exampleK3 X ∧ X.card = 7 := by sorry
end JohnsonApprox.MaxSatWeighted
Source
Johnson, Approximation algorithms for combinatorial problems, J. Comput. System Sci. 9 (1974), p. 264, proof of Theorem 3
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
This theorem concerns the fixed eight-clause set defined earlier:
Here and are the literals with variable index and sign flag true or false. The theorem asserts three things together:
- . This is the predicate
Shared.InMS, which is not defined in the code shown. - . This is
Shared.opt, which is also not defined in the code shown, and whose value type is not visible. - There is a set of clauses with that B2 can output on . That is, some state reachable from by admissible steps halts with .
The statement does not say that every B2 output on has 7 clauses. It does not state any ratio. It does not say that .
Degenerate cases. The input is concrete and has no parameters. The meaning of parts 1 and 2 depends entirely on the unseen definitions of and .
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.