Amortized complexity of P
Statement
Let be the class of all polynomial time computable functions from . For any , define function by where runs over all strings in . Suppose the time complexity of with input size is , we know that can be computed in by simply compute on each .
The amortized complexity of is defined to be , where is the minimum time needed to compute expressed in terms of .
My questions:
• Do we always have for , where is the complexity of computing with input size ?
• Is there exist constant , such that for all .
Any references in the literature will be appreciated.
Edit: Here we provide an simple example that the amortized complexity is asymptotically less than the worst case complexity. Let , where is the integer that represented by binary string . Clearly, one need at least time to compute …
Posed by Paul · computational-complexity, computer-science, computation
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-357996.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-357996.lean
import Mathlib /-! # Amortized complexity of P Source: https://mathoverflow.net/questions/357996 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_357996 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_357996