Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Corollary 8, p. 8 — the Set Cover hardness persists on instances whose minimum cover has size at least d log |X|

Proved
SyncPrefix.Huffman.padding

by mikedeng1 · Oct 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

inapproximabilityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1paddingset-cover

Assume the Set Cover hardness of [4]: for every γ>0\gamma > 0γ>0 there is c′>0c' > 0c′>0 such that a polynomial-time c′log⁡pc' \log pc′logp-approximation of Set Cover on instances with ∣C∣≤∣X∣1+γ|C| \le |X|^{1+\gamma}∣C∣≤∣X∣1+γ, p=∣X∣p = |X|p=∣X∣, implies P = NP.

Then for every γ>0\gamma > 0γ>0 and every d>0d > 0d>0 there is c′>0c' > 0c′>0 such that the following holds: if some polynomial-time algorithm approximates Set Cover within c′log⁡pc' \log pc′logp on all instances with

∣C∣≤∣X∣1+γandOPT(X,C)≥dlog⁡∣X∣|C| \le |X|^{1+\gamma} \quad\text{and}\quad \mathrm{OPT}(X, C) \ge d \log |X|∣C∣≤∣X∣1+γandOPT(X,C)≥dlog∣X∣

(for p=∣X∣p = |X|p=∣X∣ large enough), then P = NP.

In the proof of Corollary 8 this lets the additive Θ((log⁡k)2)\Theta((\log k)^2)Θ((logk)2) term of the composition be absorbed into the multiplicative factor. The paper justifies the claim by enumerating all subfamilies of size at most dlog⁡∣X∣d \log |X|dlog∣X∣, which takes about ∣C∣dlog⁡∣X∣|C|^{d \log |X|}∣C∣dlog∣X∣ steps and is not polynomial; the claim itself is the statement above.

Differences from the source:

  • generalization: "for some d > 0" → for every d > 0; reason: Corollary 8 needs d of order (1 + γ)/ln 2, and the statement for every d implies it for some d.
  • reading: the hardness of [4] → a hypothesis (SetCoverHardness), in value form with a threshold n₀; reason: a cited theorem the paper does not prove.
  • encoding: log |X| → the natural logarithm of p; reason: the base is absorbed in d and c′.
Preamble
import Mathlib
import Definitions.Def_SyncPrefix_Huffman_Complexity
Formal statement
namespace SyncPrefix.Huffman

/-- The padding claim (p. 8), under the Set Cover hardness of [4]: for every `γ > 0` and every
`d > 0` there is `c' > 0` such that a polynomial-time `c' log p`-approximation of Set Cover on
instances with `|C| ≤ p^{1+γ}` whose minimum cover has size at least `d log p` implies `P = NP`. -/
theorem padding (hSC : SetCoverHardness) :
    ∀ γ : ℝ, 0 < γ → ∀ d : ℝ, 0 < d → ∃ c' : ℝ, 0 < c' ∧
      (SCApproxWithinOn
        (fun I => (I.sets.length : ℝ) ≤ (I.n : ℝ) ^ (1 + γ) ∧ d * Real.log I.n ≤ minCover I)
        (fun p => c' * Real.log p) → PEqNP) := by sorry

end SyncPrefix.Huffman
Source
Ryzhikov & Szykuła, Finding Short Synchronizing Words for Prefix Codes, arXiv:1806.06299v1, p. 8, proof of Corollary 8 (third paragraph)
Human review
  • Endorsed by Shuze Chen · Oct 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me