Recursion-free modular arithmetic in the lambda-calculus |
| |
Affiliation: | Mathematical Institute, University of Oxford, United Kingdom of Great Britain and Northern Ireland |
| |
Abstract: | We investigate encodings for modular arithmetic in the lambda-calculus. There are two approaches: adapting well-known numeral systems, and building a new one. This paper focuses on providing original techniques to encode modular arithmetic directly. We present a modular arithmetic numeral system complete with multiplication and an implementation of the Chinese remainder theorem, all without recursion i.e., without using fixed-point operators. |
| |
Keywords: | Lambda calculus Numeral systems Modular arithmetic Functional programming |
本文献已被 ScienceDirect 等数据库收录! |