l'ÉITI Recherche Nouvelles HREF= Répertoires Ressources Génie/Engineering Ud'O/UofO SITE Search News Directories Resources SITE

Introduction

These are study notes for my comprehensive. My reading list includes Girard's book: "proofs and types" (see link on right hand top inset for online version). Note that math notation based on Peter Jipsen's ASCIIMathML.js works in Netscape7.1/Mozilla/Firefox only. I still need to get it to work on other browsers. In the other browser(s), you should see mathematical formulas as $ delimited garbage $.

The simply-typed $\lambda$-calculus

The simply-typed $\lambda$-calculus is introduced on: It is sometimes necessary to know the domain/codomain of a function ahead of time. Types are syntactic objects. They can be thought of as names for sets.

Introduction

There are only two rules for creating types from atomic types:

Typing The Terms

Denotational Semantics

Consistence

Decidability

Consistence and decibility are a consequence of the Church-Rosser Theorem and of the Normalisation Theorem (see below)

The Curry-Howard Isomorphism

The Curry-Howard isomorphism establishes a connection between propositional logic and the simply-typed $\lambda$-calculus. Using this connection, it is possible to view types as propositions and terms as proofs of propositions.

Important: Note here that (Girard's 1.2.2, page 5) the logic that is connected to the calculus is Brouwer's intuitionistic logic which corresponds to Heyting semantics (as opposed to classical logic). This is also described on page 37 of Selinger's notes.

The isomorphism is defined below (section 3.5 page 19 in Girard's):

Conversion

(3.4. page 24 in Girards's Proof and Types)

Conversion

Below, term $t$ (the redex) converts to $t'$ (the contractum)

Reduction

A term $u$ reduces to a term $v$ when there is a sequence of conversions from $u$ to $v$, that is a sequence $u = t_0, t_1,\cdots, t_{n-1}, t_n = v$ such that for $i = 0, 1,\cdots, n-1$, $t_{i+1}$ is obtained from $t_i$ by replacing a redex by its contractum. “u reduces to v” is written $u\lred v$

Normal forms

Definition: A term is normal if none of its subterms is of the form:

A normal form for a term $t$ is a term $u$ such that $t\lred u$ and $u$ is normal. Normal forms exist and are unique (Chapter 4 in Girards's Proof and Types).

The Church-Rosser property

if $t\lred u$ and $t\lred v$ then , there is a $w$ s.t. $u\lred w$ and $v\lred w$ (proof sketch around pg 21 of Selinger's notes)

As a corollary (pg 23 in Girard's notes), if $t\lred u$ and $t\lred v$ and both $u$ and $v$ are normal, then $u = v$. This is obvious since neither $u$ nor $v$ can be reduced any further.

The Weak Normalisation Theorem

Girard (section 4.2 pg 24)

All term have a normal form (which is unique). Note that this doesn't mean that all reduction procedures will reach the normal form.

The proof (for which I am responsible) looks vaguely like:

The Strong Normalisation Theorem

(Chapter 6 in Girard's)

Strong Normalisation

Definition: A term $t$ is strongly normalisable iff there is no infinite reduction sequence beginning with $t$.

Lemma:
$t$ is strongly normalisable iff there is a number $\nu(t)$ which bounds the length of any normalisation sequence that begins with $t$.

Theorem (The strong normalisation theorem):
All terms are strongly normalisable.

In order to prove the theorem, the notion of reducibility and neutralility are defined as follows:

Reducibility

Definition: A term $t:T$ is a reducible term of type $T$, written $t\in RED_T$ if, by induction on the type $T$:

Neutrality

Definition: A term $t:T$ is neutral if it isn't in the form $(:u,v:)$ or $\lambda x.v$

Girard then proves the following 4 conditions:

The principal type property

Every typeable lambda term has a most general type.
Franck J.L. Binard

School of Information Technology and Engineering (SITE)
University of Ottawa
800 King Edward Ave.
Ottawa, Ontario, Canada, K1N 6N5
Tel: (613) 562-5800 x6727, Fax: (613) 562-5664
Office: 4-035 SITE
Email: fbinard@site.uottawa.ca
Contactez: L'École d'ingénierie et de technologie de l'information
Contact: School of Information Technology and Engineering
Copyright © 2001 Université d'Ottawa / University of Ottawa
Webmestre / Webmaster