Programming in Martin-Lof's Type Theory: An Introduction

Programming in Martin-Lof's Type Theory: An Introduction

简介:

出现了几种程序建设的形式主义。一种这样的形式主义是Per martin-lof提出的类型理论。非常适合作为程序构建的理论,它可以在相同的形式体系中表达规范和程序。此外,证明规则可用于从规范导出正确的程序,以及验证给定程序具有特定属性。作为一种编程语言,类型理论与Hope和ML等类型化函数式语言相似,但主要区别在于对类型良好的程序的评估总是终止。在类型理论中,还可以编写编程任务的规范以及开发可证明正确的程序。本书包含对类型理论的全面介绍,以及有关多态集,子集,单态集的信息以及全套有用的示例。本书中的类型理论介绍与Per martin-löf的建设性数学和计算机编程中的类型理论介绍之间的主要区别之一是,本书使用统一的表达式符号。

英文简介:

Several formalisms for program construction have appeared. One such formalism is the type theory developed by Per Martin-Lof. Well suited as a theory for program construction, it makes possible the expression of both specifications and programs within the same formalism. Furthermore, the proof rules can be used to derive a correct program from a specification as well as to verify that a given program has a certain property.

As a programming language, type theory is similar to typed functional languages such as Hope and ML, but a major difference is that the evaluation of a well-typed program always terminates. In type theory it is also possible to write specifications of programming tasks as well as to develop provably correct programs.

This book contains a thorough introduction to type theory, with information on polymorphic sets, subsets, monomorphic sets, and a full set of helpful examples.

One of the main differences between the type theory presentation in this book and the one in Per Martin-Löf's Constructive Mathematics and Computer Programming is that this book uses a uniform notation for expressions.

书名
Programming in Martin-Lof's Type Theory: An Introduction
译名
Martin-Lof 类型理论中的编程:简介
语言
英语
年份
1990
页数
211页
大小
692.67 kB
下载
pdf iconProgramming in Martin-Lof's Type Theory: An Introduction.pdf
密码
65536

最后更新:2025-04-12 23:57:36

←Computer Music using SuperCollider and Logic Pro

→Proofs and Types