Domain-specific type systems in the church and curry formalism
- 1 National Research Nuclear University MEPhI (Moscow, Russia)
- 2 LLC "JurInfoR" (Moscow, Russia)
Abstract
Currently there are two main methods for constructing type systems for lambda calculus: following the Church approach and following the Curry approach. In systems based on the Church approach, terms represent annotated versions of untyped terms. Each term has a type, which is usually unique (up to an equivalence relation) and is derived from the term annotation. In the typed lambda calculus à la Curry, each term has a set of possible types. This set can be empty, singleton, or consist of several (possibly infinitely many) elements. Aim of article to present a method for constructing type systems with different approaches, highlight their advantages and disadvantages, and to determine the possibility of their application for constructing a domain-oriented type system when constructing practical applicative systems.
A method for constructing type systems based on different approaches is presented, and recommendations for their application in constructing a domain-oriented type system are given. The results of the work can be used in the selection or construction of an tooling system to support practical applicative systems.
- Received
- 30.08.2024
- Approved after review
- 13.09.2024
- Accepted
- 27.09.2024
How to cite
Исмаилова Л.Ю., Косиков С.В. Предметно-ориентированные системы типов в формализме Чёрча и Карри // Информационно-измерительные и управляющие системы. 2024. Т. 22. № 5. С. 39−45. DOI: https://doi.org/10.18127/j20700814-202405-05
References
- Volfengagen V.E. Metody i sredstva vychislenii s ob'ektami. Applikativnye vychislitelnye sistemy. M.: YurInfoR. 2004. 787 s. ISBN 5-89158-100-0. (in Russian)
- Wolfengagen V., Ismailova L., Kosikov S. When and Where Conceptual Maths Equals to Conceptual Modeling: Reasons for Using in Cognitive Modeling. Proceedings of BICA*AI. 2023.
- Ismailova L., Wolfengagen V., Kosikov S. Elements of semantic analysis based on lambda-calculus. Proceedings of BICA*AI. 2022.
- Slieptsov I., Ismailova L., Kosikov S. Analysis and comparison of generators of words of context-sensitive language on example of typed λ-calculus. Proceedings of BICA*AI. 2022.
- Williams C., Stay M. Native Type Theory. 27th International Conference on Types for Proofs and Programs. 2021. https://types21.liacs.nl/.
- Altenkirch T., Kaposi A. A container model of type theory. 27th International Conference on Types for Proofs and Programs. 2021. https://types21.liacs.nl/.
- Mc Bride C., Forsberg F.N. Functorial Adapters. 27th International Conference on Types for Proofs and Programs. 2021. https://types21.liacs.nl/.
- Dybjer P., Setzer A. Implementing Martin-Löf’s Meaning Explanations for Intuitionistic Type Theory in Agda. 28th International Conference on Types for Proofs and Programs. 2022. https://types22.inria.fr/.
- Booij A. Exhaustive testing of property testers. 28th International Conference on Types for Proofs and Programs. 2022. https://types22.inria.fr/.
- Shulman M. The unifying power of modal type theory. The Second International Conference on Homotopy Type Theory (HoTT). 2023. https://hott.github.io/HoTT-2023//.
