Corollary 8, p. 8 — unless P = NP, Short Sync Word on binary n-state Huffman decoders has no polynomial-time c log n-approximation
ProvedSyncPrefix.Huffman.corollary_8Assume 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 there is a constant with the following property. If some polynomial-time algorithm, on every synchronizing Huffman decoder over the binary alphabet with states (for large enough), outputs a number with
where is the length of a shortest synchronizing word of , then P = NP.
A Huffman decoder is a strongly connected complete automaton with a state whose first-return words form a finite (maximal prefix) code; a synchronizing word lets the decoder recover from transmission errors. The corollary says that, unless P = NP, the length of a shortest such word cannot be approximated within a logarithmic factor even for binary decoders.
Differences from the source:
- reading: "unless P = NP", proved from [4] → the Set Cover hardness of [4] (p. 5) 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, an algorithm outputting a number between ℓ(A) and c log n · ℓ(A) on every synchronizing binary Huffman decoder with n ≥ n₀ states; reason: Short Sync Word outputs a length; this is the form of the published Feige definition; [4]'s hardness is read in the same value form.
- 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: binary n-state automata, P and NP →
Automatonwith k = 2 and a unary encoding,CookPvsNPTuring machines, natural logarithm; reason: Lean conventions; the base of the logarithm is absorbed in c.
import Mathlib import Definitions.Def_SyncPrefix_Huffman_Complexity
namespace SyncPrefix.Huffman
/-- Corollary 8 (p. 8), under the Set Cover hardness of [4]: there is `c > 0` such that a
polynomial-time `c log n`-approximation of Short Sync Word on binary `n`-state Huffman decoders
implies `P = NP`. -/
theorem corollary_8 (hSC : SetCoverHardness) :
∃ c : ℝ, 0 < c ∧
(SSWApproxWithin (fun A => A.k = 2 ∧ IsHuffmanDecoder A.δ) (fun n => c * Real.log n) →
PEqNP) := by sorry
end SyncPrefix.Huffman
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.