Discrete Mathematics and Its Applications

The rules of logic specify the meaning of mathematical statements. For instance, these rules
help us understand and reason with statements such as “There exists an integer that is
not the sum of two squares” and “For every positive integer n, the sum of the positive integers
not exceeding n is n(n + 1)/2.” Logic is the basis of all mathematical reasoning, and of all
automated reasoning. It has practical applications to the design of computing machines, to the
specification of systems, to artificial intelligence, to computer programming, to programming