Saturday, September 14, 2013

Assignment 4: Questions 2 and 3

I will just post these questions now, and post my feeble attempts later.


2. Build a truth table to show that (A => B) <=> (not B or A) is true for all truth values of A and B.

3. Build a truth table to show that (A does not imply B) is equivalent to (A and not B) is a tautology.

7 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. (resubmitted because blogger ate my tabs...)

    2.
    Φ | Ψ | ¬Φ | Φ ⇒ Ψ | ¬Φ ⋁ Ψ

    T | T | F | T | T
    T | F | F | F | F
    F | T | T | T | T
    F | F | T | T | T



    3.
    Φ | Ψ ¬Ψ | Φ ⇏ Ψ | Φ ⋀ ¬Ψ

    T | T | F | F | F
    T | F | T | T | T
    F | T | F | F | F
    F | F | T | F | F

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. Having second thoughts about tautology proof.

      Delete
    3. Φ|ψ|~ψ|(Φ => ψ)|(Φ =/> ψ)|(Φ ^ ~ψ)|(Φ =/> ψ) <=> (Φ^~ψ)
      T|T|F | T | F | F | T
      T|F|T | F | T | T | T
      F|T|F | T | F | F | T
      F|F|T | T | F | F | T

      I believe the last column completes the proof for tautology.

      Delete
  3. I carried the truth table out so that each of the implications was included. That gave two additional columns, from which one determines the truth of the proposition.

    FWIW, Wikipedia calls Φ ⇏ Ψ a "material implication." The truth table is given as:

    P Q P⇏Q
    T T F
    T F T
    F T F
    F F F

    There also is a Venn diagram to show what the result is. See it here:

    http://en.wikipedia.org/wiki/Material_nonimplication#Computer_Science

    ReplyDelete