How do we decide whether the formula in predicate logic is a tautology? Is there some universal way to decide?
Let's have an example:
Vx(P(x)&Q(x))<->VxP(x)&VxQ(x)
My solution (not correct and not complete)
So the first thing I do is to rename some variables on the right side.
Vx(P(x)&Q(x))<->VxP(x)&VyQ(y)
No, I can do this:
Vx(P(x)&Q(x))<->Vx(P(x)&VyQ(y))
And this:
Vx(P(x)&Q(x))<->VyVx(P(x)&Q(y))
So my question is:
How can I decide and proove, whether it is a tautology?
I quote from Wikipedia:
In propositional logic a tautology is a formula which evaluates to be true for every possible substitution of truth values of its variables.
In the example
$$\forall \,x \,(P(x) \land Q(x))\iff \forall \,x \,P(x) \land \forall \,x\,Q(x)\tag 1$$
we have the following different first order formulas:
These will be replaced by $A,B$, and $C$, respectively. We get
$$A \iff B\land C$$
which is not a tautology; its truth value depends on the truth values of the variables.
$(1)$ would be a tautology of first order logic if we could create it by the reverse substitution from a tautology of propositional logic.
For another example take the propositional tautology
$$A\land B \Rightarrow A\lor B$$
and let's do the following substitutions:
Now, we have
$$\forall\, x \,(\exists \,y \,Q(x,y))\, \land \,\exists \,y \,P(y) \Rightarrow \,\forall \,x \,(\exists \,y \,Q(x,y)) \lor \exists \,y \,P(y)$$
which is a tautology of the first order logic because it could be obtained by a substitution of first order expressions into a propositional tautology.