Simple Logic Truth Table Needs Checking

Click For Summary
SUMMARY

The forum discussion centers on the evaluation of a logic truth table involving implications and logical connectives. Participants analyze the correctness of the truth values for expressions such as (p → q) ∧ (q → r) and p → q → r. The consensus indicates that the latter expression is ambiguous due to the non-associative nature of implication, leading to different interpretations based on the order of evaluation. The discussion highlights the importance of understanding logical implications in truth table constructions.

PREREQUISITES
  • Understanding of propositional logic and truth tables
  • Familiarity with logical connectives: AND (∧), OR (∨), NOT (¬)
  • Knowledge of implications and their properties in logic
  • Ability to interpret and construct logical expressions
NEXT STEPS
  • Study the properties of logical implications and their non-associative nature
  • Learn about tautologies and how to prove them in propositional logic
  • Explore advanced truth table constructions for complex logical expressions
  • Investigate the differences between various logical connectives and their applications
USEFUL FOR

Students of logic, mathematicians, computer scientists, and anyone interested in understanding logical expressions and truth table evaluations.

Hotsuma
Messages
41
Reaction score
0
Dear All,

Having trouble with a seemingly simple logic truth table. Are these answers correct?

\begin{tabular}{| c | c | c | c | c | c |}<br /> \hline<br /> p &amp; q &amp; r &amp; (p \vee q)\wedge(q \vee r) &amp; (\neg p \wedge q) \vee ( p \wedge \neg r) &amp; p \rightarrow q \rightarrow r\\<br /> \hline<br /> T &amp; T &amp; T &amp; T &amp; F &amp; T \\<br /> T &amp; T &amp; F &amp; T &amp; T &amp; F \\<br /> T &amp; F &amp; T &amp; T &amp; F &amp; T \\<br /> T &amp; F &amp; F &amp; F &amp; T &amp; F \\<br /> F &amp; T &amp; T &amp; T &amp; T &amp; T \\<br /> F &amp; T &amp; F &amp; T &amp; T &amp; F \\<br /> F &amp; F &amp; T &amp; F &amp; F &amp; T \\<br /> F &amp; F &amp; F &amp; F &amp; F &amp; T \\<br /> \hline<br /> \end{tabular}
 
Physics news on Phys.org
Hi Hotsuma, I think the and/or/not parts are ok, but for the last part I think it would be

<br /> \begin{tabular}{| c | c | c | c } <br /> \hline <br /> p &amp; q &amp; r &amp; p \rightarrow q \rightarrow r\\<br /> \hline<br /> T &amp; T &amp; T &amp; T \\<br /> T &amp; T &amp; F &amp; F \\<br /> T &amp; F &amp; T &amp; F \\<br /> T &amp; F &amp; F &amp; F \\<br /> F &amp; T &amp; T &amp; T \\<br /> F &amp; T &amp; F &amp; T \\<br /> F &amp; F &amp; T &amp; T \\<br /> F &amp; F &amp; F &amp; T \\<br /> \hline\end{tabular}

This effectively has 2 tests, it first requires that if p then q, if this is satisfied the the further condition that if q then r must be satisfied

In the 3rd case, as p is T and q is F, then the line is FALSE as the first condition is not satisfied

For the last 4 cases as p is F then the line is T by default, and we don't go any further - its a vacuous truth

what do you think?
 
Last edited:
Dear lanedance,

I considered this but wasn't sure if that was correct or not. What you described to me in your past post could be written as "if p then q" and "if q then r," which I don't think is the same thing, or rather, I'm not sure whether it is or is not. Thanks for the suggestion though, having someone else recommend what I was thinking is always appreciated.
 
And I'd love to prove that the two are tautologies, but since I am not sure about the former, that doesn't really help me much :(.


(p \rightarrow q) \wedge (q \rightarrow r) \equiv p \rightarrow q \rightarrow r
 
Hotsuma said:
Dear lanedance,

I considered this but wasn't sure if that was correct or not. What you described to me in your past post could be written as "if p then q" and "if q then r," which I don't think is the same thing, or rather, I'm not sure whether it is or is not.

I don't think is is exactly the same thing, take the case:
p = F
q = T
r = F

this gives the following:

p \rightarrow q
True - vacuously as P is False

q \rightarrow r
False

(p \rightarrow q) \wedge (q \rightarrow r)
False

p \rightarrow q \rightarrow r
True - vacuously as P is False
 
Last edited:
There is a problem here. Implication is not an associative connective. i.e.

(p \rightarrow q) \rightarrow r \not\equiv p \rightarrow (q \rightarrow r)

so the meaning of p \rightarrow q \rightarrow r is ambiguous.

(Consider the case where p = F, q = T, r = F.)

Unless there is an assumption about the order of execution of multiple implications, the last column could be evaluated differently (either TFTTTFTF or TFTTTTTT).

--Elucidus
 
Yeah, that was my fear. I e-mailed the professor at like 4PM but he has not yet responded (nor do I expect him to).
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
20
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K