Metamath Proof Explorer


Theorem 2ax6elem

Description: We can always find values matching x and y , as long as they are represented by distinct variables. This theorem merges two ax6e instances E. z z = x and E. w w = y into a common expression. Alan Sare contributed a variant of this theorem with distinct variable conditions before, see ax6e2nd . Usage of this theorem is discouraged because it depends on ax-13 . (Contributed by Wolf Lammen, 27-Sep-2018) (New usage is discouraged.)

Ref Expression
Assertion 2ax6elem ¬ w w = z z w z = x w = y

Proof

Step Hyp Ref Expression
1 ax6e z z = x
2 nfnae z ¬ w w = z
3 nfnae z ¬ w w = x
4 2 3 nfan z ¬ w w = z ¬ w w = x
5 nfeqf ¬ w w = z ¬ w w = x w z = x
6 pm3.21 w = y z = x z = x w = y
7 5 6 spimed ¬ w w = z ¬ w w = x z = x w z = x w = y
8 4 7 eximd ¬ w w = z ¬ w w = x z z = x z w z = x w = y
9 1 8 mpi ¬ w w = z ¬ w w = x z w z = x w = y
10 9 ex ¬ w w = z ¬ w w = x z w z = x w = y
11 ax6e z z = y
12 nfae z w w = x
13 equvini z = y w z = w w = y
14 equtrr w = x z = w z = x
15 14 anim1d w = x z = w w = y z = x w = y
16 15 aleximi w w = x w z = w w = y w z = x w = y
17 13 16 syl5 w w = x z = y w z = x w = y
18 12 17 eximd w w = x z z = y z w z = x w = y
19 11 18 mpi w w = x z w z = x w = y
20 10 19 pm2.61d2 ¬ w w = z z w z = x w = y