Compositional Algorithms on Compositional Data: Deciding Sheaves on Presheaves

02/11/2023
by   Ernst Althaus, et al.
0

Algorithmicists are well-aware that fast dynamic programming algorithms are very often the correct choice when computing on compositional (or even recursive) graphs. Here we initiate the study of how to generalize this folklore intuition to mathematical structures writ large. We achieve this horizontal generality by adopting a categorial perspective which allows us to show that: (1) structured decompositions (a recent, abstract generalization of many graph decompositions) define Grothendieck topologies on categories of data (adhesive categories) and that (2) any computational problem which can be represented as a sheaf with respect to these topologies can be decided in linear time on classes of inputs which admit decompositions of bounded width and whose decomposition shapes have bounded feedback vertex number. This immediately leads to algorithms on objects of any C-set category; these include – to name but a few examples – structures such as: symmetric graphs, directed graphs, directed multigraphs, hypergraphs, directed hypergraphs, databases, simplicial complexes, circular port graphs and half-edge graphs. Thus we initiate the bridging of tools from sheaf theory, structural graph theory and parameterized complexity theory; we believe this to be a very fruitful approach for a general, algebraic theory of dynamic programming algorithms. Finally we pair our theoretical results with concrete implementations of our main algorithmic contribution in the AlgebraicJulia ecosystem.

READ FULL TEXT

page 6

page 8

page 9

page 10

page 33

page 34

research
07/13/2022

Structured Decompositions: Structural and Algorithmic Compositionality

We introduce structured decompositions: category-theoretic generalizatio...
research
07/03/2023

Space-Efficient Parameterized Algorithms on Graphs of Low Shrubdepth

Dynamic programming on various graph decompositions is one of the most f...
research
01/21/2019

A Space-efficient Parameterized Algorithm for the Hamiltonian Cycle Problem by Dynamic Algebraziation

An NP-hard graph problem may be intractable for general graphs but it co...
research
06/26/2018

Practical Access to Dynamic Programming on Tree Decompositions

Parameterized complexity theory has lead to a wide range of algorithmic ...
research
05/04/2021

Classes of intersection digraphs with good algorithmic properties

An intersection digraph is a digraph where every vertex v is represented...
research
04/08/2019

From independent sets and vertex colorings to isotropic spaces and isotropic decompositions

In the 1970's, Lovász built a bridge between graphs and alternating matr...
research
06/08/2021

Categorical Data Structures for Technical Computing

Many mathematical objects can be represented as functors from finitely-p...

Please sign up or login with your details

Forgot password? Click here to reset