Logic and Language Models for Computer Science

Logic and Language Models for Computer Science

3.2 (5 ratings by Goodreads)
By (author)  , By (author) 

List price: US$156.01

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


For sophomore/junior-level courses in, Logic, Automata Theory, Theory of Computation/CS Theory, Discrete Mathematics, and Complexity Theory.This text provides students with in-depth explorations of a broad range of theoretical topics in computer science. It plunges into the applications of the abstract concepts in order to confront and address the skepticism of many students, and instill in them an appreciation for the usefulness of theory.show more

Product details

  • Hardback | 341 pages
  • 177.8 x 231.14 x 22.86mm | 589.67g
  • Pearson Education (US)
  • Pearson
  • Upper Saddle River, NJ, United States
  • English
  • 0130654876
  • 9780130654878

Back cover copy

This book invites the reader to explore abstractions that are crucial to computer science. The authors bring a sense of excitement to logics, formal languages and automatamotivating topics by linking them to computing and to computational applications, sometime with whole chapters. They achieve exceptional clarity through a plethora of examples and figures, yet without-losing sight of, and indeed celebrating, the precision that is the hallmark of this subject matter. "Features of the book include: " application of logic to program verification programming in the logic language, Prolog discussion of "why" and "how" to prove things relationships between English and programming languages diagrams-first approach to automata lex as a tool and an extension of formal language pushdown automata as parsing strategies Turing machines as models of computation "show more

About Henry Hamburger

Henry Hamburger is a Professor and Chairman of the Department of Computer Science at George Mason University. Dana Richards is an Associate Professor with the Department of Computer Science at George Mason University.show more

Table of contents

1. Mathematical Preliminaries. Operators and Their Algebraic Properties. Sets. Strings. Relations and Functions. Growth Rates of Functions. Graphs and Trees. Computing with Mathematical Objects.I. LOGIC FOR COMPUTER SCIENCE. 2. Propositional Logic. Propositions. States, Operators, and Truth Tables. Proofs of Equivalence with Truth Tables. Laws of Propositional Logic. Two Important Operators.3. Proving Things: Why and How. Reasons for Wanting to Prove Things. Rules of Inference. Proof by Rules. Assumptions. Proof Examples. Types of Theorems and Proof Strategies.4. Predicate Logic. Predicates and Functions. Predicates, English, and Sets. Quantifiers. Multiple Quantifiers. Logic for Data Structures.5. Proving with Predicates. Inference Rules with Predicates. Proof Strategies with Predicates. Applying logic to Mathematics. Mathematical Induction. Limits of Logic.6. Program Verification. The Idea of Verification. Definitions. Inference Rules. Loop Invariants. The Debate About formal Verification.7. Logic Programming. The Essence of Prolog and Its Relation to Logic. Getting Started Using Prolog. Database Operations in Prolog. The General Form and a Limitation of Prolog. How Prolog Works. Structures. Lists and Recursion. Built-in Predicates and Operators.II. LANGUAGE MODELS FOR COMPUTER SCIENCE. 8. Language Models. Programming Languages and Computer Science. Ambiguity and language Design. Formal Languages. Operations on Languages. Two levels and Two Language Classes. The Questions of Formal Language Theory.9. Finite Automata and Their Languages. Automata: The General Idea. Diagrams and Recognition. Formal Notation for Finite Automata. Finite Automata in Prolog. Nondeterminism: The General Idea. Nondeterministic Finite Automata. Removing Nondeterminism. A-Transistions. Pattern Matching. Regular Languages.10. Regular Expressions. Regular Sets. Regular Expressions and What They Represent. All Regular sets Are FA Languages. All FA languages Are Represented by Res.11. Lex: A Tool for Building Lexical Scanners. Overview. Lex Operators and What They Do. The Structure and processing of Lex Programs. Lex Examples with C. States. Using Lex in Unix. Flex and C++.12. Context-Free Grammars. Limitations of Regular Languages. Introduction to Context-Free Grammars. RE Operators in CFGs. Structure, Meaning, and Ambiguity. Backus Normal form and Syntax Diagrams. Theory Matters.13. Pushdown Automata and Parsing. Visualizing PDAs. Standard Notation for PDAs. NPDAs for CFG Parsing Strategies. Deterministic Pushdown Automata and Parsing. Bottom-Up Parsing. Pushdown Automata in Prolog. Notes on Memory.14. Turing Machines. Beyond Context-Free Languages. A Limitation on Deterministic Pushdown Automata. Unrestricted Grammars. The Turing Machine Model. Infinite Sets. Universal Turing Machines. Limits on Turing Machines. Undecidability. Church-Turing Thesis. Computational Complexity.Index.show more

Rating details

5 ratings
3.2 out of 5 stars
5 0% (0)
4 40% (2)
3 40% (2)
2 20% (1)
1 0% (0)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X