Theorem 2, p. 5 — polynomial-time computability of the pipe automaton encoding
ProvedSyncPrefix.Huffman.scAutomaton_encode_polyTimeinapproximabilitystrongly-acyclic-automatasynchronizing-automata
In the proof of Theorem 2 of Ryzhikov and Szykuła, each Set Cover instance with points and subsets is mapped to the pipe automaton (scAutomaton I) with states and letters.
This lemma states that there is a polynomial-time computable function on string encodings over Option Bool (CookPvsNP.PolyTimeComputable f) that maps the encoding I.encode of every Set Cover instance to the encoding (scAutomaton I).encode of its pipe automaton.
Preamble
import Definitions.Def_SyncPrefix_Huffman_Constructions open SetCoverThreshold.SetCover
Formal statement
namespace SyncPrefix.Huffman
theorem scAutomaton_encode_polyTime :
∃ f : List (Option Bool) → List (Option Bool), CookPvsNP.PolyTimeComputable f ∧
∀ I : SCInstance, f I.encode = (scAutomaton I).encode := by sorry
end SyncPrefix.HuffmanSource
Ryzhikov & Szykuła, Finding Short Synchronizing Words for Prefix Codes, arXiv:1806.06299v1, p. 5, proof of Theorem 2