Circuits for Querying Trees: A Little Survey
summary
Claims that MSO tree queries compile to Boolean circuits (a smooth d-DNNF or a zero-suppressed semantic d-DNNF) via tree automata construction in time linear in the tree, and that those circuits support semiring evaluation (counting, probabilities) in linear time and enumeration with linear preprocessing and per-answer cost proportional to the tuple size. Implements rank enumeration using persistent priority queues; supports relabel updates by local circuit changes after tree rebalancing, though smoothing can blow up circuit size.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:04Motivation for MSO logic
- 4:15Provenance and Boolean circuits
- 10:01Restricted circuit classes
- 14:21Enumeration with zero-suppressed semantics
- 20:27Circuit construction from automata
- 25:56Rank enumeration and updates
- 29:09Summary and future directions
- 29:58Q&A
related talks
44mEfficient Enumeration Algorithms via Circuits
49mCompiling FO Sentences to Circuits: Upper Bounds and Lower Bounds on the Size of the Circuit
41mOptimizing Relational Programs I
53mDirect Access for Conjunctive Queries with Negation
01h 08mAlgebraic Structures in Logic and Query Evaluation 4
21mBonsai: Compiling Queries to Pruned Tree Traversals
01h 02mAlgebraic Structures in Logic and Query Evaluation 3
01h 06mAlgebraic Structures in Logic and Query Evaluation 1
