How can I prove a formula $\phi$ written using only the bi-conditional connective $\leftrightarrow$ (besides variables and parentheses) is a tautology if and only if every variable in $\phi$ occurs an even number of times?
I have attempted to prove this by using the fact that $p \leftrightarrow q \equiv (p \rightarrow q ) \wedge (q \rightarrow p)$ and by generalizing my proof for the fact that $(...((p\rightarrow p)\rightarrow p)\rightarrow...)\rightarrow p$ is a tautology if and only if $p$ occurs an even number of times, but I did not succeed. Would induction be a good choice for this proof?
Show by induction that:
$\iff$ is associative: in an expression built only using variables, "$\iff$," and parentheses, you can rearrange the parentheses however you like. (E.g. "$x\iff (y\iff z)$" is equivalent to "$(x\iff y)\iff z$.")
$\iff$ is commutative: "$x\iff y$" can always be replaced with "$y\iff x$".
Once you have these two facts, then you can show:
This completes one half of the problem. For the other half: