Uniform powers of #P functions #
A polynomial-time unary repetition count permits a verifier to check an input-dependent number of certificate rows. The number of accepted tuples is the corresponding power, including exponent zero. Exact false-bit padding supplies a length-polynomial certificate.
Main definitions #
SharpP.powerVerifier: accept precisely when every certificate row is accepted.
Main results #
SharpP.acceptCount_powerVerifier: exact counting identity, including zero rows and width.SharpP.pow_mem_polyTime: unary polynomial-time powers preserve #P.
References #
theorem Cslib.Complexity.SharpP.polyTime_powerVerifier {α : Type} {enc : α ↪ List Bool} {r k : α → ℕ} {V : α × List Bool → Bool} (hr : Turing.MultiTapeTM.ComputableInPolyTime r enc Turing.MultiTapeTM.encUnary) (hk : Turing.MultiTapeTM.ComputableInPolyTime k enc Turing.MultiTapeTM.encUnary) (hV :
Turing.MultiTapeTM.ComputableInPolyTime V (Turing.MultiTapeTM.encPair enc Turing.MultiTapeTM.encBits)
Turing.MultiTapeTM.encBool) :
A row count and width computed in unary give a polynomial-time repeated verifier.
theorem Cslib.Complexity.SharpP.pow_mem_polyTime {α : Type} {enc : α ↪ List Bool} {f r : α → ℕ} (hf : f ∈ SharpP enc) (hr : Turing.MultiTapeTM.ComputableInPolyTime r enc Turing.MultiTapeTM.encUnary) :
A #P function raised to an input-dependent polynomial-time unary exponent remains in #P.