- Page 2 and 3: Second EditionComputability,Complex
- Page 4: To the memory of Helen and Harry Da
- Page 7 and 8: viiiContents3 Primitive Recursive F
- Page 9 and 10: XContents11 Context-Sensitive Langu
- Page 12 and 13: PrefaceTheoretical computer science
- Page 14: PrefaceXValso be read immediately f
- Page 17 and 18: xviiiAcknowledgmentsAcknowledgments
- Page 20 and 21: 1Preliminaries1. Sets and n-tuplesW
- Page 22 and 23: 2. Functions 3S 1 X S 2 X ••·
- Page 24 and 25: 4. Predicates 5If u E A*, we write
- Page 26 and 27: 5. Quantifiers 7Thus, let P(t, x 1
- Page 28 and 29: 7. Mathematical Induction 9has no s
- Page 30 and 31: 7. Mathematical Induction 11be prov
- Page 34: Part 1Computability
- Page 37 and 38: 18Chapter 2 Programs and Computable
- Page 39 and 40: 20 Chapter 2 Programs and Computabl
- Page 41 and 42: 22 Chapter 2 Programs and Computabl
- Page 43 and 44: 24 Chapter 2 Programs and Computabl
- Page 45 and 46: 26 Chapter 2 Programs and Computabl
- Page 47 and 48: 28 Chapter 2 Programs and Computabl
- Page 49 and 50: 30 Chapter 2 Programs and Computabl
- Page 51 and 52: 32 Chapter 2 Programs and Computabl
- Page 53 and 54: 34 Chapter 2 Programs and Computabl
- Page 55 and 56: 36 Chapter 2 Programs and Computabl
- Page 58 and 59: 3Primitive Recursive Functions1. Co
- Page 60 and 61: 2. Recursion 41Hence we have availa
- Page 62 and 63: 3. PRC Classes 43Corollary 3.2. The
- Page 64 and 65: 4. Some Primitive Recursive Functio
- Page 66 and 67: 4. Some Primitive Recursive Functio
- Page 68 and 69: 5. Primitive Recursive Predicates 4
- Page 70 and 71: 5. Primitive Recursive Predicates 5
- Page 72 and 73: 6. Iterated Operations and Bounded
- Page 74 and 75: 7. Mlnlmallzatlon 555. Let 'lf be a
- Page 76 and 77: 7. Minimalization 57To do so note t
- Page 78 and 79: 8. Pairing Functions and G6del Numb
- Page 80 and 81: 8. Pairing Functions and Godel Numb
- Page 82:
8. Pairing Functions and GOdel Numb
- Page 85 and 86:
66 Chapter 4 A Universal Program3.
- Page 87 and 88:
68 Chapter 4 A Universal Program2.
- Page 89 and 90:
70 Chapter 4 A Universal Program4.
- Page 91 and 92:
72 Chapter 4 A Universal Program(Z)
- Page 93 and 94:
74 Chapter 4 A Universal ProgramA s
- Page 95 and 96:
76 Chapter 4 A Universal ProgramPro
- Page 97 and 98:
78 Chapter 4 A Universal Program(d)
- Page 99 and 100:
80 Chapter 4 A Universal Program"ye
- Page 101 and 102:
82 Chapter 4 A Universal ProgramPro
- Page 103 and 104:
84 Chapter 4 A Universal ProgramCom
- Page 105 and 106:
86 Chapter 4 A Universal ProgramThe
- Page 107 and 108:
88 Chapter 4 A Universal Program4.*
- Page 109 and 110:
90 Chapter 4 A Universal ProgramEac
- Page 111 and 112:
92 Chapter 4 A Universal ProgramDef
- Page 113 and 114:
94 Chapter 4 A Universal Programso,
- Page 115 and 116:
96 Chapter 4 A Universal ProgramThe
- Page 117 and 118:
98 Chapter 4 A Universal ProgramWe
- Page 119 and 120:
100 Chapter 4 A Universal ProgramOn
- Page 121 and 122:
102 Chapter 4 A Universal ProgramPr
- Page 123 and 124:
104 Chapter 4 A Universal ProgramDo
- Page 125 and 126:
106 Chapter 4 A Universal Programfu
- Page 127 and 128:
108 Chapter 4 A Universal ProgramTh
- Page 129 and 130:
110 Chapter 4 A Universal Programfo
- Page 131 and 132:
112 Chapter 4 A Universal ProgramTh
- Page 133 and 134:
114 Chapter 5 Calculations on Strin
- Page 135 and 136:
116 Chapter 5 Calculations on Strin
- Page 137 and 138:
118 Chapter 5 Calculations on Strin
- Page 139 and 140:
120 Chapter 5 Calculations on Strin
- Page 141 and 142:
122 Chapter 5 Calculations on Strin
- Page 143 and 144:
124Chapter 5 Calculations on String
- Page 145 and 146:
126 Chapter 5 Calculations on Strin
- Page 147 and 148:
128 Chapter 5 Calculations on Strin
- Page 149 and 150:
130 Chapter 5 Calculations on Strin
- Page 151 and 152:
132Chapter 5 Calculations on String
- Page 153 and 154:
134 Chapter 5 Calculations on Strin
- Page 155 and 156:
136 Chapter 5 Calculations on Strin
- Page 157 and 158:
138 Chapter 5 Calculations on Strin
- Page 159 and 160:
140 Chapter 5 Calculations on Strin
- Page 161 and 162:
142 Chapter 5 Calculations on Strin
- Page 163 and 164:
144 Chapter 5 Calculations on Strin
- Page 165 and 166:
146 Chapter 6 Turing MachinesWe int
- Page 167 and 168:
148 Chapter 6 Turing MachinesProof.
- Page 169 and 170:
150 Chapter 6 Turing MachinesCombin
- Page 171 and 172:
152 Chapter 6 Turing Machines4. For
- Page 173 and 174:
154 Chapter 6 Turing Machinesit wil
- Page 175 and 176:
156 Chapter 6 Turing Machinesby mov
- Page 177 and 178:
158 Chapter 6 Turing Machineshaltin
- Page 179 and 180:
160 Chapter 6 Turing MachinesSo far
- Page 181 and 182:
162 Chapter 6 Turing MachinesTuring
- Page 183 and 184:
164 Chapter 6 Turing MachinesWe wil
- Page 185 and 186:
166Chapter 6 Turing Machines[D][C]R
- Page 187 and 188:
168 Chapter 6 Turing Machines.. ·I
- Page 189 and 190:
170 Chapter 7 Processes and Grammar
- Page 191 and 192:
172 Chapter 7 Processes and Grammar
- Page 193 and 194:
174 Chapter 7 Processes and Grammar
- Page 195 and 196:
176 Chapter 7 Processes and Grammar
- Page 197 and 198:
178 Chapter 7 Processes and Grammar
- Page 199 and 200:
180 Chapter 7 Processes and Grammar
- Page 201 and 202:
182 Chapter 7 Processes and Grammar
- Page 203 and 204:
184 Chapter 7 Processes and Grammar
- Page 205 and 206:
186 Chapter 7 Processes and Grammar
- Page 207 and 208:
188 Chapter 7 Processes and Grammar
- Page 209 and 210:
190 Chapter 7 Processes and Grammar
- Page 211 and 212:
192 Chapter 7 Processes and Grammar
- Page 213 and 214:
194 Chapter 7 Processes and Grammar
- Page 216 and 217:
8Classifying Unsolvable Problems1.
- Page 218 and 219:
1. Using Oracles 199a program in th
- Page 220 and 221:
2. Relativization of Universality 2
- Page 222 and 223:
2. Relativizatlon of Universality 2
- Page 224 and 225:
2. Relatlvlzation of Universality 2
- Page 226 and 227:
3. Reducibility 2073. ReducibilityI
- Page 228 and 229:
3. Reducibility 209Proof. Let BE W.
- Page 230 and 231:
4. Sets r.e. Relative to an Oracle
- Page 232 and 233:
4. Sets r.e. Relative to an Oracle
- Page 234 and 235:
5. The Arithmetic Hierarchy 215Exer
- Page 236 and 237:
6. Post's Theorem 2173. By Theorem
- Page 238 and 239:
6. Post's Theorem219Proof.For n = 0
- Page 240 and 241:
6. Post's Theorem221so that, of cou
- Page 242 and 243:
6. Post's Theorem 223where f is par
- Page 244 and 245:
7. Classifying Some Unsolvable Prob
- Page 246 and 247:
7. Classifying Some Unsolvable Prob
- Page 248 and 249:
7. Classifying Some Unsolvable Prob
- Page 250 and 251:
9. Recursive Permutations 231it is
- Page 252 and 253:
9. Recursive Permutations 233The nu
- Page 254:
Part 2Grammars andAutomata
- Page 257 and 258:
238 Chapter 9 Regular LanguagesTabl
- Page 259 and 260:
240 Chapter 9 Regular Languageson w
- Page 261 and 262:
242 Chapter 9 Regular Languages(a)8
- Page 263 and 264:
244 Chapter 9 Regular Languagesente
- Page 265 and 266:
246 Chapter 9 Regular LanguagesLemm
- Page 267 and 268:
248 Chapter 9 Regular Languages0 F~
- Page 269 and 270:
250 Chapter 9 Regular Languagestheo
- Page 271 and 272:
252 Chapter 9 Regular Languageswith
- Page 273 and 274:
254 Chapter 9 Regular Languagesno s
- Page 275 and 276:
256 Chapter 9 Regular Languagesstat
- Page 277 and 278:
258 Chapter 9 Regular LanguagesTheo
- Page 279 and 280:
260 Chapter 9 Regular LanguagesPa(w
- Page 281 and 282:
262 Chapter 9 Regular LanguagesThis
- Page 283 and 284:
264 Chapter 9 Regular Languagesand
- Page 285 and 286:
266 Chapter 9 Regular Languages11.
- Page 288 and 289:
10Context-Free Languages1. Context-
- Page 290 and 291:
1. Context-Free Grammars and Their
- Page 292 and 293:
1. Context-Free Grammars and Their
- Page 294 and 295:
1. Context-Free Grammars and Their
- Page 296 and 297:
1. Context-Free Grammars and Their
- Page 298 and 299:
1. Context-Free Grammars and Their
- Page 300 and 301:
2. Regular Grammars 281construct a
- Page 302 and 303:
2. Regular Grammars 283There are mo
- Page 304 and 305:
3. Chomsky Normal Form 2858. For a
- Page 306 and 307:
4. Bar-Hillel's Pumping Lemma287Exe
- Page 308 and 309:
4. Bar-Hillel's Pumping Lemma 289sF
- Page 310 and 311:
5. Closure Properties 2915. Closure
- Page 312 and 313:
5. Closure Properties293all belong
- Page 314 and 315:
5. Closure Properties 295for all de
- Page 316 and 317:
6. Solvable and Unsolvable Problems
- Page 318 and 319:
6. Solvable and Unsolvable Problems
- Page 320 and 321:
7. Bracket Languages 301commitment
- Page 322 and 323:
7. Bracket Languages 303PARn(A), an
- Page 324 and 325:
7. Bracket Languages 305where the i
- Page 326 and 327:
7. Bracket Languages 307of r .. Eac
- Page 328 and 329:
8. Pushdown Automata309sequence yiu
- Page 330 and 331:
8. Pushdown Automata 311to the righ
- Page 332 and 333:
8. Pushdown Automata 313L(L 1 ), L(
- Page 334 and 335:
8. Pushdown Automata 315Now we want
- Page 336 and 337:
8. Pushdown Automata 317Proof.For e
- Page 338 and 339:
8. Pushdown Automata 319Exercises1.
- Page 340 and 341:
8. Pushdown Automata321qiaJI: Oqiqi
- Page 342 and 343:
9. Compilers and Formal Languages 3
- Page 344 and 345:
9. Compilers and Formal Languages 3
- Page 346 and 347:
11Context-Sensitive Languages1. The
- Page 348 and 349:
1. The Chomsky Hierarchy 329L is no
- Page 350 and 351:
2. Linear Bounded Automata331Table
- Page 352 and 353:
2. Linear Bounded Automata 333blank
- Page 354 and 355:
2. Linear Bounded Automata 335Table
- Page 356 and 357:
3. Closure Properties 337(a) Use th
- Page 358 and 359:
3. Closure Properties339(3) Finally
- Page 360 and 361:
3. Closure Properties341COUNTER+--
- Page 362 and 363:
3. Closure Properties 343The claim
- Page 364:
Part 3Logic
- Page 367 and 368:
348 Chapter 12 Propositional Calcul
- Page 369 and 370:
350 Chapter 12 Propositional Calcul
- Page 371 and 372:
352 Chapter 12 Propositional Calcul
- Page 373 and 374:
354 Chapter 12 Propositional Calcul
- Page 375 and 376:
356 Chapter 12 Propositional Calcul
- Page 377 and 378:
358 Chapter 12 Propositional Calcul
- Page 379 and 380:
360 Chapter 12 Propositional Calcul
- Page 381 and 382:
362 Chapter 12 Propositional Calcul
- Page 383 and 384:
364 Chapter 12 Propositional Calcul
- Page 385 and 386:
366 Chapter 12 Propositional Calcul
- Page 387 and 388:
368 Chapter 12 Propositional Calcul
- Page 389 and 390:
370 Chapter 12 Propositional Calcul
- Page 391 and 392:
372 Chapter 12 Propositional Calcul
- Page 394 and 395:
13Quantification Theory1. The Langu
- Page 396 and 397:
2. Semantics 377occu"ence of b in a
- Page 398 and 399:
2. Semantics3793. If a is ( {3 A y
- Page 400 and 401:
2. Semantics 381Now, let {3 = {3(b
- Page 402 and 403:
3. Logical Consequence 383in which
- Page 404 and 405:
3. Logical Consequence 385the new f
- Page 406 and 407:
3. Logical Consequence 387Hencefort
- Page 408 and 409:
4. Herbrand's Theorem 389is univers
- Page 410 and 411:
4. Herbrand's Theorem 391functional
- Page 412 and 413:
4. Herbrand's Theorem 393R of claus
- Page 414 and 415:
4. Herbrand's Theorem 395IV.PULL QU
- Page 416 and 417:
4. Herbrand's Theorem 397obtain a t
- Page 418 and 419:
5. Unification 3995. UnificationWe
- Page 420 and 421:
5. Unification 401Beginning with th
- Page 422 and 423:
5. Unification403Exercises1. Indica
- Page 424 and 425:
6. Compactness and Countabillty 405
- Page 426 and 427:
7. G6del's Incompleteness Theorem 4
- Page 428 and 429:
7. Godel's Incompleteness Theorem 4
- Page 430 and 431:
8. Unsolvability of the Satisflabil
- Page 432 and 433:
8. Unsolvabillty of the Satlsflabll
- Page 434:
8. Unsolvablllty of the Satisfiabil
- Page 438 and 439:
14Abstract Complexity1. The Blum Ax
- Page 440 and 441:
1. The Blum Axioms 421If P(x) is an
- Page 442 and 443:
1. The Blum Axioms 423since maximiz
- Page 444 and 445:
2. The Gap Theorem 425(b)Let D be a
- Page 446 and 447:
2. The Gap Theorem 427claim that P(
- Page 448 and 449:
3. Preliminary Form of the Speedup
- Page 450 and 451:
3. Preliminary Form of the Speedup
- Page 452 and 453:
3. Preliminary Form of the Speedup
- Page 454 and 455:
4. The Speedup Theorem Concluded 43
- Page 456 and 457:
4. The Speedup Theorem Concluded 43
- Page 458 and 459:
15Polynomial-Time Computability1. R
- Page 460 and 461:
1. Rates of Growth441Hence, f(n) =
- Page 462 and 463:
2. P versus NP443Proof of Theorem 1
- Page 464 and 465:
2. P versus NP 445Definition. A tot
- Page 466 and 467:
2. P versus NP 447Proof. The first
- Page 468 and 469:
2. P versus NP 449and say that Q is
- Page 470 and 471:
3. Cook's Theorem 451scans at most
- Page 472 and 473:
3. Cook's Theorem 453In constructin
- Page 474 and 475:
3. Cook's Theorem 455so that IDENT(
- Page 476 and 477:
4. Other NP-Complete Problems 4574.
- Page 478 and 479:
4. Other NP-Complete Problems 459Th
- Page 480 and 481:
4. Other NP-Complete Problems 461wh
- Page 482:
4. Other NP-Complete Problems 4639.
- Page 486 and 487:
16Approximation Orderings1. Program
- Page 488 and 489:
1. Programming Language Semantics 4
- Page 490 and 491:
1. Programming Language Semantics 4
- Page 492 and 493:
2. Partial Orders 473by !;;;D 1 ,
- Page 494 and 495:
3. Complete Partial Orders 4755. Le
- Page 496 and 497:
3. Complete Partial Orders 477A = {
- Page 498 and 499:
3. Complete Partial Orders 479Theor
- Page 500 and 501:
3. Complete Partial Orders 481Theor
- Page 502 and 503:
3. Complete Partial Orders 483denot
- Page 504 and 505:
3. Complete Partial Orders 48518.*
- Page 506 and 507:
4. Continuous Functions 487Definiti
- Page 508 and 509:
4. Continuous Functions 489Theorem
- Page 510 and 511:
4. Continuous Functions 491But (4.1
- Page 512 and 513:
4. Continuous Functions 4938. Let (
- Page 514 and 515:
5. Fixed Points 495Fixed points pla
- Page 516 and 517:
5. Fixed Points 497some arbitrary f
- Page 518 and 519:
5. Fixed Points 499from S by deriva
- Page 520 and 521:
5. Fixed Points 501from which we co
- Page 522:
5. Fixed Points 503(c)Show that JLv
- Page 525 and 526:
506 Chapter 17 Denotational Semanti
- Page 527 and 528:
508 Chapter 17 Denotational Semanti
- Page 529 and 530:
510 Chapter 17 Denotational Semanti
- Page 531 and 532:
512 Chapter 17 Denotational Semanti
- Page 533 and 534:
514 Chapter 17 Denotatlonal Semanti
- Page 535 and 536:
516 Chapter 17 Denotational Semanti
- Page 537 and 538:
518 Chapter 17 Denotatlonal Semanti
- Page 539 and 540:
520 Chapter 17 Denotational Semanti
- Page 541 and 542:
522 Chapter 17 Denotatlonal Semanti
- Page 543 and 544:
524 Chapter 17 Denotational Semanti
- Page 545 and 546:
526 Chapter 17 Denotational Semanti
- Page 547 and 548:
528 Chapter 17 Denotational Semanti
- Page 549 and 550:
530 Chapter 17 Denotational Semanti
- Page 551 and 552:
532 Chapter 17 Denotatlonal Semanti
- Page 553 and 554:
534 Chapter 17 Denotational Semanti
- Page 555 and 556:
536 Chapter 17 Denotatlonal Semanti
- Page 557 and 558:
538 Chapter 17 Denotatlonal Semanti
- Page 559 and 560:
540 Chapter 17 Denotatlonal Semanti
- Page 561 and 562:
542Chapter 17 Denotational Semantic
- Page 563 and 564:
544 Chapter 17 Denotational Semanti
- Page 565 and 566:
546 Chapter 17 Denotational Semanti
- Page 567 and 568:
548 Chapter 17 Denotatlonal Semanti
- Page 569 and 570:
550 Chapter 17 Denotational Semanti
- Page 571 and 572:
552 Chapter 17 Denotational Semanti
- Page 573 and 574:
554 Chapter 17 Denotational Semanti
- Page 575 and 576:
556 Chapter 17 Denotatlonal Semanti
- Page 577 and 578:
558 Chapter 18 Operational Semantic
- Page 579 and 580:
560 Chapter 18 Operational Semantic
- Page 581 and 582:
562 Chapter 18 Operational Semantic
- Page 583 and 584:
564 Chapter 18 Operational Semantic
- Page 585 and 586:
566 Chapter 18 Operational Semantic
- Page 587 and 588:
568 Chapter 18 Operational Semantic
- Page 589 and 590:
570 Chapter 18 Operational Semantic
- Page 591 and 592:
572 Chapter 18 Operational Semantic
- Page 593 and 594:
574 Chapter 18 Operational Semantic
- Page 595 and 596:
576 Chapter 18 Operational Semantic
- Page 597 and 598:
578 Chapter 18 Operational Semantic
- Page 599 and 600:
580 Chapter 18 Operational Semantic
- Page 601 and 602:
582 Chapter 18 Operational Semantic
- Page 603 and 604:
584 Chapter 18 Operational Semantic
- Page 605 and 606:
586 Chapter 18 Operational Semantic
- Page 607 and 608:
588 Chapter 18 Operational Semantic
- Page 609 and 610:
590 Chapter 18 Operational Semantic
- Page 611 and 612:
592 Chapter 18 Operational Semantic
- Page 613 and 614:
594 Suggestions for Further Reading
- Page 615 and 616:
596 Notation Indexvn 70 Ll ·L2 253
- Page 617 and 618:
598 Notation IndexLIST 540 Wa 554ay
- Page 619 and 620:
600Church, Alonzo, 411Church's thes
- Page 621 and 622:
602computed by Turing machines, 146
- Page 623 and 624:
604Listsfinite, 541, 552infinite, 5
- Page 625 and 626:
606Pure literal rule, 362, 363Pushd
- Page 627 and 628:
608Strings, 4, 12, 113-144computabl