DeepAI AI Chat
Log In Sign Up

Synthesizing Lemmas for Inductive Reasoning

09/21/2020
by   Adithya Murali, et al.
0

Recursively defined structures and properties about them are naturally expressed in first-order logic with least fixpoint definitions (FO+lfp), but automated reasoning for such logics has not seen much progress. Such logics, unlike pure FOL, do not even admit complete procedures, let alone decidable ones. In this paper, we undertake a foundational study of finding proofs that use induction to reason with these logics. By treating proofs as purely FO proofs punctuated by declarations of induction lemmas, we separate proofs into deductively reasoned components that can be automated and statements of lemmas that need to be divined, respectively. While humans divine such lemmas with intuition, we propose a counterexample driven technique that guides the synthesis of such lemmas, where counterexamples are finite models that witness inability of proving the theorem as well as other proposed lemmas. We develop relatively complete procedures for synthesizing such lemmas using techniques and tools from program/expression synthesis, for powerful FO+lfp logics that have background sorts constrained by natural theories such as arithmetic and set theory. We evaluate our procedures and show that over a class of theorems that require finding inductive proofs, our automatic synthesis procedure is effective in proving them.

READ FULL TEXT
05/06/2020

Towards Concise, Machine-discovered Proofs of Gödel's Two Incompleteness Theorems

There is an increasing interest in applying recent advances in AI to aut...
01/15/2020

Circular Proofs in First-Order Linear Logic with Least and Greatest Fixed Points

Inductive and coinductive structures are everywhere in mathematics and c...
04/06/2022

Modular pre-processing for automated reasoning in dependent type theory

The power of modern automated theorem provers can be put at the service ...
10/17/2017

Enhancing Inductive Entailment Proofs in Separation Logic with Lemma Synthesis

This paper presents an approach to lemma synthesis to support advanced i...
04/06/2023

A Mathematical Benchmark for Inductive Theorem Provers

We present a benchmark of 29687 problems derived from the On-Line Encycl...
06/09/2021

Automating Induction by Reflection

Despite recent advances in automating theorem proving in full first-orde...
08/13/2018

Proving Program Properties as First-Order Satisfiability

Program semantics can often be expressed as a (many-sorted) first-order ...