Proof of Theorem 3 — every dead clause has final weight 1
ProvedJohnsonApprox.MaxSatWeighted.halt_dead_weight_oneLet be any finite set of clauses and consider a state of algorithm B2 reached from its start on in which Step 2 halts, i.e. no literal of any clause of LEFT is still in LIT. Then every clause remaining in LEFT has weight
Each such clause has had all of its literals removed from LIT without being made true ("wounded as many times as it had literals"), and each wound doubled its weight, starting from . Together with the weight bound on LEFT this gives .
import Mathlib import Definitions.Def_JohnsonApprox_Shared_Problem import Definitions.Def_JohnsonApprox_MaxSatWeighted_B2
namespace JohnsonApprox.MaxSatWeighted
/-- Proof of Theorem 3 (p. 264): when B2 halts, every (dead) clause remaining in `LEFT` has
weight exactly `1`. -/
theorem halt_dead_weight_one (S : Finset Shared.Clause) (σ : State) (hσ : Reachable S σ)
(hhalt : Halts σ) : ∀ C ∈ σ.LEFT, σ.w C = 1 := by sorry
end JohnsonApprox.MaxSatWeighted
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be any finite set of clauses; no condition such as membership in is imposed. Let be a state reachable from by zero or more admissible B2 steps. Assume halts, meaning every literal of every clause in has its variable in the decided set. The theorem asserts that every clause has current weight exactly
as a rational number. Here is the weight function after the doublings made so far, starting from .
Degenerate cases. If , which includes the case , the statement is vacuous. A clause with no literals in has initial weight and is never doubled; the statement includes such clauses. The theorem has no parameter .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.