Lune

OOPSLA2023Top-tier venue

Complete First-Order Reasoning for Properties of Functional Programs

Adithya Murali, Lucas Peña, Ranjit Jhala, P. Madhusudan

Abstract

Several practical tools for automatically verifying functional programs (e.g., Liquid Haskell and Leon for Scala programs) rely on a heuristic based on unrolling recursive function definitions followed by quantifier-free reasoning using SMT solvers. We uncover foundational theoretical properties of this heuristic, revealing that it can be generalized and formalized as a technique that is in fact complete for reasoning with combined First-Order theories of algebraic datatypes and background theories, where background theories support decidable quantifier-free reasoning. The theory developed in this paper explains the efficacy of these heuristics when they succeed, explain why they fail when they fail, and the precise role that user help plays in making proofs succeed.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Separating the Wheat from the Chaff: Understanding (In-)Completeness of Proof Mechanisms for Separation Logic with Inductive Definitions cites FO-Complete Program Verification for Heap Logics
  • FO-Complete Program Verification for Heap Logics cites Model-guided synthesis of inductive lemmas for FOL with least fixpoints
  • FO-Complete Program Verification for Heap Logics cites Data-driven lemma synthesis for interactive proofs
  • FO-Complete Program Verification for Heap Logics cites Predictable Verification using Intrinsic Definitions
  • Predictable Verification using Intrinsic Definitions cites Model-guided synthesis of inductive lemmas for FOL with least fixpoints
  • Proving Functional Program Equivalence via Directed Lemma Synthesis cites Model-guided synthesis of inductive lemmas for FOL with least fixpoints
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Predictable Verification using Intrinsic DefinitionsAdithya Murali, Cody Rivera, P. MadhusudanPLDI 2024 · 2 citations
  2. Proving Functional Program Equivalence via Directed Lemma SynthesisYican Sun, Ruyi Ji, Jian Fang, Xuanlin Jiang et al.FM 2024 · 2 citations
  3. Separating the Wheat from the Chaff: Understanding (In-)Completeness of Proof Mechanisms for Separation Logic with Inductive DefinitionsNeta Elad, Adithya Murali, Sharon ShohamPOPL 2026
  4. Decidability Results for Fragments of First-Order Logic via a Symbolic Model PropertyNeta Elad, Sharon ShohamLICS 2026
  5. FO-Complete Program Verification for Heap LogicsAdithya Murali, Hrishikesh Balakrishnan, Aaron Councilman, P. MadhusudanOOPSLA 2025

Builds on2

  1. Model-guided synthesis of inductive lemmas for FOL with least fixpointsAdithya Murali, Lucas Peña, Eion Blanchard, Christof Löding et al.OOPSLA 2022 · 11 citations
  2. Data-driven lemma synthesis for interactive proofsAishwarya Sivaraman, Alex Sanchez-Stern, Bretton Chen, Sorin Lerner et al.OOPSLA 2022 · 8 citations

Related papers

  1. PLEX: Normalization for Refinement TypesAlessio Ferrarini, Niki Vazou, Wouter SwierstraOOPSLA 2026
  2. First-Class Refinement Types for ScalaMatt Bovel, Viktor Kunčak, Martin OderskyOOPSLA 2026
  3. Quotient Haskell: Lightweight Quotient Types for AllBrandon Hewer, Graham HuttonPOPL 2024 · 3 citations
  4. An Eager Satisfiability Modulo Theories Solver for Algebraic DatatypesAmar Shah, Federico Mora, Sanjit A. SeshiaAAAI 2024 · 2 citations
  5. Can LLM Aid in Solving Constraints with Inductive Definitions?Weizhi Feng, Shidong Shen, Jiaxiang Liu, Taolue Chen et al.FM 2026
Dusk over the sea between two cliffs drawn in fine vertical lines