English

Fast Multi-Subset Transform and Weighted Sums Over Acyclic Digraphs

Data Structures and Algorithms 2020-09-02 v2

Abstract

The zeta and Moebius transforms over the subset lattice of nn elements and the so-called subset convolution are examples of unary and binary operations on set functions. While their direct computation requires O(3n)O(3^n) arithmetic operations, less naive algorithms only use 2npoly(n)2^n \mathrm{poly}(n) operations, nearly linear in the input size. Here, we investigate a related nn-ary operation that takes nn set functions as input and maps them to a new set function. This operation, we call multi-subset transform, is the core ingredient in the known inclusion--exclusion recurrence for weighted sums over acyclic digraphs, which extends Robinson's recurrence for the number of labelled acyclic digraphs. Prior to this work the best known complexity bound was the direct O(3n)O(3^n). By reducing the task to multiple instances of rectangular matrix multiplication, we improve the complexity to O(2.985n)O(2.985^n).

Keywords

Cite

@article{arxiv.2002.08475,
  title  = {Fast Multi-Subset Transform and Weighted Sums Over Acyclic Digraphs},
  author = {Mikko Koivisto and Antti Röyskö},
  journal= {arXiv preprint arXiv:2002.08475},
  year   = {2020}
}

Comments

12 pages, 4 figures. Appeared in Scandinavian Symposium and Workshops on Algorithm Theory 2020. The replacement is based on the conference version, and has small changes compared to the previous version, particularly to the proof of proposition 13

R2 v1 2026-06-23T13:47:28.608Z