A Circus of Circuits: Connections Between Decision Diagrams, Circuits, and Automata

Antoine Amarilli,Marcelo Arenas,YooJung Choi,Mikaël Monet,Guy Van den Broeck,Benjie Wang
2024-04-15
Abstract:This document is an introduction to two related formalisms to define Boolean functions: binary decision diagrams, and Boolean circuits. It presents these formalisms and several of their variants studied in the setting of knowledge compilation. Last, it explains how these formalisms can be connected to the notions of automata over words and trees.
Data Structures and Algorithms,Databases,Formal Languages and Automata Theory
What problem does this paper attempt to address?
This paper mainly discusses two forms of representing Boolean functions: Binary Decision Diagrams (BDDs) and Boolean circuits, and introduces their connections. The author aims to provide a unified introduction for readers familiar with one form in order to understand the relationship between these two forms. In addition, the paper also discusses the connections between automata (word and tree automata) and these two Boolean representations by introducing "source circuits". First, the paper introduces the basic types of Binary Decision Diagrams, including BDDs with OR nodes and the completion and 0-suppression semantics. Next, the paper defines Boolean circuits, including their basic concepts, Sentential Decision Diagrams (SDDs), formulas, and smoothness. Then, the paper explains how BDDs can be viewed as a special case of Boolean circuits, and how to construct BDDs and Boolean circuits from automata. Finally, the paper mentions automata, especially word and tree automata, and explains how to construct Boolean circuits and BDDs from these automata. The author hopes that this document can serve as a "Rosetta Stone" to promote communication between the different communities researching these formalisms. In conclusion, this paper focuses on the representation methods of Boolean functions, specifically Binary Decision Diagrams and Boolean circuits, and explores their interaction with automata.