AD-7D Condensed detachment 1057D6 Meredith's Curry-Howard Theorem (D. Meredith.) Let {C1, C2,...} be a finiteor infinite set of typable closed A-terms, let PT(C;) - yi, and let Al = {y1,y2.... }.Then the theorems of condensed A-logic are exactly the PTs of the typable applicativecombinations of C1, C2. ....Proof By 7D2.7D7 TheoremThe axiom-set {(B), (C), (I), (W)} for R_, given in 6D4 is D-complete.Proof Let T be provable in R.. Then by 6D7.1, r is the type of an applicativecombination M of B, C, I and W. Hence by 7C8, r - PT(M*) for some applicativecombination M* of M, B, B', I and W. Let M** be the result of replacing B' in M*by the following combination of C, B and I:B(B(CIB)B)(CI).It is straightforward to check that this combination has the same PT as B' (in factit also reduces to B'); so PT(M**) -PT(M*) - T. Hence r is a BCIW-PT. But by7D6 every BCIW-PT is a D-theorem of the logic whose axioms are the PT's of B, C,I, W, and this logic is R..The next step in answering Question 7D5.2 is to prove the D-completeness of theaxiom-set {(B), (C), (K), (W)} for Intuitionist logic. This logic is stronger than Rte,and if we view the D-completeness of a set of axioms as saying that deductionsobtained by rule (Sub) can be imitated using rule (D) in combination with someof the axioms, it is natural to conjecture that if we strengthen a D-complete set itwill remain D-complete. The following definition and lemma make this conjectureprecise.7D8 Definition For any sets Al and B of formulae: B-logic is called an extension ofA-logic if B' =2 A'; it is called a D-extension of Al-logic if7D8.1 Note If B 2 A then B-logic is both an extension and a D-extension ofA-logic.7D9 D-Extension Lemma If A is D-complete and a-*a is an A-theorem, then everyset B whose logic is a D-extension of A-logic is D-complete.ADI-;Proof Let BDF 2 to prove B is D-complete we must show that if A is adeduction from B by rules (-*E) and (Sub), each application of (-*E) or (Sub) in Acan be replaced by one of (D).is already a special case of (D).Case (Sub). It is enough to show that if s is any substitution thenDF _ §(2) EBDI-.
106 7 The converse principal-type algorithmFirst note that a-+a E A' by assumption, so by (Sub),§(z) - s(a) E V-.But we have assumed AF = A°- and ADS-BD-, sos(2)->s(r) E BD-.Now it is easy to see from Definition 7D1 thatD(s(i)->s(r), r) = S(T).Hence by rule (D) applied to the D-theorems S(T)--+S(T) and T we gets(2) E I°F.7D10 Theoremis D-complete.The axiom-set {(B), (C), (K), (W)} for Intuitionist logic given in 6D3Proof By 7D7 and 7D9, since this logic is a D-extension of R..7D11 Note (Other D-complete logics) (i) Classical logic. The implicational fragmentof classical logic is a Hilbert-style system defined by the axioms (B), (C), (K), (W)and(PL)((PL) is called Peirce's law, see .6A1.2 and 6B7.4.) It can be shown that a formulais provable in this system if it is a tautology in the usual truth-table sense. (Prior1955 Part I, Ch. III.) By 7D9-10 this system is D-complete.(ii) Ticket entailment. A Hilbert-style logic defined by the axioms (B), (B'), (I) and(W) listed in 6B2.1 was introduced in Anderson and Belnap 1975 (see especiallyCh. 1 §§6, 8.3.2), where it was called T_, or the logic of ticket entailment. The detailsof T_, and its motivation are not the concern of this book, but in a sense (B) and(B') are "right-handed" and "left-handed" replacement properties: if a-+b holds, (B)says that a can be replaced by b in the formula c-.a and (B') says that b can bereplaced by a in a-*c. (Meanings for (I) and (W) were suggested in 6D6.1(ii).) Thislogic can be shown to be weaker than R_, but by 7D6 and 7C8 it is neverthelessD-complete. 1(iii) A set of axioms whose logic is strictly weaker than T. was proved D-completeby N. Megill in unpublished notes in 1993, and an infinite series of ever weakeningD-complete axiom-sets has since been constructed (Megill and Bunder 1996).But not all axiom-sets are D-complete, as the next theorem will show.7D12 TheoremD-incomplete.The axiom-sets {(B), (C), (K)} and {(B), (C), (I)} given in 6D5-6 are1 By the way, it is not yet known whether there is a decision-procedure for provability in T...,.
- Page 2 and 3:
BASIC SIMPLE TYPE THEORY
- Page 4 and 5:
BASIC SIMPLE TYPE THEORYJ. Roger Hi
- Page 6:
To Carol
- Page 9 and 10:
VlllContents7C The converse PT proo
- Page 11 and 12:
xIntroductionhave proved themselves
- Page 14 and 15:
1The type-free A-calculusThe R-calc
- Page 16 and 17:
1A A-terms and their structure 31A6
- Page 18 and 19:
I B #-reduction and #-normal forms
- Page 20 and 21:
IC rl- and firs-reductions 7Proof S
- Page 22 and 23:
IC q- and iq-reductions93TFig. lC7a
- Page 24 and 25:
1D Restricted A-terms 11(ii) The BC
- Page 26 and 27:
2A The system TAA 132A2 Definition
- Page 28 and 29:
2A The system TA, 152A5.1 Notation
- Page 30 and 31:
2A The system TA2172A8.3 Example Le
- Page 32 and 33:
Proof Trivial from 2A9.2A The syste
- Page 34 and 35:
2B The subject-construction theorem
- Page 36 and 37:
2B The subject-construction theorem
- Page 38 and 39:
2C Subject reduction and expansion2
- Page 40 and 41:
2D The typable terms 27However, Cha
- Page 42 and 43:
2D The typable terms 292D8.1 Note T
- Page 44 and 45:
3A Principal types and their histor
- Page 46 and 47:
3A Principal types and their histor
- Page 48 and 49:
3B Type-substitutions 353B1 Notatio
- Page 50 and 51:
3B Type-substitutions 37Then r U (s
- Page 52 and 53:
3C Motivating the PT algorithm 39(i
- Page 54 and 55:
3D Unification 41this pair was show
- Page 56 and 57:
3D Unification 43If pk * Tk and the
- Page 58 and 59:
A' _ §(Ap) for some s; hence in pa
- Page 60 and 61:
3E The PT algorithm 47Let r - rl U
- Page 62 and 63:
3E The PT algorithm 49for some subs
- Page 64 and 65:
3E The PT algorithm 513E4 Further R
- Page 66 and 67:
4A The equality rule 53The name "TA
- Page 68 and 69: (M).4A The equality rule 554A3 Weak
- Page 70 and 71: 4B Semantics and completeness 574A1
- Page 72 and 73: 4B Semantics and completeness 59413
- Page 74 and 75: 4B Semantics and completeness 61Pro
- Page 76 and 77: 5A version using typed termsIn Chap
- Page 78 and 79: 5A Typed terms 655A1.5 Warning If M
- Page 80 and 81: 5B Reducing typed terms(ii) if MT E
- Page 82 and 83: 5B Reducing typed terms 695B5.1 Not
- Page 84 and 85: 5C Normalization theorems 71of rede
- Page 86 and 87: SC Normalization theorems 73in leng
- Page 88 and 89: 6A Intuitionist implicational logic
- Page 90 and 91: 6A Intuitionist implicational logic
- Page 92 and 93: 6B The Curry-Howard isomorphism 79T
- Page 94 and 95: 6B The Curry-Howard isomorphism 816
- Page 96 and 97: 6B The Curry-Howard isomorphism 83t
- Page 98 and 99: 6C Some weaker logics 85for some cl
- Page 100 and 101: 6C Some weaker logics 87logic in 6A
- Page 102 and 103: 6D Axiom-based versions 89Deduction
- Page 104 and 105: 6D Axiom-based versions 916D6.1 Not
- Page 106 and 107: The converse principal-type algorit
- Page 108 and 109: 7B Identifications 957A3 Converse P
- Page 110 and 111: 7C The converse PT proofNext, suppo
- Page 112 and 113: Since (a-+b)* __ a--+b, we must pro
- Page 114 and 115: 7C The converse PT proof 101Conside
- Page 116 and 117: instance, construct an m.g.c.i. V -
- Page 120 and 121: 7D Condensed detachment 107Proof By
- Page 122 and 123: 8A Inhabitants 109A Pq-normal inhab
- Page 124 and 125: 8A Inhabitants 1118A7.1 Example Let
- Page 126 and 127: 8A Inhabitants113Fig. 8A12a.8A11.2
- Page 128 and 129: 8B Examples of the search strategy
- Page 130 and 131: 8B Examples of the search strategy
- Page 132 and 133: 8C The search algorithm 119Long(s)
- Page 134 and 135: 8C The search algorithm 121Note. Th
- Page 136 and 137: 8C The search algorithm1238C6.1 Exa
- Page 138 and 139: 8D The Counting algorithm 1258D3.1
- Page 140 and 141: 8E The structure of a nf-scheme 127
- Page 142 and 143: 8E The structure of a nf-scheme129x
- Page 144 and 145: 8E The structure of a nf-scheme131T
- Page 146 and 147: 8F Stretching, shrinking and comple
- Page 148 and 149: 8F Stretching, shrinking and comple
- Page 150 and 151: 8F Stretching, shrinking and comple
- Page 152 and 153: 8F Stretching, shrinking and comple
- Page 154 and 155: 9A The structure of a term 1419A2 D
- Page 156 and 157: 9A The structure of a term(ii) if r
- Page 158 and 159: 9B Residuals 145Proof-note Two case
- Page 160 and 161: 9B Residuals 1479134.1 Lemma Every
- Page 162 and 163: 9C The structure of a TAR-deduction
- Page 164 and 165: 9D The structure of a type 151below
- Page 166 and 167: 9E The condensed structure of a typ
- Page 168 and 169:
9E The condensed structure of a typ
- Page 170 and 171:
9F Imitating combinatory logic in A
- Page 172:
[x].N*Before constructing9F Imitati
- Page 175 and 176:
162 Answers to starred exerciseswit
- Page 177 and 178:
164 Answers to starred exercisesIf
- Page 179 and 180:
166 Answers to starred exercisesTo
- Page 182 and 183:
BibliographyReferences to unpublish
- Page 184 and 185:
Bibliography 171DOSEN, K. [1992a] M
- Page 186 and 187:
Bibliography 173KALMAN, J. A. [1983
- Page 188 and 189:
Bibliography 175SCEDROV, A. [1990]
- Page 190 and 191:
Table of principal typesThis table
- Page 192 and 193:
IndexA-logics (see axiom-based logi
- Page 194 and 195:
Index 181D-incompleteness of BCI, B
- Page 196 and 197:
Index183PT algorithm, converse (see
- Page 198 and 199:
Index185#-contraction 4of typed ter