tididi for Python

tididi represents Boolean functions as Tree Decision Diagrams (TDDs). Build a circuit from rules, combine it with other circuits, and query the satisfying assignments without listing them. Counts are exact Python integers; weighted sums can be exact fractions.

Start with A first circuit. The configuration tutorial builds a small rule system and follows a user’s choices. The reachability tutorial uses conjunction, quantification, and renaming to explore a directed graph.

Download an application tutorial as a runnable program or notebook from the bottom of its page.