arrow
Return

Quick Theory Exploration for Algebraic Data Types via Program Transformations

delete2026-01-01
delete0
PRE
AI
G
Gidon Ernst *
G
Grigory Fedyukovich
DOI:10.1007/978-3-032-10794-7_21delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
We present an approach to theory exploration, i.e., a lemma synthesis procedure which discovers algebraic laws over recursive functions over Algebraic Data Types (ADTs). The approach, LemmaCalc, builds on, adapts and extends program calculation techniques known from optimization of functional programs (fusion and accumulator removal). Our approach avoids exponential search space of term enumeration (SyGuS) that can render state-of-the-art techniques prohibitively expensive or even useless on large theories with more than a handful of function symbols. In this paper we describe how this approach can be realized and contribute a robust implementation. The evaluation shows that different methods have complementary strengths and that each can produce lemmas not found by the other, but LemmaCalc scales much better to larger theories.
Keywords:
lemma synthesis
algebraic data types
program transformations
theory exploration
functional programming

Journal

I
INTEGRATED FORMAL METHODS, IFM 2025
IF:
0
Papers:
23
Citations:
0

Organization

State University System of Florida cover
State University System of Florida
Scholars:
12.7W
Papers: 10.9W
Citations: 130
U
University of Munich
Scholars:
5.7W
Papers: 4.2W
Citations: 68