MHB Calculating Truth Tables for Propositions

  • Thread starter Thread starter evinda
  • Start date Start date
evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

I want to calculate the truth tables of the following propositions:

$$(p \land q) \lor (\lnot p \land q) \to q \\ p \land \lnot q \to r$$

I have done the following:\begin{equation*}
\begin{array}{c|c|c|c|c}
p & q & p \land q & \lnot p \land q & (p \land q) \lor (\lnot p \land q) \to q \\
\hline
1 & 1 & 1 & 0 & 1 \\
1 & 0 & 0 & 0 & 1 \\
0 & 0 & 0 & 0 & 1 \\
0 & 1 & 0 & 1 & 1
\end{array}
\end{equation*}

and

\begin{equation*}
\begin{array}{c|c|c|c}
p & q & \lnot q & p \land \lnot q \\
\hline
1 & 1 & 0 & 0 \\
1 & 0 & 1 & 1 \\
0 & 0 & 1 & 0 \\
0 & 1 & 0 & 0
\end{array}
\end{equation*}

If $p=q=1$ and $r=0$, then $p \land \lnot q \to r$ is true, and the same holds if $r=1$. The same holds when $p=q=0$ and $p=0$, $q=1$.

If $p=1$ and $q=0$, then if $r=0$ then $p \land \lnot q \to r$ is false, and if $r=1$ then it is true.
Is everything right? Or have I done something wrong? :unsure:
 
Physics news on Phys.org
Hi evinda,

That looks correct
 
castor28 said:
Hi evinda,

That looks correct

Nice, thank you! :)
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.

Similar threads

Replies
17
Views
2K
Replies
45
Views
4K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
1
Views
1K
Replies
4
Views
1K
Replies
5
Views
2K
Replies
18
Views
4K
Back
Top