设计理论计算机科学,Computer Science Compiler Design Constructive Type Theory计算机科学编译器设计构造型理论.pdf...

1Yet Another Introduction to Constructive Type Theory

Steve Reeves

Department of Computer Science

University of Waikato

stever@waikato.ac.nz

Abstract

In this paper we present, very briefly, the background to CTT and introduce some of the proof

rules that formalize it. We then do some small examples to show how the rules are used and

look at two more general points: using a proof of the axiom of choice as a specification

transformer and showing how working constructively can mean that you use information

during program construction that, classically, would not be available.

1. Introduction

There has been much written, and there is much to say, about the ideas behind Martin-Löf's

Constructive Type Theory (or Constructive Set Theory) [M-L84]. If we move away from the

particular formal system that is CTT to the underlying philosophy and mathematics

(intuitionism) upon which it is based there is even more to say, and even more people have said

it [Bee85, Dum77].

Rather than rehearse all of the arguments for and against intuitionism and for and against CTT,

in this paper we will take the formalisation as it is and see some of what we can do with it.

Having said that, however, a few points will be made in the Conclusion.

If you have never seen CTT before, you are going to find even these small examples hard to

understand (I guarantee). However, there are many accessible introductions, with [M-

L84,Bee85,NPS90,Ree91,Tho91] being some examples.

1.1 Some jargon and definitions

Given that there are many ways of presenting CTT, we need to start with some jargon. The

descriptions given here of the machinery of the formal system are meant just to i

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值