Corollary 8 (p. 8) — polynomial-time encoding and output rescaling for
ProvedSyncPrefix.Huffman.wielandtAB_encode_polyTimehuffman-codesinapproximabilitysynchronizing-automata
This lemma isolates the polynomial-time encoding and output-length rescaling step in the proof of Corollary 8 (Ryzhikov and Szykuła, 2018, p. 8).
Let be a polynomial-time algorithm taking encodings of binary automata to unary outputs in . For any complete deterministic automaton with states and input letters that is a synchronizing Huffman decoder, let be the Wielandt code parameter and let be the binary tree-substitution decoder automaton over the Wielandt code . Then there exists a polynomial-time algorithm such that
Combined with the combinatorial and synchronization bounds for , this transfers any polynomial-time logarithmic-factor approximation of Short Sync Word on binary Huffman decoders to general Huffman decoders.
Preamble
import Definitions.Def_SyncPrefix_Huffman_WielandtReduction import Definitions.Def_CookPvsNP_defs
Formal statement
namespace SyncPrefix.Huffman
theorem wielandtAB_encode_polyTime (Alg : List (Option Bool) → List Unit)
(hAlg : CookPvsNP.PolyTimeComputable Alg) :
∃ Alg_H : List (Option Bool) → List Unit, CookPvsNP.PolyTimeComputable Alg_H ∧
∀ AH : Automaton, IsHuffmanDecoder AH.δ → IsSynchronizing AH.δ → 2 ≤ AH.n → 2 ≤ AH.k →
(Alg_H AH.encode).length = (Alg (wielandtAB AH).encode).length / wielandtL AH.k := by sorry
end SyncPrefix.HuffmanSource
Ryzhikov & Szykuła, Finding Short Synchronizing Words for Prefix Codes, arXiv:1806.06299v1, p. 8, proof of Corollary 8