Gap of the §5 reduction — kQ sets cover all N points, or at most (1 − 1/e + g(k))N
ProvedSetCoverThreshold.MaxCover.gap_claimAssume the consequence of Raz's parallel repetition theorem stated on p. 642. Consider the max -cover instance of §5 built from a 3CNF-5 formula , repetitions, provers and a code, with points and .
- If is satisfiable, all points can be covered by sets.
- For every there is such that for every and every there is such that for all , every code of words of length , weight and distance at least , and every in which at most a -fraction of the clauses are simultaneously satisfiable, every collection of at most sets covers at most
points.
Part 2 is the paper's " sets can cover at most points, where as ", for "large enough ". Together the two parts are the gap that Theorem 5.3 exploits with a constant number of repetitions.
Formalization Note "" is rendered as , with independent of , and "large enough " as after and . The budget is the total number of (prover, question) pairs.
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
open CookPvsNP
/-- **The gap of the §5 reduction** (Feige 1998, p. 649, proof of Theorem 5.3), from the cited
parallel repetition bound. (i) If `φ` is satisfiable, all `N` points of the §5 instance can be
covered by `kQ` sets. (ii) For every `ε > 0` there is `k₀` such that for every `k ≥ k₀` and
every `ε' > 0`, for all large enough `ℓ`: if at most a `(1 − ε')`-fraction of the clauses of
`φ` are simultaneously satisfiable, every collection of at most `kQ` sets covers at most
`(1 − 1/e + ε) N` points. -/
theorem gap_claim (hRaz : RazRepetition) :
(∀ (k ℓ : ℕ) (code : Fin k → Fin ℓ → Bool) (φ : Formula5), φ.toCNF.Satisfiable →
∃ C : Finset (SetIdx φ code), C.card ≤ coverBudget φ code ∧
coveredMaxCover φ code C = Finset.univ) ∧
(∀ ε : ℝ, 0 < ε → ∃ k₀ : ℕ, ∀ k : ℕ, k₀ ≤ k → ∀ ε' : ℝ, 0 < ε' → ∃ ℓ₀ : ℕ, ∀ ℓ : ℕ, ℓ₀ ≤ ℓ →
∀ code : Fin k → Fin ℓ → Bool, IsCode code →
∀ φ : Formula5, AtMostFracSat (1 - ε') φ.toCNF →
∀ C : Finset (SetIdx φ code), C.card ≤ coverBudget φ code →
((coveredMaxCover φ code C).card : ℝ) ≤
(1 - Real.exp (-1) + ε) *
(Fintype.card (RandString φ ℓ × ((Fin ℓ → Bool) → Fin k)) : ℝ)) := by sorry
end SetCoverThreshold.MaxCover
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Hypothesis (). For every there is such that the following holds for every Formula5 with , every , and all two-prover strategies :
In this hypothesis:
- Formula5. has clauses of three literals over distinct variables, with every occurring variable in exactly clauses.
- AtMostFracSat. means: under every assignment, at most clauses contain a literal with .
- Strategies. maps an -tuple of clauses to three bits per coordinate, and maps an -tuple of naturals to one bit per coordinate.
- Acceptance. is accepted if, for every , 's triple at satisfies and its bit equals 's bit at on the tuple of variables .
- Division. Real division is used, with .
The §5 instance. The objects are:
- Random strings. Random strings for .
- Code. A code .
- Questions. Prover 's question on has entry if is true and otherwise.
- Set indices. A set index is : a prover, a question it receives on some , and an answer (a satisfying triple per clause entry, a bit per variable entry). reads each entry at position .
- Points. Points are with , so
covers iff prover 's question on is and .
- Budget. .
Conclusion (i). For all , every code (no weight or distance condition), and every whose clause list is satisfiable (imported, unshown notion), some with covers every point.
Conclusion (ii). For every there is with the following property. For every and every there is , depending on but not on , such that the following holds for every , every code, every with , and every with :
Here the code must satisfy : twice each word's number of ones equals , and distinct words are at Hamming distance with .
Degenerate cases:
- . There are no points, so (i) holds with .
- Large . If , (ii) is trivial.
- Odd with . No code exists, so (ii) is vacuous.
- , . .
- and . always holds for . For and it never holds.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.