I'm reading a Wikipedia article about equality and its axioms and I'm wondering how we can prove (using equality axioms) that:
- If $x = y$ then $y = x$ (symmetry)
- If $x = y$ and $y = z$ then $x = z$ (transitivity)
Equality axioms:
For each variable $x$: $x = x$
For all variables x and y, and any function symbol f: $x=y \rightarrow f(...,x,...)=f(...,y...,)$
$x=y \rightarrow (\varphi \rightarrow \varphi')$, where and $y$ is free for $x$ in $\varphi$ and $\varphi'$ is replacing some free variable $x$ by $y$ in $\varphi$
The Wikipedia article:
https://en.wikipedia.org/wiki/First-order_logic#Equality_and_its_axioms
$x=y \rightarrow (y=z \rightarrow x=z) $.
So I really have a problem with proving that:
Where can I find more examples of formal proofs. Thanks for everything
– iksu Oct 31 '16 at 18:14