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

Theorem eqer 6693
Description: Equivalence relation involving equality of dependent classes  A ( x ) and  B ( y ). (Contributed by NM, 17-Mar-2008.) (Revised by Mario Carneiro, 12-Aug-2015.)
Hypotheses
Ref Expression
eqer.1  |-  ( x  =  y  ->  A  =  B )
eqer.2  |-  R  =  { <. x ,  y
>.  |  A  =  B }
Assertion
Ref Expression
eqer  |-  R  Er  _V
Distinct variable groups:    x, y    y, A    x, B
Allowed substitution hints:    A( x)    B( y)    R( x, y)

Proof of Theorem eqer
Dummy variables  w  z  v are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqer.2 . . . . 5  |-  R  =  { <. x ,  y
>.  |  A  =  B }
21relopabi 4811 . . . 4  |-  Rel  R
32a1i 10 . . 3  |-  (  T. 
->  Rel  R )
4 id 19 . . . . . 6  |-  ( [_ z  /  x ]_ A  =  [_ w  /  x ]_ A  ->  [_ z  /  x ]_ A  = 
[_ w  /  x ]_ A )
54eqcomd 2288 . . . . 5  |-  ( [_ z  /  x ]_ A  =  [_ w  /  x ]_ A  ->  [_ w  /  x ]_ A  = 
[_ z  /  x ]_ A )
6 eqer.1 . . . . . 6  |-  ( x  =  y  ->  A  =  B )
76, 1eqerlem 6692 . . . . 5  |-  ( z R w  <->  [_ z  /  x ]_ A  =  [_ w  /  x ]_ A
)
86, 1eqerlem 6692 . . . . 5  |-  ( w R z  <->  [_ w  /  x ]_ A  =  [_ z  /  x ]_ A
)
95, 7, 83imtr4i 257 . . . 4  |-  ( z R w  ->  w R z )
109adantl 452 . . 3  |-  ( (  T.  /\  z R w )  ->  w R z )
11 eqtr 2300 . . . . 5  |-  ( (
[_ z  /  x ]_ A  =  [_ w  /  x ]_ A  /\  [_ w  /  x ]_ A  =  [_ v  /  x ]_ A )  ->  [_ z  /  x ]_ A  =  [_ v  /  x ]_ A )
126, 1eqerlem 6692 . . . . . 6  |-  ( w R v  <->  [_ w  /  x ]_ A  =  [_ v  /  x ]_ A
)
137, 12anbi12i 678 . . . . 5  |-  ( ( z R w  /\  w R v )  <->  ( [_ z  /  x ]_ A  =  [_ w  /  x ]_ A  /\  [_ w  /  x ]_ A  = 
[_ v  /  x ]_ A ) )
146, 1eqerlem 6692 . . . . 5  |-  ( z R v  <->  [_ z  /  x ]_ A  =  [_ v  /  x ]_ A
)
1511, 13, 143imtr4i 257 . . . 4  |-  ( ( z R w  /\  w R v )  -> 
z R v )
1615adantl 452 . . 3  |-  ( (  T.  /\  ( z R w  /\  w R v ) )  ->  z R v )
17 vex 2791 . . . . 5  |-  z  e. 
_V
18 eqid 2283 . . . . . 6  |-  [_ z  /  x ]_ A  = 
[_ z  /  x ]_ A
196, 1eqerlem 6692 . . . . . 6  |-  ( z R z  <->  [_ z  /  x ]_ A  =  [_ z  /  x ]_ A
)
2018, 19mpbir 200 . . . . 5  |-  z R z
2117, 202th 230 . . . 4  |-  ( z  e.  _V  <->  z R
z )
2221a1i 10 . . 3  |-  (  T. 
->  ( z  e.  _V  <->  z R z ) )
233, 10, 16, 22iserd 6686 . 2  |-  (  T. 
->  R  Er  _V )
2423trud 1314 1  |-  R  Er  _V
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    T. wtru 1307    = wceq 1623    e. wcel 1684   _Vcvv 2788   [_csb 3081   class class class wbr 4023   {copab 4076   Rel wrel 4694    Er wer 6657
This theorem is referenced by:  ider  6694  frgpuplem  15081  fneer  26288
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-br 4024  df-opab 4078  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-er 6660
  Copyright terms: Public domain W3C validator