English

TreeWidzard: An Engine for Width-Based Dynamic Programming and Automated Theorem Proving

Data Structures and Algorithms 2026-05-12 v1 Logic in Computer Science Combinatorics

Abstract

In this work, we introduce TreeWidzard, an engine for developing dynamic programming algorithms that decide graph-theoretic properties parameterized by treewidth and pathwidth. Besides providing a unified framework for algorithms deciding atomic graph-theoretic properties, our engine allows one to combine such algorithms for two purposes: to obtain dynamic programming algorithms for more complex graph properties, and to support treewidth-based automated theorem proving. Within this context, given the specification of a Boolean combination PP of graph properties P1,P2,,PrP_1, P_2, \ldots, P_r, and a positive integer kk, our engine can be used to determine whether all graphs of treewidth at most kk satisfy PP. The main goal of the present work is to provide a system description of TreeWidzard. In particular, we provide a step-by-step account of how to implement dynamic programming algorithms in our framework and how to combine these algorithms for model checking and automated theorem proving.

Keywords

Cite

@article{arxiv.2605.09732,
  title  = {TreeWidzard: An Engine for Width-Based Dynamic Programming and Automated Theorem Proving},
  author = {Mateus de Oliveira Oliveria and Sam Urmian},
  journal= {arXiv preprint arXiv:2605.09732},
  year   = {2026}
}

Comments

Full version, 36 pages, 6 figures