Abstract:We present a calculus, called the scheme-calculus, that permits to express natural deduction proofs in various theories. Unlike $\lambda$-calculus, the syntax of this calculus sticks closely to the syntax of proofs, in particular, no names are introduced for the hypotheses. We show that despite its non-determinism, some typed scheme-calculi have the same expressivity as the corresponding typed $\lambda$-calculi.
What problem does this paper attempt to address?
The main problem that this paper attempts to solve is how to express natural deduction proofs without introducing hypothesis names. Specifically, the author proposes a new calculus system called scheme - calculus, aiming to overcome the problem in traditional λ - calculus that variable names need to be introduced for hypotheses.
### Problem Background
In traditional λ - calculus, in order to express natural deduction proofs, two types of variables are usually introduced: logical variables and variables for naming hypotheses. Although this approach is effective, it also brings some problems:
1. **Context Complexity**: Since it is necessary to distinguish the occurrences of the same proposition at different positions, the context must be a multiset of propositions.
2. **Non - Context - Free Language**: Even in minimal propositional logic, the proofs of a given proposition form a non - context - free language.
3. **Search Space Expansion**: In automatic theorem proving, in order to reduce the search space, the context is usually regarded as a set of propositions rather than a multiset.
### Paper Goals
The author hopes to solve these problems by introducing scheme - calculus. The core features of scheme - calculus include:
- **No Need to Introduce Hypothesis Names**: By keeping variables limited to those in predicate logic and not introducing another type of variable in the hypothesis.
- **Context Simplification**: The context can be simply represented as a set of hypotheses without considering multisets.
- **Context - Free Language**: In minimal propositional logic and its positive fragments, the proofs of a given proposition form a context - free language.
### Main Contributions
The main contribution of the paper lies in proving that scheme - calculus has the same expressive power as dependent - type λ - calculus. Specifically:
- **Subject Reduction Property**: Although scheme - calculus is non - deterministic, it still satisfies the subject reduction property.
- **Normalization Results**: For some type systems, all provable total functions in second - order arithmetic can be expressed in scheme - calculus.
- **Weak Normalization of Weak Reduction**: Under the condition of restricting the use of the minimal substitution strategy, the weak normalization of weak reduction is proved.
### Formula Presentation
In order to better understand scheme - calculus, the following are the formula representations of several key concepts:
- **Simple Type Definition**:
\[
A = P\mid A\Rightarrow A'
\]
where \(P\) is an atomic type.
- **Context Definition**:
\[
\Gamma=\{A_1, A_2,\ldots, A_n\}
\]
The context is a finite set of simple types.
- **Scheme Definition**:
\[
t = \langle A\rangle\mid\lambda A.t\mid(t\ t')
\]
where \(\langle A\rangle\) is the canonical variable of type \(A\), \(\lambda A.t\) is the abstraction of the canonical variable \(\langle A\rangle\), and \((t\ t')\) is the application of scheme \(t\) to scheme \(t'\).
- **Substitution Rule**:
\[
\sigma_\Gamma\langle A\rangle =
\begin{cases}
\{\langle A\rangle, \sigma(A)\}&\text{if }A\in\text{dom}(\sigma)\text{ and }A\in\Gamma\\
\{\sigma(A)\}&\text{if }A\in\text{dom}(\sigma)\text{ and }A\notin\Gamma\\
\{\langle A\rangle\}&\text{if }A\notin\text{dom}(\sigma)
\end{cases}
\]
Through these improvements, scheme - calculus not only simplifies proof expressions but also maintains an expressive power comparable to that of traditional λ - calculus.