Whether following propositional formula a tautology?
$(p\iff q) \space \lor \space (p\iff \lnot q)$.
I think it is not. For contradiction I came up with following interpretation.
$p(x): \text{x got A grade in math.}$
$q(x): \text{x got A grade in english.}$
Now, in a class where there are students getting $A$ in both english and math as well as there are students getting $A$ in only one of them. Then above formula fails.
But answer given is that formula is a tautology.
They gives following reasoning for that.
As we know, $\lnot(p\iff q) = (p\iff \lnot q)$
and
$X \lor \lnot X$ is tautology.
So is $(p\iff q) \lor \lnot (p\iff q)$.
So, where I am getting wrong.
The formula in question does not contain quantifiers. It is a truth-functional statements, not a quantificational one. So, you cannot have one world where $p$ is true 'for some' but false 'for others' ... there are no 'some' or 'others' here. Instead, for any one world, $p$ will be one of true or false, period.