exercise

2.1 Logical Consequence

AB
0010
0110
1000
1111
Statement 1 is proved
AB
0011
0110
1001
1111
Statement 2 is disproved
AB
0011
0111
1001
1111
Statement 3 is proved
0001111
0011111
0101001
0111111
1000100
1010101
1101000
1111111
Statement 4 is proved

2.2 Satisfiability and Tautologies

  1. satisfiable and not a tautology,
    • example satisfiable:
    • example not a tautology:
  2. satisfiable and tautology: proved by the table in exercise 2.1.4

2.3 Simplifying a Formula

Proof:

  • Definition of
  • associativity of
  • absorption
  • de Morgan’s rule
  • double negation
  • commutativity of
  • second distributive law is proved

2.4 Knights and Knaves

Does the left road lead to the village if and only if you are a knight?

AAnswer
0010
0100
1001
1111

2.5 Quantifiers and Predicates

  • false
  • true
  • ???possibly true

  1. For all integer x there is a integer reciprocal of x (false)
  2. There exists an x such that x does not form a product of 1 with any y, and there exists a positive y (true)