MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  equveli Unicode version

Theorem equveli 2044
Description: A variable elimination law for equality with no distinct variable requirements. (Compare equvini 2042.) (Contributed by NM, 1-Mar-2013.) (Proof shortened by Mario Carneiro, 17-Oct-2016.) (Proof shortened by Wolf Lammen, 15-Apr-2018.)
Assertion
Ref Expression
equveli  |-  ( A. z ( z  =  x  <->  z  =  y )  ->  x  =  y )

Proof of Theorem equveli
StepHypRef Expression
1 nfeqf 2016 . . . . 5  |-  ( ( -.  A. z  z  =  x  /\  -.  A. z  z  =  y )  ->  F/ z  x  =  y )
2 a9e 1948 . . . . . . 7  |-  E. z 
z  =  y
3 bi2 190 . . . . . . . . 9  |-  ( ( z  =  x  <->  z  =  y )  ->  (
z  =  y  -> 
z  =  x ) )
4 ax-8 1683 . . . . . . . . 9  |-  ( z  =  x  ->  (
z  =  y  ->  x  =  y )
)
53, 4syl6com 33 . . . . . . . 8  |-  ( z  =  y  ->  (
( z  =  x  <-> 
z  =  y )  ->  ( z  =  y  ->  x  =  y ) ) )
65pm2.43a 47 . . . . . . 7  |-  ( z  =  y  ->  (
( z  =  x  <-> 
z  =  y )  ->  x  =  y ) )
72, 6eximii 1584 . . . . . 6  |-  E. z
( ( z  =  x  <->  z  =  y )  ->  x  =  y )
8719.35i 1608 . . . . 5  |-  ( A. z ( z  =  x  <->  z  =  y )  ->  E. z  x  =  y )
9 nf2 1885 . . . . . 6  |-  ( F/ z  x  =  y  <-> 
( E. z  x  =  y  ->  A. z  x  =  y )
)
109biimpi 187 . . . . 5  |-  ( F/ z  x  =  y  ->  ( E. z  x  =  y  ->  A. z  x  =  y ) )
111, 8, 10syl2im 36 . . . 4  |-  ( ( -.  A. z  z  =  x  /\  -.  A. z  z  =  y )  ->  ( A. z ( z  =  x  <->  z  =  y )  ->  A. z  x  =  y )
)
1211ex 424 . . 3  |-  ( -. 
A. z  z  =  x  ->  ( -.  A. z  z  =  y  ->  ( A. z
( z  =  x  <-> 
z  =  y )  ->  A. z  x  =  y ) ) )
13 bi1 179 . . . . . 6  |-  ( ( z  =  x  <->  z  =  y )  ->  (
z  =  x  -> 
z  =  y ) )
144com12 29 . . . . . 6  |-  ( z  =  y  ->  (
z  =  x  ->  x  =  y )
)
1513, 14syl6com 33 . . . . 5  |-  ( z  =  x  ->  (
( z  =  x  <-> 
z  =  y )  ->  ( z  =  x  ->  x  =  y ) ) )
1615pm2.43a 47 . . . 4  |-  ( z  =  x  ->  (
( z  =  x  <-> 
z  =  y )  ->  x  =  y ) )
1716al2imi 1567 . . 3  |-  ( A. z  z  =  x  ->  ( A. z ( z  =  x  <->  z  =  y )  ->  A. z  x  =  y )
)
186al2imi 1567 . . 3  |-  ( A. z  z  =  y  ->  ( A. z ( z  =  x  <->  z  =  y )  ->  A. z  x  =  y )
)
1912, 17, 18pm2.61ii 159 . 2  |-  ( A. z ( z  =  x  <->  z  =  y )  ->  A. z  x  =  y )
201919.21bi 1770 1  |-  ( A. z ( z  =  x  <->  z  =  y )  ->  x  =  y )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 177    /\ wa 359   A.wal 1546   E.wex 1547   F/wnf 1550
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946
This theorem depends on definitions:  df-bi 178  df-an 361  df-tru 1325  df-ex 1548  df-nf 1551
  Copyright terms: Public domain W3C validator