How to avoid the commuting conversions of IPC

José Espírito Santo,Gilda Ferreira
2024-02-26
Abstract:Since the observation in 2006 that it is possible to embed IPC into the atomic polymorphic lambda-calculus (a predicative fragment of system F with universal instantiations restricted to atomic formulas) different such embeddings appeared in the literature. All of them comprise the Russell-Prawitz translation of formulas, but have different strategies for the translation of proofs. Although these embeddings preserve proof identity, all fail in delivering preservation of reduction steps. In fact, they translate the commuting conversions of IPC to beta-equality, or to other kinds of reduction or equality generated by new principles added to system F. The cause for this is the generation of redexes by the translation itself. In this paper, we present an embedding of IPC into atomic system F, still based on the same translation of formulas, but which maps commuting conversions to syntactic identity, while simulating the other kinds of reduction steps present in IPC beta\eta-reduction. In this sense the translation achieves a truly commuting conversion-free image of IPC in atomic system F.
Logic in Computer Science,Logic
What problem does this paper attempt to address?
The problem that this paper attempts to solve is: how to avoid the commuting conversions in Intuitionistic Propositional Calculus (IPC) from being translated into β -equivalence or other forms of reduction or equivalence generated by new principles during the process of embedding IPC into atomic system F. Specifically, although the existing embedding methods preserve the proof identity, there are problems in simulating the reduction steps in IPC, especially in correctly simulating the commuting conversions. ### Core of the Problem 1. **Limitations of Existing Methods**: - When translating the proofs of IPC, the existing embedding methods will generate some additional "administrative" redexes, which are not existing in the source proofs but are introduced by the translation process itself. - The existence of these administrative redexes leads to the fact that the commuting conversions in IPC cannot be correctly simulated after translation, but become β -equivalence or other forms of equivalence. 2. **Objective**: - The objective of the paper is to propose a new embedding method so that the commuting conversions in IPC can maintain syntactic identity after being translated into atomic system F, while simulating other types of reduction steps. ### Solution The paper proposes an optimized embedding method, which achieves this goal in the following ways: - **Optimized Construction**: Introduce the optimized versions of the `CASE` and `ABORT` constructions. These constructions use the `@` operator when defined, which can force the reduction of unnecessary redexes during compilation. - **Extended λ -abstraction and Duality**: Use the extended λ -abstraction and duality constructions to prevent some unnecessary reductions. - **Generalized `@` Operator**: Use the `@` operator not only when defining `CASE` and `ABORT`, but also when translating applications and projections to ensure the consistency and correctness throughout the translation process. ### Main Results Through this method, the paper has achieved the following results: - If `M → N` is a commuting conversion in IPC, then in atomic system F, `M♦` and `N♦` are the same proof. - The new translation method not only quantitatively reduces the generation of administrative redexes, but also qualitatively realizes a truly commuting - conversion - free representation of IPC. ### Summary The main contribution of the paper lies in providing an improved embedding method, which solves the problem that the commuting conversions cannot be correctly simulated in the existing methods, thus providing a more accurate and effective solution for the representation of IPC in atomic system F.