Back to search

State University of New York at Buffalo

Implementation of Tetris as a Model Counter

Abstract

dc:description.abstract

Solving #SAT problems is an important area of work. In this thesis, we discuss implementing Tetris, an algorithm originally designed for handling natural database joins, as an exact model counter for the #SAT problem, where we want to count the number of satisfying solutions to a SAT formula. Tetris uses a simple geometric framework, yet manages to achieve the fractional hypertree-width bound. While the original Tetris paper made theoretical connections to #SAT, it left open the questions of implementation and practicality, which we tackle. In this thesis, we achieve the following objectives. First, we have utilized Tetris 's design to allow it to handle complex problems involving extremely large numbers of clauses on which other state-off-the-art model counters do not perform well. The result outperforms other solvers by multiple orders of magnitude, while still remaining competitive on standard #SAT benchmarks. Second, we use SIMD techniques and a novel breadth-first design to construct a data structure capable of efficiently handling and caching all of the data Tetris needs to work on over the course of the algorithm. Third, we have modified Tetris in order to move from a theoretical, asymptotic-time-focused environment to one that performs well in practice, including adding techniques that allow for intelligent shortcutting where possible. In particular, we have introduced various strategies that allow us to significantly reduce the number of database calls while not adding a significant amount of overhead. Fourth, we have found a natural set of model counting benchmarks on which Tetris outperforms other model counters.

Degree

thesis:*
Grantor dc:publisher
State University of New York at Buffalo
Year dc:date.issued
2018

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Dobler, Jimmy
Contributors dc:contributor
  • Rudra, Atri
  • Computer Science and Engineering

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions.
  • Copyright retained by author.
Language dc:language
eng

Identifiers

dc:identifier.*
Handle dc:identifier
https://hdl.handle.net/10477/78530

Chain of custody

source
Harvested from
Buffalo
Base URL
ubir.buffalo.edu/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Dobler, Jimmy. Implementation of Tetris as a Model Counter. State University of New York at Buffalo, 2018. https://hdl.handle.net/10477/78530