Proposition 5.4 — the fraction of good r is at least ε/3
ProvedSetCoverThreshold.MaxCover.prop_5_4Let . Then there is such that for every , every , every code of words of length , weight and pairwise distance at least , and every 3CNF-5 formula , the following holds in the max -cover instance of §5 ( points, , ). If a collection of at most sets covers at least points, then
where is good if and two sets of with and induce the same partition label .
In the paper's words: assume that a -fraction of the points are covered; then the fraction of good is at least . It is the §5 analogue of Proposition 4.2.
Formalization Note "For large enough " (from the proof) is , with chosen before , and . The fraction is stated as a count, which avoids a division by (and a vacuous failure when has no clauses). The proof's reference to "Proposition 8" is a typo for Proposition 4.2.
import Mathlib import Definitions.Def_CookPvsNP_defs import Definitions.Def_SetCoverThreshold_MaxCover_Formula import Definitions.Def_SetCoverThreshold_MaxCover_ProofSystem import Definitions.Def_SetCoverThreshold_MaxCover_Reduction
namespace SetCoverThreshold.MaxCover
/-- **Proposition 5.4** (Feige 1998, p. 649): for every `ε > 0` and all large enough `k`, in
the §5 instance built from a 3CNF-5 formula `φ` and a code (weights `ℓ/2`, distances
`≥ ℓ/3`), every collection of at most `kQ` sets that covers at least a
`(1 − 1/e + ε)`-fraction of the `N` points has at least an `ε/3`-fraction of good random
strings. -/
theorem prop_5_4 (ε : ℝ) (hε : 0 < ε) :
∃ k₀ : ℕ, ∀ k : ℕ, k₀ ≤ k → ∀ (ℓ : ℕ) (code : Fin k → Fin ℓ → Bool), IsCode code →
∀ (φ : Formula5) (C : Finset (SetIdx φ code)), C.card ≤ coverBudget φ code →
(1 - Real.exp (-1) + ε) *
(Fintype.card (RandString φ ℓ × ((Fin ℓ → Bool) → Fin k)) : ℝ) ≤
((coveredMaxCover φ code C).card : ℝ) →
ε / 3 * (Fintype.card (RandString φ ℓ) : ℝ) ≤ (goodCount φ code ε C : ℝ) := by sorry
end SetCoverThreshold.MaxCover
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix a real . The objects involved:
- Formula. is a Formula5: clauses of three literals over distinct variables , with every occurring variable in exactly clauses.
- Code. is a code:
- twice the number of ones in each word equals ;
- distinct words have Hamming distance with .
- Random strings. A random string maps each to . There are of them.
- Questions. Prover 's question on has entry equal to if is true, and to otherwise.
- Set indices. A set index consists of a prover , a question that prover receives on some , and an answer to . The answer gives a satisfying triple for each clause entry and a bit for each variable entry.
- takes bit of the triple, or the bit.
- Points. Points are pairs with , so
is covered by iff prover 's question on is and .
- Budget. .
- Good strings. is good for if both:
- , where counts the whose question matches ;
- some with different provers both match and have .
Claim. There is such that the following holds for every , every , every code, every (no satisfiability assumption), and every collection of set indices with :
The same appears in the coverage slack and in the goodness threshold.
Degenerate cases:
- Large . If , the premise requires more than covered points. So for it is impossible and the implication is vacuous. For both sides are .
- . This happens when and , or when .
- Odd with . No code exists, so the statement is vacuous.
- . Any code qualifies, there is one random string and points.
- . No string is good, so for the premise must fail.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.