Digital Repository at the University of Maryland
CHASE OPTIMAL AT SPEED: COMBINATORIAL PROBLEM SOLVING IN COMPUTING SYSTEMS
Abstract
dc:description.abstractEquality saturation provides a fundamentally different methodology from traditional phase-ordered optimization: instead of rewriting a program or circuit in-place, it accumulates many equivalent representations in an e-graph and delays commitment to a specific form until an explicit extraction step. This dissertation develops equality saturation into a unified formal methodology for multi-level hardware systems, covering (i) gate-level Boolean reasoning over optimized netlists, (ii) compiler- and HLS-style program transformation checking in MLIR, and (iii) scalable extraction and exact optimization strategies that make e-graph-based workflows practical on large instances. At the gate level, the dissertation introduces BoolE, a methodology for exact Boolean symbolic reasoning built around three ingredients. First, it designs a domain-specific Boolean rewriting library that exposes latent arithmetic and logic structure even after aggressive synthesis transformations. Second, it represents circuit fragments as e-graphs to compactly share common sub-expressions across many equivalent forms, enabling global reasoning rather than local pattern matching. Third, it proposes an exact extraction procedure tailored to multi-input, multi-output subcircuits, allowing the framework to reconstruct and confirm higher-level arithmetic intent (for example, adder-like structure) directly from optimized gate-level implementations. In this way, BoolE reframes post-synthesis interpretation as a principled search over equivalence classes with correctness grounded in rewriting semantics, rather than as a heuristic recognition problem. At the program level, the dissertation presents HEC, an MLIR-based equivalence checking methodology that treats transformation validation as equality saturation over a shared e-graph. HEC combines a static rewriting core for datapath reasoning, built from algebraic identities and semantics-preserving normalization rules, with a dynamic rule-generation mechanism for control-flow transformations whose parameters are decided by compilation heuristics (for example, loop rewrites). To ensure trustworthiness, HEC adopts a soundness-first design: static rules are derived from known-correct identities, while dynamically generated rules are guarded by automatically checked side conditions discharged by an SMT solver. This hybrid methodology allows the checker to adapt to transformation-specific structure without sacrificing semantic rigor. Beyond saturation itself, the dissertation addresses a central practical challenge in equality saturation: extraction and exact optimization over large e-graphs. The proposed e-boost methodology couples adaptive heuristic guidance with exact solvers by (i) pruning and prioritizing candidates to reduce search complexity, and (ii) warm-starting exact optimization using high-quality initial solutions derived from the e-graph. This design treats heuristic and exact components as complementary: heuristics shape the search space and provide strong starting points, while exact solving provides a correctness and optimality backstop when feasible. Finally, the dissertation demonstrates that learning-guided initialization can systematically accelerate exact combinatorial optimization for deployment via Inc-ILP. Inc-ILP combines a learned coarse schedule with incremental ILP refinement under progressively tightened relaxations, thereby turning a hard global optimization into a staged process that preserves optimality guarantees while improving solver practicality. Together, these contributions show how equality saturation can be engineered into an end-to-end methodology, from rule design and soundness mechanisms to scalable extraction and solver integration, for reasoning, verification, and optimization across multiple hardware abstraction layers.
Degree
thesis:*- Department dc:contributor.department
- Electrical Engineering
- Grantor dc:publisher
- Digital Repository at the University of Maryland
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Yin, Jiaqi
- Advisor dc:contributor.advisor
-
- Yu, Cunxi
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier
- https://doi.org/10.13016/uwbq-f3qv