Expresión ((P→Q)→((P→(Q→R))→(P→R)))
El profesor se sorprenderá mucho al ver tu solución correcta😉
Solución
Solución detallada
$$p \Rightarrow q = q \vee \neg p$$
$$q \Rightarrow r = r \vee \neg q$$
$$p \Rightarrow \left(q \Rightarrow r\right) = r \vee \neg p \vee \neg q$$
$$p \Rightarrow r = r \vee \neg p$$
$$\left(p \Rightarrow \left(q \Rightarrow r\right)\right) \Rightarrow \left(p \Rightarrow r\right) = q \vee r \vee \neg p$$
$$\left(p \Rightarrow q\right) \Rightarrow \left(\left(p \Rightarrow \left(q \Rightarrow r\right)\right) \Rightarrow \left(p \Rightarrow r\right)\right) = 1$$
Tabla de verdad
+---+---+---+--------+
| p | q | r | result |
+===+===+===+========+
| 0 | 0 | 0 | 1 |
+---+---+---+--------+
| 0 | 0 | 1 | 1 |
+---+---+---+--------+
| 0 | 1 | 0 | 1 |
+---+---+---+--------+
| 0 | 1 | 1 | 1 |
+---+---+---+--------+
| 1 | 0 | 0 | 1 |
+---+---+---+--------+
| 1 | 0 | 1 | 1 |
+---+---+---+--------+
| 1 | 1 | 0 | 1 |
+---+---+---+--------+
| 1 | 1 | 1 | 1 |
+---+---+---+--------+