Users' Mathboxes Mathbox for Rodolfo Medina < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  prter1 Unicode version

Theorem prter1 26419
Description: Every partition generates an equivalence relation. (Contributed by Rodolfo Medina, 13-Oct-2010.) (Revised by Mario Carneiro, 12-Aug-2015.)
Hypothesis
Ref Expression
prtlem18.1  |-  .~  =  { <. x ,  y
>.  |  E. u  e.  A  ( x  e.  u  /\  y  e.  u ) }
Assertion
Ref Expression
prter1  |-  ( Prt 
A  ->  .~  Er  U. A )
Distinct variable group:    x, u, y, A
Allowed substitution hints:    .~ ( x, y, u)

Proof of Theorem prter1
Dummy variables  q  p  r  v  w  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 prtlem18.1 . . . 4  |-  .~  =  { <. x ,  y
>.  |  E. u  e.  A  ( x  e.  u  /\  y  e.  u ) }
21relopabi 4940 . . 3  |-  Rel  .~
32a1i 11 . 2  |-  ( Prt 
A  ->  Rel  .~  )
41prtlem16 26409 . . 3  |-  dom  .~  =  U. A
54a1i 11 . 2  |-  ( Prt 
A  ->  dom  .~  =  U. A )
6 prtlem15 26415 . . . . . 6  |-  ( Prt 
A  ->  ( E. v  e.  A  E. q  e.  A  (
( z  e.  v  /\  w  e.  v )  /\  ( w  e.  q  /\  p  e.  q ) )  ->  E. r  e.  A  ( z  e.  r  /\  p  e.  r ) ) )
71prtlem13 26408 . . . . . . . 8  |-  ( z  .~  w  <->  E. v  e.  A  ( z  e.  v  /\  w  e.  v ) )
81prtlem13 26408 . . . . . . . 8  |-  ( w  .~  p  <->  E. q  e.  A  ( w  e.  q  /\  p  e.  q ) )
97, 8anbi12i 679 . . . . . . 7  |-  ( ( z  .~  w  /\  w  .~  p )  <->  ( E. v  e.  A  (
z  e.  v  /\  w  e.  v )  /\  E. q  e.  A  ( w  e.  q  /\  p  e.  q
) ) )
10 reeanv 2818 . . . . . . 7  |-  ( E. v  e.  A  E. q  e.  A  (
( z  e.  v  /\  w  e.  v )  /\  ( w  e.  q  /\  p  e.  q ) )  <->  ( E. v  e.  A  (
z  e.  v  /\  w  e.  v )  /\  E. q  e.  A  ( w  e.  q  /\  p  e.  q
) ) )
119, 10bitr4i 244 . . . . . 6  |-  ( ( z  .~  w  /\  w  .~  p )  <->  E. v  e.  A  E. q  e.  A  ( (
z  e.  v  /\  w  e.  v )  /\  ( w  e.  q  /\  p  e.  q ) ) )
121prtlem13 26408 . . . . . 6  |-  ( z  .~  p  <->  E. r  e.  A  ( z  e.  r  /\  p  e.  r ) )
136, 11, 123imtr4g 262 . . . . 5  |-  ( Prt 
A  ->  ( (
z  .~  w  /\  w  .~  p )  -> 
z  .~  p )
)
14 pm3.22 437 . . . . . . 7  |-  ( ( z  e.  v  /\  w  e.  v )  ->  ( w  e.  v  /\  z  e.  v ) )
1514reximi 2756 . . . . . 6  |-  ( E. v  e.  A  ( z  e.  v  /\  w  e.  v )  ->  E. v  e.  A  ( w  e.  v  /\  z  e.  v
) )
161prtlem13 26408 . . . . . 6  |-  ( w  .~  z  <->  E. v  e.  A  ( w  e.  v  /\  z  e.  v ) )
1715, 7, 163imtr4i 258 . . . . 5  |-  ( z  .~  w  ->  w  .~  z )
1813, 17jctil 524 . . . 4  |-  ( Prt 
A  ->  ( (
z  .~  w  ->  w  .~  z )  /\  ( ( z  .~  w  /\  w  .~  p
)  ->  z  .~  p ) ) )
1918alrimivv 1639 . . 3  |-  ( Prt 
A  ->  A. w A. p ( ( z  .~  w  ->  w  .~  z )  /\  (
( z  .~  w  /\  w  .~  p
)  ->  z  .~  p ) ) )
2019alrimiv 1638 . 2  |-  ( Prt 
A  ->  A. z A. w A. p ( ( z  .~  w  ->  w  .~  z )  /\  ( ( z  .~  w  /\  w  .~  p )  ->  z  .~  p ) ) )
21 dfer2 6842 . 2  |-  (  .~  Er  U. A  <->  ( Rel  .~ 
/\  dom  .~  =  U. A  /\  A. z A. w A. p ( ( z  .~  w  ->  w  .~  z )  /\  ( ( z  .~  w  /\  w  .~  p )  ->  z  .~  p ) ) ) )
223, 5, 20, 21syl3anbrc 1138 1  |-  ( Prt 
A  ->  .~  Er  U. A )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359   A.wal 1546    = wceq 1649   E.wrex 2650   U.cuni 3957   class class class wbr 4153   {copab 4206   dom cdm 4818   Rel wrel 4823    Er wer 6838   Prt wprt 26411
This theorem is referenced by:  prtex  26420
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 1661  ax-8 1682  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2368  ax-sep 4271  ax-nul 4279  ax-pr 4344
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2242  df-mo 2243  df-clab 2374  df-cleq 2380  df-clel 2383  df-nfc 2512  df-ne 2552  df-ral 2654  df-rex 2655  df-rab 2658  df-v 2901  df-dif 3266  df-un 3268  df-in 3270  df-ss 3277  df-nul 3572  df-if 3683  df-sn 3763  df-pr 3764  df-op 3766  df-uni 3958  df-br 4154  df-opab 4208  df-xp 4824  df-rel 4825  df-cnv 4826  df-co 4827  df-dm 4828  df-er 6841  df-prt 26412
  Copyright terms: Public domain W3C validator