# Essential Logic for Computer Science

ePUB

- eBook:Essential Logic for Computer Science
- Author:Rex Page, Ruben Gamboa
- Edition:-
- Categories:
- Data:January 8, 2019
- ISBN:0262039184
- ISBN-13:9780262039185
- Language:English
- Pages:304 pages
- Format:ePUB

**Book Description**

**An introduction to applying predicate logic to testing and verification of software and digital circuits that focuses on applications rather than theory.**Computer scientists use logic for testing and verification of software and digital circuits, but many computer science students study logic only in the context of traditional mathematics, encountering the subject in a few lectures and a handful of problem sets in a discrete math course. This book offers a more substantive and rigorous approach to logic that focuses on applications in computer science. Topics covered include predicate logic, equation-based software, automated testing and theorem proving, and large-scale computation.

Formalism is emphasized, and the book employs three formal notations: traditional algebraic formulas of propositional and predicate logic; digital circuit diagrams; and the widely used partially automated theorem prover, ACL2, which provides an accessible introduction to mechanized formalism. For readers who want to see formalization in action, the text presents examples using Proof Pad, a lightweight ACL2 environment. Readers will not become ALC2 experts, but will learn how mechanized logic can benefit software and hardware engineers. In addition, 180 exercises, some of them extremely challenging, offer opportunities for problem solving. There are no prerequisites beyond high school algebra. Programming experience is not required to understand the book's equation-based approach. The book can be used in undergraduate courses in logic for computer science and introduction to computer science and in math courses for computer science students.

**Content**

1. Computer Systems: Simple Principles, Complex Behavior

2. Boolean Formulas and Equations

3. Software Testing and Prefix Notation

4. Mathematical Induction

5. Mechanized Logic

II - COMPUTER ARITHMETIC

6. Binary Numerals

7. Adders

8. Multipliers and Bignum Arithmetic

III - ALGORITHMS

9. Multiplexers and Demultiplexers

10. Sorting

11. Search Trees

12. Hash Tables

IV - Computation in Practice

13. Sharding with Facebook

14. Parallel Computation with MapReduce

15. Generating Art with Computers

## Download **Essential Logic for Computer Science** PDF or ePUB format free

**Essential Logic for Computer Science**

Free sample