InformationTheory.Shannon.Kolmogorov.PrefixComputability
Computability of the self-delimiting machine #
The self-delimiting machine prefixUniversalEval is a partial recursive
function, and its halting set is undecidable. The first statement assembles the
machine from the primitive recursive parser parseUnary and the partial
recursive payload decoder decodePayload. The second reduces the halting
problem of Mathlib's universal interpreter to it along the interpret-mode entry
prefixInterpretProg.
Main statements #
prefixUniversalEval_partrec— the machine is partial recursive.prefixUniversalEval_dom_not_computablePred— its halting set is undecidable.
InformationTheory.Kolmogorov.primrec_replicate_true
sourceUsed by
InformationTheory.Kolmogorov.primrec_prefixInterpretProg_nil
sourceUsed by
InformationTheory.Kolmogorov.prefixUniversalEval_partrec
sourceThe self-delimiting machine is partial recursive: its length guard is
primitive recursive through parseUnary, and the payload it hands on is decoded
by the partial recursive decodePayload.
Used by
InformationTheory.Kolmogorov.prefixUniversalEval_dom_not_computablePred
sourceThe halting set of the self-delimiting machine is undecidable: a decision
procedure for it would decide the halting problem of Mathlib's universal
interpreter, which the interpret-mode entry prefixInterpretProg embeds into it.
@audit:ok