English

A universal bound on the space complexity of Directed Acyclic Graph computations

Computational Complexity 2024-10-29 v1

Abstract

It is shown that S(G)=O(m/log2m+d)S(G) = O\left(m/\log_2 m + d\right) pebbles are sufficient to pebble any DAG G=(V,E)G=(V,E), with mm edges and maximum in-degree dd. It was previously known that S(G)=O(dn/logn)S(G) = O\left(d n/\log n\right). The result builds on two novel ideas. The first is the notion of Bbudget decompositionB-budget\ decomposition of a DAG GG, an efficiently computable partition of GG into at most 2mB2^{\lfloor \frac{m}{B} \rfloor} sub-DAGs, whose cumulative space requirement is at most BB. The second is the challenging vertices technique, which constructs a pebbling schedule for GG from a pebbling schedule for a simplified DAG GG', obtained by removing from GG a selected set of vertices WW and their incident edges. This technique also yields improved pebbling upper bounds for DAGs with bounded genus and for DAGs with bounded topological depth.

Keywords

Cite

@article{arxiv.2410.20547,
  title  = {A universal bound on the space complexity of Directed Acyclic Graph computations},
  author = {Gianfranco Bilardi and Lorenzo De Stefani},
  journal= {arXiv preprint arXiv:2410.20547},
  year   = {2024}
}
R2 v1 2026-06-28T19:37:18.621Z