This program is tentative and subject to change.

Mon 15 Jun 2026 16:40 - 17:05 at Meadows CD - Session 4

We present two applications of egglog to mathematical optimization in JijModeling 2, a mathematical modeller whose internal representation is based on simply typed λ-calculus.

First, we use egglog to improve LaTeX output for mathematical models expressed with higher-order functions. Python comprehensions are desugared into stream operations such as map, flat_map, and filter; emitting these terms directly produces unnatural mathematical notation. We reconstruct comprehension syntax by ensugaring higher-order terms and use equality saturation with a custom cost model to minimize temporary variable rebindings.

Second, we use egglog as a declarative engine for constraint detection, extending the previous egg-based approach presented at EGRAPHS ’25. Egglog’s datalog-style rules let us express multi-step detection logic directly, without external Rust orchestration code. We encode parametrized constraints using Henkin-like constants and propagate side conditions on subterms and indices through egglog facts. Finally, we show that the same ensugaring procedure also reduces large domain-set conditions before saturation, turning a problematic detection case from minutes or nontermination into a few seconds.

Through these topics, we want to provide an example of an industrial application of egglog, demonstrate the trick to propagate the constraints using the ideas from mathematical logic, and show the importance of optimizing premises of egglog rules to get practical performance in egglog programs.

Slides (egraphs26-egglog.pdf)7.31MiB

Currently working at Software Development Team at JIJ Inc.

This program is tentative and subject to change.

Mon 15 Jun

Displayed time zone: Mountain Time (US & Canada) change

15:50 - 17:30
Session 4EGRAPHS at Meadows CD
15:50
25m
Talk
Relational E-matching in an SMT solver
EGRAPHS
Amar Shah Carnegie Mellon University, Marijn Heule Carnegie Mellon University, Bryan Parno Carnegie Mellon University, Max Willsey University of California at Berkeley
16:15
25m
Talk
E-Stitch: Top-Down Library Learning for E-Graphs
EGRAPHS
Kavi Gupta MIT, Maddy Bowers Massachusetts Institute of Technology, Armando Solar-Lezama Massachusetts Institute of Technology
File Attached
16:40
25m
Talk
Optimizing Optimizations, Declaratively: Optimizing the Higher-Order Functions in Mathematical Optimization with egglog
EGRAPHS
Pre-print File Attached
17:05
25m
Talk
Poseidon: Profile-Guided Numerical Rewriting at Full-Application Scale
EGRAPHS
Siyuan Brant Qian University of Illinois at Urbana-Champaign, Vimarsh Sathia University of Illinois Urbana Champaign, Ivan Ivanov Institute of Science Tokyo, Jan Hueckelheim Argonne National Laboratory, Paul Hovland Argonne National Laboratory, William S. Moses University of Illinois Urbana-Champaign
Hide past events