Rewrite rules are critical in equality saturation, an increasingly popular technique
in optimizing compilers, synthesizers, and verifiers. Unfortunately,
developing high-quality rulesets is difficult and error-prone. Recent
work on automatically inferring rewrite rules does not scale to large
terms or grammars, and existing rule inference tools are monolithic and
opaque. Equality saturation users therefore struggle to guide inference and
incrementally construct rulesets. As a result, most users still
manually develop and maintain rulesets.
This paper proposes Enumo, a new domain-specific language for
programmable theory exploration. Enumo provides a small set of core
operators that enable users to strategically guide rule inference and
incrementally build rulesets. Short Enumo programs easily replicate
results from state-of-the-art tools, but Enumo programs can also scale
to infer deeper rules from larger grammars than prior approaches. Its
composable operators even facilitate developing new strategies for
ruleset inference. We introduce a new fast-forwarding strategy that does not require
evaluating terms in the target language, and can thus support domains
that were out of scope for prior work.
We evaluate Enumo and fast-forwarding across a variety of domains. Compared to
state-of-the-art techniques, enumo can synthesize better rulesets over a
diverse set of domains, in some cases matching the effects of
manually-developed rulesets in systems driven by equality saturation.
Wed 25 OctDisplayed time zone: Lisbon change
11:00 - 12:30 | |||
11:00 18mTalk | Asparagus: Automated Synthesis of Parametric Gas Upper-Bounds for Smart Contracts OOPSLA Zhuo Cai Hong Kong University of Science and Technology, Soroush Farokhnia Hong Kong University of Science and Technology, Amir Kafshdar Goharshady Hong Kong University of Science and Technology, S. Hitarth Hong Kong University of Science and Technology DOI | ||
11:18 18mTalk | Equality Saturation Theory Exploration à la Carte OOPSLA Anjali Pal University of Washington, Brett Saiki University of Washington, Ryan Tjoa University of Washington, Cynthia Richey University of Washington, Amy Zhu University of Washington, Oliver Flatt University of Washington, Max Willsey UC Berkeley, Zachary Tatlock University of Washington, Chandrakana Nandi Certora DOI Pre-print | ||
11:36 18mTalk | Synthesizing Specifications OOPSLA Kanghee Park University of Wisconsin-Madison, Loris D'Antoni University of Wisconsin-Madison, Thomas Reps University of Wisconsin-Madison DOI | ||
11:54 18mTalk | Explainable Program Synthesis by Localizing Specifications OOPSLA Amirmohammad Nazari University of Southern California, Yifei Huang University of Southern California, Roopsha Samanta Purdue University, Arjun Radhakrishna Microsoft, Mukund Raghothaman University of Southern California DOI | ||
12:12 18mTalk | Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction OOPSLA Zhenyang Xu University of Waterloo, Yongqiang Tian The Hong Kong University of Science and Technology; University of Waterloo, Mengxiao Zhang University of Waterloo, Gaosen Zhao University of Waterloo, Yu Jiang Tsinghua University, Chengnian Sun University of Waterloo DOI |