Download and read a short essay on Good Mathematical Writing and write up your solutions to the following exercises with these guidelines in mind.
- (Entailment)
- Prove that follows logically from
- Which of the following formulae are logically entailed by ?
- (Logical reasoning)
- See pages 2123 of the lecture slides week 2 and answer the two questions.
- The country of Mew is inhabited by two types of people: liars always lie and truars always tell the truth. At a cocktail party the newly appointed Australian ambassador to Mew talked to three inhabitants. Peter remarked that Joan and Shane were liars. Shane denied he was a liar, but Joan said that Shane was indeed a liar. Now the ambassador wondered how many of the three were liars.
Use propositional logic formulae to help the ambassador.
- (Mathematical proofs)
- Prove that for all integers .
Hint: Give a proof by cases.
- Prove that for every odd integer (that is, for every such that ).
- (Boolean algebra)
Consider a boolean algebra over a set . For each of the following, either prove that the equation is true for all or give a counterexample.
- Challenge Exercise
Digital circuits are often built only from nand-gates with two inputs and one output. The function nand:
is defined by or, equivalently, . Show that any Boolean
function can be encoded with only nand-gates.
Reviews
There are no reviews yet.