Lemma 4.1 — the set-cover gap: versus
ProvedSetCoverThreshold.SetCover.lemma_4_1Assume the consequence of Raz's theorem (RazRepetition) and fix . There is (the constant of Lemma 2.3.1) such that the following holds for every 3CNF-5 formula , all , every code of weight and pairwise distance , and every family of partition systems , one per random string ; consider the set-cover instance of Section 4 on points.
- If is satisfiable, the points can be covered by subsets.
- Let with and
If only a -fraction of the clauses of are simultaneously satisfiable, every cover uses at least
subsets.
This is the gap of the reduction: a factor of about between the two cases, which the proof of Theorem 4.4 turns into .
Formalization Note " as " is not formalized as a limit: is a parameter tied to by (Lemma 3.2 gives ). "Sufficiently large ℓ" is replaced by the condition the proof itself uses (p. 647): with .
import Mathlib import Definitions.Def_CookPvsNP_defs import Definitions.Def_SetCoverThreshold_SetCover_Formula import Definitions.Def_SetCoverThreshold_SetCover_ProofSystem import Definitions.Def_SetCoverThreshold_SetCover_PartitionSystem import Definitions.Def_SetCoverThreshold_SetCover_Reduction
namespace SetCoverThreshold.SetCover
theorem lemma_4_1 (hRaz : RazRepetition) (ε : ℝ) (hε : 0 < ε) :
∃ c : ℝ, 0 < c ∧
∀ (φ : Formula5) (ℓ k m d : ℕ) (code : Fin k → Fin ℓ → Bool), IsCode ℓ k code →
∀ P : φ.RandomString ℓ → PartitionSystem m (2 ^ ℓ) k d,
(φ.toCNF.Satisfiable →
∃ 𝒞 : Finset (φ.SetIdx code), φ.IsSCCover code P 𝒞 ∧
𝒞.card ≤ k * φ.numQuestions ℓ) ∧
∀ f : ℝ, 0 < f → (1 - f) * k * Real.log m ≤ d →
(k : ℝ) ^ 2 * (2 : ℝ) ^ (-(c * ℓ)) < 2 * (2 * f) / (k * Real.log m) ^ 2 →
AtMostFracSat (1 - ε) φ.toCNF →
∀ 𝒞 : Finset (φ.SetIdx code), φ.IsSCCover code P 𝒞 →
(1 - 2 * f) * k * φ.numQuestions ℓ * Real.log m ≤ 𝒞.card := by sorry
end SetCoverThreshold.SetCover
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Hypotheses: and a real .
says: for every there is such that, for every in which every assignment satisfies at most a -fraction of clauses, the -fold clause–variable two-prover game accepts with fraction for every and all strategies.
Conclusion: there is , depending only on , with the following property. Take any:
- ( variables, three-literal clauses on distinct variables, each variable in exactly (clause, position) pairs);
- naturals ;
- code with (weights exactly , pairwise distance );
- family of partition systems , one per random string .
Write . Then both of the following hold:
-
If is satisfiable (outside library's notion), there is a finite set of triples that covers all points and has .
-
For every real with
- , and
- ,
if every assignment satisfies at most clauses of , then every covering satisfies
The notions used:
- Triples : ; has clause where and a variable elsewhere; is a canonical answer (satisfying triples at clause coordinates, bits false at variable coordinates).
- Points are with .
- covers iff prover 's question on is and , where and is the induced assignment ( at clause coordinates, at variable coordinates).
- A partition system has distinct partitions, and every cover of the points by blocks from pairwise different partitions has size .
Degenerate cases:
- If or , the right side of the second inequality in part 2 is , which is not . So part 2 is vacuous there.
- With a family exists only when .
- For (and ) the conclusion of part 2 is automatic.
- For the assumption of part 2 is unsatisfiable for a , since some assignment satisfies at least clauses.
- For odd , forces .
- Part 1 requires no relation between , and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.