Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Amortized complexity of P

Theoretical computer science

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Let PPP be the class of all polynomial time computable functions from {0,1}∗→{0,1}\{0,1\}^*\rightarrow \{0,1\}{0,1}∗→{0,1}. For any f∈Pf\in Pf∈P, define function fA:N→{0,1}∗f^A:\mathbb{N}\rightarrow \{0,1\}^*fA:N→{0,1}∗ by fA(n)=(f(x1),⋯ ,f(x2n)),f^A(n)=(f(x_1),\cdots,f(x_{2^n})),fA(n)=(f(x1​),⋯,f(x2n​)), where xix_ixi​ runs over all strings in {0,1}n\{0,1\}^n{0,1}n. Suppose the time complexity of fff with input size nnn is nkn^knk, we know that fA(n)f^A(n)fA(n) can be computed in nk2nn^k2^nnk2n by simply compute fff on each xix_ixi​.

The amortized complexity of fff is defined to be AC(fA,n)=Complexity(fA(n))2n\text{AC}(f^A,n)=\frac{\text{Complexity}(f^A(n))}{2^n}AC(fA,n)=2nComplexity(fA(n))​, where Complexity(fA(n))\text{Complexity}(f^A(n))Complexity(fA(n)) is the minimum time needed to compute fA(n)f^A(n)fA(n) expressed in terms of nnn.

My questions:

  • Do we always have AC(fA,n)≪C(f,n)\text{AC}(f^A,n)\ll C(f,n)AC(fA,n)≪C(f,n) for f∈Pf\in Pf∈P, where C(f,n)C(f,n)C(f,n) is the complexity of computing fff with input size nnn?

  • Is there exist constant ccc, such that AC(fA,n)≪nc\text{AC}(f^A,n)\ll n^cAC(fA,n)≪nc for all f∈Pf\in Pf∈P.

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 f(x)=nxmod  3f(x)=n_x\mod 3f(x)=nx​mod3, where nxn_xnx​ is the integer that represented by binary string xxx. Clearly, one need at least Ω(∣x∣)\Omega(|x|)Ω(∣x∣) time to compute fff (using an adversary argument), but the amortized complexity is O(1)O(1)O(1).

One can, of course, consider any other NP-complete problems that can be solved by dynamic programming, but the complexity will be conditioned.

Statement and context adapted from MathOverflow · Paul

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Asymptotic behaviour
This studies a quantity as its parameter becomes large. Writing f(n) ∼ g(n) means that their ratio tends to 1, not that the functions are exactly equal.

Topics : computational-complexity · computer-science · computation

Authors listed by the source : Paul

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : April 23, 2020

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni