Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Logic and CS / Girard. Proofs and Types.pdf
Скачиваний:
38
Добавлен:
10.08.2013
Размер:
947.15 Кб
Скачать

Chapter 13

Cut Elimination (Hauptsatz)

Gentzen's theorem, one of the most important in logic, is not very far removed from normalisation in natural deduction, which is to a large extent inspired by it. In a slightly modi ed form, it is at the root of languages such as PROLOG. In other words, it is a result which everyone should see proved at least once. However the proof is very delicate and ddly. So we shall begin by pointing out the key cases which it is important to understand. Afterwards we shall develop the detailed proof, whose intricacies are less interesting.

13.1The key cases

The aim is to eliminate cuts of the special form

A ` C; B A0; C ` B0

Cut

A; A0 ` B; B0

where the left premise is a right logical rule and the right premise a left logical rule, so that both introduce the main symbol of C. These cases enlighten the deep symmetries of logical rules, which match each other exactly.

1. R^ and L1^

 

 

 

 

 

 

 

 

A ` C; B A0 ` D; B0

 

A00; C ` B00

 

 

0

` C ^ D; B; B

0

R^

00

; C ^ D ` B

00

L1^

 

A; A

 

 

A

 

Cut

 

 

 

A; A0; A00 ` B; B0; B00

 

 

 

 

 

 

is replaced by

104

13.1. THE KEY CASES

105

A ` C; B A00; C ` B00

Cut

A; A00 ` B; B00

================

A; A0; A00 ` B; B0; B00

where the double bar denotes a certain number of structural rules, in this case weakening and exchange.

2. R^ and L2^

 

 

 

 

 

 

 

 

A ` C; B A0 ` D; B0

 

A00; D ` B00

 

 

0

` C ^ D; B; B

0

R^

00

; C ^ D ` B

00

L2^

 

A; A

 

 

A

 

Cut

 

 

 

A; A0; A00 ` B; B0; B00

 

 

 

 

 

 

is replaced similarly by

A0 ` D; B0 A00; D ` B00

Cut

A0; A00 ` B0; B00

================

A; A0; A00 ` B; B0; B00

3. R1_ and L_

 

 

 

 

 

 

 

 

 

 

A ` C; B

 

A0; C ` B0

A00; D ` B00

 

 

R1_

 

0

00

 

0

 

00

 

L_

 

A ` C _ D; B

 

A

; A

; C

_ D ` B

; B

 

Cut

 

A; A0; A00 ` B; B0; B00

 

 

 

 

 

 

 

 

 

is replaced by

A ` C; B A0; C ` B0

Cut

A; A0 ` B; B0

================

A; A0; A00 ` B; B0; B00

This is the dual of case 1.

106

CHAPTER 13. CUT ELIMINATION (HAUPTSATZ)

4. R2_ and L_

 

 

 

 

 

 

 

 

 

 

A ` D; B

 

A0; C ` B0

A00; D ` B00

 

 

R2_

 

0

00

 

0

 

00

 

L_

 

A ` C _ D; B

 

A

; A

; C

_ D ` B

; B

 

Cut

 

A; A0; A00 ` B; B0; B00

 

 

 

 

 

 

 

 

 

is replaced by

A ` D; B A00; D ` B00

Cut

A; A00 ` B; B00

================

A; A0; A00 ` B; B0; B00

This is the dual of case 2.

 

A; C ` B

A0 ` C; B0

 

 

 

 

R:

0

 

:C ` B

0

L:

5. R: and L:

A ` :C; B

A

;

 

Cut

A; A0 ` B; B0

 

 

 

 

 

 

is replaced by

A0 ` C; B0 A; C ` B

Cut

A0; A ` B0; B

==========

A; A0 ` B; B0

Note the switch.

 

 

 

 

 

 

 

 

6. R) and L)

 

 

 

 

 

 

 

 

 

A; C ` D; B

A0 ` C; B0

A00; D ` B00

 

 

 

R)

0

00

 

0

 

00

 

L)

 

A ` C ) D; B

A

; A

; C ) D ` B

; B

 

 

Cut

 

 

 

 

 

 

 

 

 

A; A0; A00 ` B; B0; B00

 

 

 

 

 

is replaced by

13.1. THE KEY CASES

107

A0 ` C; B0

A; C ` D; B

Cut

 

 

 

 

 

 

 

 

A0; A ` B0; D; B

 

 

=============

 

A00; D ` B00

 

 

A; A0

` D; B; B0

Cut

 

 

A; A0; A00 ` B; B0; B00

 

 

 

So the problem is solved by two cuts.

7. R8 and L8

A ` C; B

A0; C[a= ] ` B0

 

 

R8

0

; 8 : C ` B

0

 

L8

A ` 8 : C; B

A

 

 

Cut

A; A0 ` B; B0

 

 

 

 

 

 

 

is replaced by

A ` C[a= ]; B A0; C[a= ] ` B0

Cut

A; A0 ` B; B0

where a is substituted for throughout the left-hand sub-proof.

8. R9 and L9

A ` C[a= ]; B

 

 

A0; C ` B0

 

 

 

 

R9

0

; 9 : C ` B

0

L9

 

A ` 9 : C; B

A

 

Cut

A; A0 ` B; B0

 

 

 

 

 

 

is replaced by

A ` C[a= ]; B A0; C[a= ] ` B0

Cut

A; A0 ` B; B0

This is the dual of case 7.

Соседние файлы в папке Logic and CS