Abstract:We give an exposition of the semantics of the simply-typed lambda-calculus, and its linear and ordered variants, using multi-ary structures. We define universal properties for multicategories, and use these to derive familiar rules for products, tensors, and exponentials. Finally we explain how to recover both the category-theoretic syntactic model and its semantic interpretation from the multi-ary framework.
What problem does this paper attempt to address?
The core problem that this paper attempts to solve is about the categorical structure corresponding to the internal language of simply - typed λ - calculus in the absence of product types (products). Specifically, the author hopes to find a new method to understand and interpret the semantics of simply - typed λ - calculus and its variants (such as combinatory logic), and eliminate the mismatch problem between terms and morphisms in traditional methods through the multimap structure.
### Detailed Interpretation
1. **Background and Motivation**
- Traditional simply - typed λ - calculus usually uses cartesian closed categories (CCCs) as its internal language.
- In CCC, a morphism \( A \to B \) is unary (has only one input), while terms - in - context can have multiple inputs. For example, a term \( t : A_1,\ldots, A_n\vdash B \) can have multiple inputs.
- This mismatch leads to complexity and some less intuitive results, such as the need to encode the context as a product type.
2. **Research Goals**
- **Eliminate Mismatch**: Eliminate this mismatch by introducing the multimap structure, that is, a mapping that allows multiple inputs and one output.
- **Study the Semantics of Combinatory Logic**: Use the multimap structure to study the semantics of (cartesian) combinatory logic.
- **Define a New Categorical Model**: Based on the above results, define the categorical semantics of simply - typed λ - calculus (without product types).
3. **Main Contributions**
- **Application of Multimap Structure**: The author shows how to simplify the semantic interpretation of simply - typed λ - calculus through the multimap structure and derives unary semantic interpretations and syntactic models.
- **Extension to Combinatory Logic**: Introduce multimap models (SK - clones) to study combinatory logic and prove that these models are equivalent to closed clones, thus establishing the classical correspondence between combinatory logic and simply - typed λ - calculus.
- **Define a New Categorical Model**: Introduce a variant of Eilenberg & Kelly's closed categories (SK - categories) and prove that these categories are equivalent to closed clones, so they are categorical models of simply - typed λ - calculus (without product types).
### Formula Summary
- **Multimap Structure**: A multimap \( A_1,\ldots, A_n \to B \) represents a mapping with multiple inputs and one output.
- **Cartesian Clone**: Define a cartesian clone \( (C,\Pi) \) where \( C \) is a clone and \( MC \) is equipped with a finite product structure.
- **Representative Multimap Category**: Define a representative multimap category \( M \) where each object \( X_1,\ldots, X_n \) has a universal arrow \( \rho_{X^\bullet}:X_1,\ldots, X_n \to T(X_1,\ldots, X_n) \).
### Conclusion
This paper successfully solves the internal language problem of simply - typed λ - calculus (without product types) by introducing the multimap structure and provides a new and more concise method to understand and interpret its semantics. This not only clarifies the mismatch problem in traditional methods but also establishes a stronger connection between combinatory logic and simply - typed λ - calculus.