ABSTRACT

Logic has acquired a reputation for difficulty, perhaps because many of the approaches adopted have been more suitable for mathematicians than computer scientists. This book shows that the subject is not inherently difficult and that the connections between logic and declarative language are straightforward. Many exercises have been included in the hope that these will lead to a much greater confidence in manual proofs, therefore leading to a greater confidence in automated proofs.

part 1|158 pages

Logic without equality

chapter 1|44 pages

Propositional logic

chapter 2|40 pages

First-order logic

chapter 3|28 pages

Principles of logic programming

chapter 4|44 pages

Prolog

part 2|197 pages

Logic with equality

chapter 5|26 pages

Logic with equality

chapter 6|23 pages

Many-sorted abstract types

chapter 7|31 pages

The included middle

chapter 8|51 pages

Miranda

chapter 9|33 pages

Intuitionistic logic and types

chapter 10|27 pages

Languages and databases