The conditional universal description method #
The conditional description method condUniversal y, for a condition y : ℕ, reads a program as
the header of a code c (codeHeader c, as for universal) followed by a program p, and runs
c on the pair Nat.pair y (encode p): the described partial recursive function has access to the
condition. The conditional complexity C(x | y) is (condUniversal y).complexity x.
Every partial recursive function of the condition and the program is at most a constant worse
than condUniversal, uniformly in the condition: this is the conditional invariance theorem
Shen, Uspensky and Vereshchagin, Section 2.2, stated here both for
partial recursive decoders (exists_ecomplexity_condUniversal_le_of_partrec₂) and for partial
recursive conditional description methods (IsCondPartrec.exists_ecomplexity_condUniversal_le).
Its first consequences are C(y | x) ≤ C(y) + O(1) and C(x | x) = O(1), and, combined with the
generic Cslib.Kolmogorov.DescriptionMethod.Composition, the chain rule
C(⟨x, y⟩) ≤ C(x) + C(y | x) + 2 log C(x) + O(1) for the plain complexity of universal, with
pairs coded by Nat.pair and log the binary length Nat.size.
Main definitions #
Cslib.Kolmogorov.DescriptionMethod.condUniversal: the conditional universal method.Cslib.Kolmogorov.DescriptionMethod.IsCondPartrec: partial recursive conditional description methods for natural numbers.
Main results #
Cslib.Kolmogorov.DescriptionMethod.condUniversal_produces_codeHeader_append: the programcodeHeader c ++ pdescribes, giveny, the output ofconNat.pair y (encode p).Cslib.Kolmogorov.DescriptionMethod.exists_ecomplexity_condUniversal_le_of_partrec₂,Cslib.Kolmogorov.DescriptionMethod.IsCondPartrec.exists_ecomplexity_condUniversal_le: the conditional invariance theorem.Cslib.Kolmogorov.DescriptionMethod.exists_complexity_condUniversal_le:C(y | x) ≤ C(y) + O(1).Cslib.Kolmogorov.DescriptionMethod.exists_complexity_condUniversal_self_le:C(x | x) = O(1).Cslib.Kolmogorov.DescriptionMethod.exists_complexity_universal_pair_le: the chain ruleC(⟨x, y⟩) ≤ C(x) + C(y | x) + 2 log C(x) + O(1).
References #
The conditional universal description method, given the condition y : ℕ: the decoder of
the self-delimiting code splits a program into the binary representation of a number n and a
program p, and p runs under the description method of the code curry (ofNat Code n) y, which
runs ofNat Code n on Nat.pair y (encode p).
A program describes x given y exactly when the code it announces outputs x on the pair of
y and the rest of the program.
The outputs of the conditional universal method are partial recursive jointly in the condition and the program.
Conditional invariance for partial recursive decoders. If a partial recursive function f
of the condition and the program outputs x on y and q, then x has a description given y
at most a constant longer than q, the constant depending only on f.
A conditional description method for natural numbers is partial recursive when a partial recursive function of the condition and the program has exactly its outputs. Nothing is assumed about its clock.
Conditional invariance theorem Shen, Uspensky and Vereshchagin, Section
2.2: condUniversal is at most a constant worse than every partial
recursive conditional description method, uniformly in the condition.
Every natural number has a description under the conditional universal method, whatever the condition.
A condition does not make a description longer by more than a constant:
C(y | x) ≤ C(y) + O(1) Shen, Uspensky and Vereshchagin, Section
2.2.
A number is described by a constant number of bits given itself: C(x | x) = O(1)
Shen, Uspensky and Vereshchagin, Section 2.2.
The chain rule #
The composition of universal and condUniversal along Nat.pair is partial recursive.
Chain rule for the plain complexity of universal Shen, Uspensky and Vereshchagin,
Section 2.2: there is a constant c with
C(⟨x, y⟩) ≤ C(x) + C(y | x) + 2 size (C(x)) + c.