I'm a high schooler studying logic from a few discrete math books and I wish to show that $\forall x, (P(x) \rightarrow Q(x))$ is logically equivalent to $\forall x, (\neg Q(x) \rightarrow \neg P(x)),$ using universal generalization to show this logical equivalence.
I'm aware that to prove logical equivalence for quantified statements, I have to show that the biconditional between the two quantified statements is a tautology. So I'll have to first show that the conditional statement $$(\forall x, (P(x) \rightarrow Q(x))) \rightarrow (\forall x, (\neg Q(x) \rightarrow \neg P(x)))$$ is a tautology, then show that the converse of it is also a tautology.
But by using universal generalization, I feel like I could skip this and just prove that they're logically equivalent without needing to go through conditional statements but I'm not sure if this is the correct way to do it. Here is how the proof goes:
Suppose that $\forall x, (P(x) \rightarrow Q(x))$ is true, then whenever $P(x)$ is true, $Q(x)$ will also be true. Let $a$ be any arbitrary element from the domain, then $P(a) \rightarrow Q(a)$ is a true conditional statement. Since a conditional statement is logically equivalent to its contrapositive (proved by using truth table for statements), we have $$P(a) \rightarrow Q(a) \equiv \neg Q(a) \rightarrow \neg P(a)$$ And since $a$ was arbitrary, we can use universal generalization to generalize it to $$\forall x, (P(x) \rightarrow Q(x)) \equiv \forall x, (\neg Q(x) \rightarrow \neg P(x))$$
As you can see, I didn't show if the conditional statements were tautologies. Am I using universal generalization correctly here? Does this make my proof correct? If not, how will I need to correct my proof? I'm not so sure if I can use universal generalization to go from $$P(a) \rightarrow Q(a) \equiv \neg Q(a) \rightarrow \neg P(a)$$ to $$\forall x, (P(x) \rightarrow Q(x)) \equiv \forall x, (\neg Q(x) \rightarrow \neg P(x)).$$
I'm using the symbol ≡
in the metalanguage sense instead of as the material biconditional. I use the symbol ↔
to mean the material biconditional.
≡
symbol to represent logical equivalence in the metalanguage or as the material biconditional? – Nico Apr 17 '23 at 17:28