I'm reading a logic book and I came across some sentences of the form:
(p→q)→(q→p)
(p→q)→(~p→~q)
which can be read as:
from: if p, then q, it follows that: if q, then p;
from: if p, then q, it follows that: if not p, then not q;
my question is, since in English they sound like the arguments:
p→q
q
∴ q
and
p→q
~p
∴ ~q
do they mean the same thing?
because I read in some books very long sentences with that form, as:
p→(q→r)→(p→q→[p→r])
and I have to say that I really dont understand how I should read them, but if I could "break them down" like the arguments above I could read them as:
p→(q→r)
p→q
∴ p→r
which to me are easier to understand. Is this correct?
The two are not the same. The first is a sentence, and the second is an argument.
That said, there is a connection between conditionals and arguments: any conditional $\varphi \to \psi$ is a logical truth if and only if the argument:
$$\varphi$$
$$\therefore \psi$$
is logically valid.
And yes, we can break down further conditionals, e.g. $\varphi \to (\psi \to \chi)$ is a logical truth if and only if the argument:
$$\varphi$$
$$\psi$$
$$\therefore \chi$$
is logically valid. Etc.
So in your first example, we have that $(p\to q) \to (q \to p)$ is a logical truth if and only if the argument:
$$p \to q$$
$$q$$
$$\therefore p$$
is logically valid.
Note that in this particular case, the statement $(p\to q) \to (q \to p)$ is not a logical truth, and indeed its corresponding argument is not logically valid.
Of course, if we would add the statement to the premises of its correponding argument, then we can validly infer the conclusion of the original argument:
$$(p\to q) \to (q \to p)$$
$$p \to q$$
$$q$$
$$\therefore p$$
And so in that sense, you could indeed say: "aha, so given $(p\to q) \to (q \to p)$, that means that if I ever have $p \to q$ and $q$, then I can infer $p$". And I think that's very close to what you have in mind here.