Preface |
|
xi | |
|
0 Introduction and Overview |
|
|
1 | (12) |
|
0.1 Our Final Destination: Godel's Completeness Theorem |
|
|
2 | (2) |
|
0.2 Our Pedagogical Approach |
|
|
4 | (1) |
|
0.3 How We Travel: Programs That Handle Logic |
|
|
5 | (3) |
|
|
8 | (5) |
|
Part I Propositional Logic |
|
|
|
1 Propositional Logic Syntax |
|
|
13 | (11) |
|
1.1 Propositional Formulas |
|
|
13 | (5) |
|
|
18 | (3) |
|
1.3 Infinite Sets of Formulas |
|
|
21 | (1) |
|
1.A Optional Reading: Polish Notations |
|
|
22 | (2) |
|
2 Prepositional Logic Semantics |
|
|
24 | (17) |
|
2.1 Detour: Semantics of Programming Languages |
|
|
24 | (1) |
|
2.2 Models and Truth Values |
|
|
25 | (3) |
|
|
28 | (2) |
|
2.4 Tautologies, Contradictions, and Satisfiability |
|
|
30 | (1) |
|
2.5 Synthesis of Formulas |
|
|
31 | (2) |
|
2.A Optional Reading: Conjunctive Normal Form |
|
|
33 | (2) |
|
2.B Optional Reading: Satisfiability and Search Problems |
|
|
35 | (6) |
|
|
41 | (12) |
|
|
41 | (2) |
|
|
43 | (3) |
|
3.3 Complete Sets of Operators |
|
|
46 | (3) |
|
3.4 Proving Incompleteness |
|
|
49 | (4) |
|
|
53 | (16) |
|
|
53 | (3) |
|
4.2 Specializations of an Inference Rule |
|
|
56 | (3) |
|
|
59 | (5) |
|
|
64 | (2) |
|
4.5 The Soundness Theorem |
|
|
66 | (3) |
|
|
69 | (15) |
|
|
69 | (4) |
|
|
73 | (3) |
|
5.3 The Deduction Theorem |
|
|
76 | (3) |
|
5.4 Proofs by Way of Contradiction |
|
|
79 | (5) |
|
6 The Tautology Theorem and the Completeness of Propositional Logic |
|
|
84 | (25) |
|
|
84 | (2) |
|
6.2 The Tautology Theorem |
|
|
86 | (6) |
|
6.3 The Completeness Theorem for Finite Sets |
|
|
92 | (2) |
|
6.4 The Compactness Theorem and the Completeness Theorem for Infinite Sets |
|
|
94 | (3) |
|
6.A Optional Reading: Adding Additional Operators |
|
|
97 | (4) |
|
6.B Optional Reading: Other Axiomatic Systems |
|
|
101 | (8) |
|
|
|
7 Predicate Logic Syntax and Semantics |
|
|
109 | (20) |
|
|
110 | (11) |
|
|
121 | (8) |
|
8 Getting Rid of Functions and Equality |
|
|
129 | (14) |
|
8.1 Getting Rid of Functions |
|
|
129 | (9) |
|
8.2 Getting Rid of Equality |
|
|
138 | (5) |
|
9 Deductive Proofs of Predicate Logic Formulas |
|
|
143 | (35) |
|
|
144 | (1) |
|
|
145 | (15) |
|
|
160 | (11) |
|
9.4 Getting Rid of Tautology Lines |
|
|
171 | (7) |
|
10 Working with Predicate Logic Proofs |
|
|
178 | (33) |
|
10.1 Our Axiomatic System |
|
|
178 | (6) |
|
|
184 | (11) |
|
|
195 | (16) |
|
11 The Deduction Theorem and Prenex Normal Form |
|
|
211 | (20) |
|
11.1 The Deduction Theorem |
|
|
211 | (4) |
|
|
215 | (16) |
|
12 The Completeness Theorem |
|
|
231 | (25) |
|
12.1 Deriving a Model or a Contradiction for a Closed Set |
|
|
236 | (4) |
|
|
240 | (12) |
|
12.3 The Completeness Theorem |
|
|
252 | (1) |
|
12.4 The Compactness Theorem and the "Provability" Version of the Completeness Theorem |
|
|
253 | (3) |
|
13 Sneak Peek at Mathematical Logic II: Godel's Incompleteness Theorem |
|
|
256 | (10) |
|
13.1 Complete and Incomplete Theories |
|
|
256 | (2) |
|
|
258 | (2) |
|
13.3 Undecidability of the Halting Problem |
|
|
260 | (2) |
|
13.4 The Incompleteness Theorem |
|
|
262 | (4) |
Cheatsheet: Axioms and Axiomatic Inference Rules Used in This Book |
|
266 | (2) |
Index |
|
268 | |