About this book
Logic is to computer science what calculus is to physics: the language in which programs are specified, circuits verified, databases queried and intelligent systems reason. Logic for Computer Science: Propositional, Predicate, and Modal Logic presents that language. It begins with logic and computing, then propositional logic, proof systems and satisfiability, whose solvers now tackle industrial problems with millions of variables. Predicate logic extends reasoning to objects and their properties, and resolution provides the method behind automated theorem proving. Logic programming shows how logic can be used directly as a programming language. Modal logic and temporal logic introduce reasoning about necessity, knowledge and time, essential for specifying how systems should behave. Model checking explains how hardware and software designs are verified automatically against such specifications, a technique used to find errors in chips, protocols and safety-critical software. Logic in AI shows how knowledge representation and reasoning rely on logic, and a final chapter presents further applications. Computer science students will find a well-structured textbook that builds rigorous reasoning alongside useful techniques. Students interested in formal methods, verification and artificial intelligence will find the foundations those subjects require, and teachers will find a coherent basis for courses in logic.

