Lemma Generation for Model Elimination by Combining Top-Down and Bottom-Up Inference

TL;DR

This paper introduces two novel methods for generating "lemmas" (helpful intermediate conclusions) to speed up automated theorem proving. By combining top-down goal-oriented search with bottom-up inference, these methods aim to overcome the limitations of traditional approaches, leading to more efficient and effective theorem proving.

What Problem Does This Paper Address?

Automated theorem proving in first-order logic often relies on either top-down or bottom-up search strategies. Top-down methods, like Model Elimination (ME), are goal-directed but can produce long proofs and struggle with redundancy control. Bottom-up methods, like superposition, are good at simplification but lack goal orientation. Integrating these approaches is desirable. Previous attempts to use bottom-up generated lemmas in top-down provers have faced issues with "saturation-based proving," where the proof goal is ignored, leading to the generation of many irrelevant intermediate conclusions. This paper addresses the challenge of generating relevant and useful lemmas in a controlled manner to enhance top-down theorem provers.

Methods

The paper proposes two main approaches for lemma generation:

  1. Pattern Controlled Level Saturation: This method combines a systematic decomposition of generalized proof goals with a bottom-up saturation process. Top-down generated "patterns" (general literals representing potential subgoals) are used to control the lemma generation, helping to identify and discard irrelevant lemmas early. This approach aims to make bottom-up lemma generation more goal-oriented.
  2. Evolutionary Lemma Generation: This approach utilizes genetic programming (GP). Each "individual" in the evolutionary process is a connection tableau representing a lemma or a query. The fitness of an individual is determined by its ability to solve or "almost" solve an open subproblem. Genetic operators (reproduction, crossover, mutation) are applied to these tableaux, allowing the system to explore the search space and discover useful lemmas and query decompositions in a self-adaptive way. This method is designed to overcome the limitations of fixed pattern selection and potentially discover "harder" lemmas.

Datasets

The paper evaluates its methods using problems from the TPTP (Thousands of Problems for Theorem Provers) library, specifically focusing on the domains BOO, CAT, COL, GRP, and SET. These domains were chosen because they contain "hard problems" that cannot be solved by conventional provers within a short time frame (10 seconds).

Key Insights and Ideas

  • Bridging the Gap: The core idea is to leverage the strengths of both top-down (goal-orientation) and bottom-up (simplification, redundancy control) reasoning to create more effective theorem provers.
  • Controlled Lemma Generation is Crucial: Simply generating many lemmas (bottom-up saturation) is inefficient. The key is to generate relevant lemmas that directly aid the top-down proof search.
  • Top-Down Guidance for Bottom-Up: Using top-down derived patterns or generalized goals to guide the bottom-up lemma generation process is a promising strategy for pruning the search space and focusing on useful conclusions.
  • Evolutionary Search for Novelty: Genetic programming offers a flexible and self-adaptive way to explore the space of possible lemmas, potentially discovering more complex or "harder" lemmas that might be missed by more systematic but less flexible methods.
  • Lemmas as Macro Operators: Lemmas can be viewed as powerful operators that can significantly reduce proof length and search space by allowing larger steps in the proof.

Key Results

The experimental results, summarized in Table 1, show that both proposed lemma generation methods (SETHEO/PAT for pattern-based and SETHEO/GP for genetic programming) significantly improve upon the performance of the conventional SETHEO prover.

  • Improved Performance: All lemma methods consistently improve performance compared to SETHEO without lemmas.
  • Proof Length Reduction: The use of generated lemmas leads to shorter proofs and smaller search spaces.
  • Handling Hard Problems: The methods are effective on "hard problems" that are challenging for standard provers.
  • GP's Advantage: The GP approach sometimes reduces proof length more effectively and can generate "well-suited rather hard lemmas" that might be missed by the pattern-based method.
  • Pattern-Based Completeness: Under certain conditions, the pattern-based method can guarantee the generation of all necessary lemmas to reduce proof depth.

Limitations and Future Work

  • Pattern Selection: The pattern-based method's effectiveness depends on the optimality of the chosen patterns. Suboptimal patterns can lead to discarding useful lemmas, making it a local optimization method.
  • GP's Probabilistic Nature: While GP can overcome limitations of fixed patterns, it doesn't guarantee the generation of useful lemmas in every run, though it increases the probability.
  • Future Work: The authors suggest that these techniques are well-suited for parallel proof environments. Both the pattern-based approach (by varying parameters) and the GP algorithm (by running multiple incarnations) can benefit from parallelization, potentially leading to high-performance parallel systems.

Summary updated

BibTeX
@inproceedings{1999lemma,
  title = {{Lemma Generation for Model Elimination by Combining Top-Down and Bottom-Up Inference}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1999},
}
Figure