Recursive relatedness of Blum complexity measures #
Any two Blum complexity measures Φ and Ψ on the same numbering are recursively related
Blum, A machine-independent theory of the complexity of recursive functions. There is
a computable r such that, for every program c, Ψ c n ≤ r n (Φ c n) and
Φ c n ≤ r n (Ψ c n) for all sufficiently large n. So a theorem proved for one measure transfers
to every other measure, up to a computable distortion.
The bound r n m is the least B such that, for each program numbered at most n, a cost m in
one measure implies a cost at most B in the other. Such a B exists because Blum's first axiom
makes both costs defined together. The search for it is decidable by Blum's second axiom.
Main results #
Cslib.BlumComplexity.BlumMeasure.recursively_related: any two complexity measures are recursively related.Cslib.BlumComplexity.BlumMeasure.recursively_related_of_encode_le: the same, with the explicit thresholdn ≥ encode cfor each programc.