Recursive presentations of P, polynomial-time transducers, and lower ≤ₘᵖ-cones #
This module presents P, enumerates polynomial-time transducers List Bool → List Bool, and
establishes recursive presentability and finite-variation closure for lower ≤ₘᵖ-cones and for any
≤ₘᵖ-closed class on bit words with a decidable ≤ₘᵖ-complete problem, without importing the
delayed diagonalization construction of
CslibFrontier.Computability.Complexity.Classes.UniformDiagonalization.
Main definitions #
Cslib.Complexity.UniformDiagonalization.pIndexed,.pIndexedCap: the clocked presentation ofPon bit words and its budget-capped form.Cslib.Complexity.Ladner.transducerIndexed: the clocked enumeration of polynomial-time transducersList Bool → List Bool.
Main results #
Cslib.Complexity.Ladner.isComputable_clock,.isComputable_withClock:(i, l) ↦ clock i lis computable on unary inputs via exponential padding.Cslib.Complexity.UniformDiagonalization.setOf_pIndexed_mem_P,Cslib.Complexity.UniformDiagonalization.exists_setOf_pIndexed_eq: every slice ofpIndexedis inP, and every problem inPis a slice at arbitrarily large indices.Cslib.Complexity.UniformDiagonalization.computableInPolyTime_pIndexedCap,Cslib.Complexity.UniformDiagonalization.pIndexedCap_eq_pIndexed_of_le,Cslib.Complexity.UniformDiagonalization.isComputable_pIndexed: the budget-capped form is polynomial-time and agrees withpIndexedonce the budget suffices, andpIndexedis computable.Cslib.Complexity.recursivelyPresentable_P:Pon bit words is recursively presentable.Cslib.Complexity.Ladner.computableInPolyTime_transducerIndexed,Cslib.Complexity.Ladner.exists_transducerIndexed_eq,Cslib.Complexity.Ladner.isComputable_transducerIndexed: every fixed slice oftransducerIndexedis polynomial-time, every polynomial-time function on bit words appears at arbitrarily large indices, and the two-argument family is computable.Cslib.Complexity.polyTimeReducible_of_symmDiff_finite_left,Cslib.Complexity.polyTimeReducible_of_symmDiff_finite_right,Cslib.Complexity.closedUnderFiniteVariation_polyTimeReducible_le: finite-variation patching of polynomial-time reductions and closure of lower≤ₘᵖ-cones.Cslib.Complexity.recursivelyPresentable_polyTimeReducible_le,Cslib.Complexity.PolyTimeComplete.recursivelyPresentable: recursive presentations of lower≤ₘᵖ-cones and of classes with a decidable≤ₘᵖ-complete problem.
References #
Computability of polynomial clocks #
The polynomial clock (i, l) ↦ clock i l is computable on unary inputs, by padding an
exponential unary budget with exists_computableInO_unary_two_pow and computing capPow within
that budget.
Pairing (i, w) with its polynomial clock clock i |w| is computable.
P is recursively presentable #
pIndexedCap is computable in polynomial time when the cap is given in unary.
The presentation of P is computable, by computing clock via isComputable_withClock and
running the universal simulator for that many steps.
P is recursively presentable, by the machines run within polynomial clocks.
Enumerating polynomial-time transducers #
For each fixed index i, w ↦ transducerIndexed (i, w) is computable in polynomial time.
Every polynomial-time function List Bool → List Bool is realized by transducerIndexed at
arbitrarily large indices.
The enumeration of polynomial-time transducers is computable, with the index in unary.
Finite-variation patching of reductions #
Modifying the source of a polynomial-time reduction on finitely many instances preserves reducibility whenever the target has a non-member and a member.
Modifying the target of a polynomial-time reduction on finitely many instances preserves reducibility whenever the modified target still has a non-member and a member.
Presenting lower cones and classes with a complete problem #
The lower ≤ₘᵖ-cone of a decidable problem on bit words is recursively presentable.
Any class on bit words closed under ≤ₘᵖ that has a decidable ≤ₘᵖ-complete problem is
recursively presentable.