Corollary 6 (iii), p. 6 — unless P = NP, Short Sync Word on Huffman decoders over alphabets of size n^{1+γ} has no polynomial-time c log n-approximation
ProvedSyncPrefix.Huffman.corollary_6_iiihuffman-codesinapproximabilityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1synchronizing-automata
Assume the Set Cover hardness of [4] (for every there is such that a polynomial-time -approximation of Set Cover on instances with implies P = NP).
Then for every there is with the following property. If some polynomial-time algorithm, on every synchronizing Huffman decoder with states (for large enough) over an alphabet of at most letters, outputs a number with
then P = NP.
It is the starting point of the proof of Corollary 8, which then reduces the alphabet to two letters.
Differences from the source:
- reading: "unless P = NP", proved from Theorem 2 and hence from [4] → the Set Cover hardness of [4] is a hypothesis (
SetCoverHardness); reason: it is a cited theorem the paper does not prove. - reading: "approximated in polynomial time within a factor of c log n" → value form with a threshold n₀, as in Theorem 2; reason: Short Sync Word outputs a length; [4]'s hardness is read in the same value form.
- reading: "over an alphabet of size n^{1+γ}" → at most n^{1+γ} letters; reason: n^{1+γ} is not an integer in general, and the proof produces fewer letters.
- reading: Huffman decoder → strongly connected, with a state whose set of first-return words is finite; reason: the paper's setting (p. 3); a smaller class makes the hardness stronger.
- encoding: automata, P and NP →
Automatonwith a unary encoding,CookPvsNPTuring machines, natural logarithm; reason: Lean conventions.
Preamble
import Mathlib import Definitions.Def_SyncPrefix_Huffman_Complexity
Formal statement
namespace SyncPrefix.Huffman
/-- Corollary 6 (iii) (p. 6), under the Set Cover hardness of [4]: for every `γ > 0` there is
`c > 0` such that a polynomial-time `c log n`-approximation of Short Sync Word on `n`-state
Huffman decoders over alphabets of size at most `n^{1+γ}` implies `P = NP`. -/
theorem corollary_6_iii (hSC : SetCoverHardness) :
∀ γ : ℝ, 0 < γ → ∃ c : ℝ, 0 < c ∧
(SSWApproxWithin (fun A => IsHuffmanDecoder A.δ ∧ (A.k : ℝ) ≤ (A.n : ℝ) ^ (1 + γ))
(fun n => c * Real.log n) → PEqNP) := by sorry
end SyncPrefix.Huffman
Source
Ryzhikov & Szykuła, Finding Short Synchronizing Words for Prefix Codes, arXiv:1806.06299v1, p. 6, Corollary 6 (iii)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.