Embedding Intuitionistic into Classical Logic

Alexander Pluska, Florian ZulegerLpar 2023

Abstract

While the "double negation translation" is a well-known method for embedding classical logic into intuitionistic logic, this research investigates the reverse: a direct encoding of intuitionistic logic into classical logic. By establishing a small model property and utilizing specific normal forms, the authors enable high-performance classical provers, such as Vampire, to determine intuitionistic validity. This approach outperforms specialized tools on certain classes of problems and provides a pathway for transferring counter-models back to the intuitionistic domain.

1. Introduction

In formal logic, intuitionistic logic serves as a constructive alternative to classical logic, famously rejecting the Law of Excluded Middle ($A \lor \neg A$). Under the Curry-Howard correspondence, a proof in intuitionistic logic is equivalent to a computer program, making it a cornerstone of theoretical computer science. However, intuitionistic logic is computationally more demanding; the propositional case is PSPACE-complete, whereas classical propositional logic is coNP-complete.

Due to this complexity, classical solvers (SAT/SMT) have benefited from decades of optimization that intuitionistic provers have yet to match. This paper proposes a methodology to bridge this gap by translating intuitionistic problems into formats compatible with state-of-the-art classical "super-provers."

2. Methodology

The proposed translation framework rests on three pillars: normal forms, the small model property, and direct semantic encoding.

2.1 Normal Forms

The authors employ a specific normal form that flattens intuitionistic formulas into sets of "flat clauses," "implication clauses," and "quantification clauses." This structural simplification is essential for a predictable translation process.

2.2 Small Model Property

For Intuitionistic Propositional Logic (IPC), the authors prove that if a formula is invalid, there exists a Kripke counter-model—a tree-like structure of "possible worlds"—where the height and degree are bounded by the number of implication clauses in the formula. This property is crucial because it allows the translation to replace potentially infinite world-searching with a finite enumeration of paths.

2.3 Direct Encoding

The translation handles both propositional and first-order cases:

  • Propositional (IPC to CPC/QBF): Kripke semantics are encoded directly into classical propositional logic (CPC) or Quantified Boolean Formulae (QBF).
  • First-Order (IQC to CQC): To represent the shifting domains of intuitionistic Kripke models within a static classical first-order framework, the authors introduce a binary predicate $E(x, u)$, signifying that an object $x$ exists in the domain of world $u$.

3. Evaluation and Results

The methodology was evaluated using the ILTP (Intuitionistic Logic Theorem Proving) library, version 1.1.2, with the Vampire theorem prover serving as the primary classical solver.

3.1 Performance Metrics

The study identified "intuitionistic content"—defined by the number of nested implications ($|X|$) and universal quantifiers ($|Q|$)—as the primary predictor of difficulty.

  • Niche Superiority: For problems with no quantifiers ($|Q|=0$) and few implication clauses ($|X| \le 2$), the embedding approach solved 88.2% of problems. This significantly outperformed specialized provers like ileanCoP (71.9%) and nanoCoP-i (38.1%).
  • Unique Solves: The method successfully solved 52 problems that existing state-of-the-art intuitionistic provers failed to solve.
  • Complexity: While the CPC translation can suffer from exponential blow-up relative to $|X|$, the QBF translation remains polynomial in size.

3.2 Counter-model Transfer

A significant advantage of this construction is the ability to map classical counter-examples back to Kripke counter-models. This feature is vital for debugging and model-checking in constructive environments.

4. Limitations and Future Work

The primary limitation is the "explosion" problem: formulas with high intuitionistic content can result in translated files too large for efficient processing. For example, the benchmark problem SYN007+1 had to be excluded due to size explosion during normalization.

Future research will focus on more sophisticated encodings of model properties to further restrict the search space. Additionally, the authors aim to develop "proof translation" methods to complement their counter-model work, potentially enabling automated program extraction from classical proofs of translated intuitionistic formulas.

Summary updated

BibTeX
@inproceedings{pluska2023embedding,
  author = {Alexander Pluska and Florian Zuleger},
  title = {{Embedding Intuitionistic into Classical Logic}},
  booktitle = {Lpar},
  year = {2023},
  doi = {10.29007/b294},
}
Figure