Truth Table Precedence: Evaluating Implication Rules

  • Context:
  • Thread starter Thread starter lyd123
  • Start date Start date
  • Tags Tags
    Table Truth table
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
lyd123
Messages
11
Reaction score
0
Hello!
The question is attached.

I know that " $\implies $ " (implies) has precedence from right to left. But because " l- " appears after
P$\implies ($Q $\implies$ R ), in my truth table do I evaluate:(P$\implies ($Q $\implies$ R ) ) $\implies$ ((P$\implies$Q ) $\implies$ R ) )
or

P$\implies ($Q $\implies$ R ) $\implies$ (P$\implies$Q ) $\implies$ R )

Thank you for any help. :)
 

Attachments

  • 2018-12-22 (2).png
    2018-12-22 (2).png
    1.7 KB · Views: 172
Physics news on Phys.org
The turnstile separates formulas but is not a logical connective itself. Therefore $$A\vdash B$$ is equivalent to the fact that $$A\to B$$ is a tautology. This formula has $A$ and $B$ as subformulas joined by $\to$, but it cannot have a subformula that consists of a strict subformula of $A$ and $B$, for example. So it's wrong to consider $P\to(Q\to R)\to(P\to Q)\to R$, which is $P\to((Q\to R)\to((P\to Q)\to R))$ because it has a subformula $(Q\to R)\to((P\to Q)\to R)$, which consists of a part of $A$ and the whole $B$.

lyd123 said:
I know that " $\implies $ " (implies) has precedence from right to left.
I also like this convention, but I've seen textbooks that consider $\to$ to be left-associative, so one has to be careful.
 
I think I understand now.. so I should use (P⟹(Q ⟹ R ) ) ⟹ ((P⟹Q ) ⟹ R ) ),
which would give me the attached truth table.
View attachment 8719

So it is not a tautology. Is this correct?
 

Attachments

  • 2018-12-22 (3).png
    2018-12-22 (3).png
    3.2 KB · Views: 174
Yes, it is correct. The converse implication is a tautology. This follows from the fact that $P\to Q\to R$ is equivalent to $PQ\to R$ (I omitted conjunction) and $PQ$ implies $P\to Q$.

There is a typo in column R, second last row.
 
topsquark said:
Do [math]\implies[/math] and [math]\rightarrow[/math] mean the same thing? I note that the OP and Evgeny.Makarov are using two different symbols.
This completely depends on the textbook or other source. Implication can be denoted by $\rightarrow$, $\to$ and $\supset$, and in addition arrows can be short of long. Some authors use different notations for metalevel (a contraction for "if... then..." in English) and object level (a part of the formal language we study) implications. I used a single arrow because it occurs in the attached image in post #1, which I assume comes from the instructor, and because it is shorter in LaTeX ([m]\to[/m] vs [m]\Rightarrow[/m] or [m]\Longrightarrow[/m]).