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

Theorem prter1 26850
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 4827 . . 3  |-  Rel  .~
32a1i 10 . 2  |-  ( Prt 
A  ->  Rel  .~  )
41prtlem16 26840 . . 3  |-  dom  .~  =  U. A
54a1i 10 . 2  |-  ( Prt 
A  ->  dom  .~  =  U. A )
6 prtlem15 26846 . . . . . 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 26839 . . . . . . . 8  |-  ( z  .~  w  <->  E. v  e.  A  ( z  e.  v  /\  w  e.  v ) )
81prtlem13 26839 . . . . . . . 8  |-  ( w  .~  p  <->  E. q  e.  A  ( w  e.  q  /\  p  e.  q ) )
97, 8anbi12i 678 . . . . . . 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 2720 . . . . . . 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 243 . . . . . 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 26839 . . . . . 6  |-  ( z  .~  p  <->  E. r  e.  A  ( z  e.  r  /\  p  e.  r ) )
136, 11, 123imtr4g 261 . . . . 5  |-  ( Prt 
A  ->  ( (
z  .~  w  /\  w  .~  p )  -> 
z  .~  p )
)
14 pm3.22 436 . . . . . . 7  |-  ( ( z  e.  v  /\  w  e.  v )  ->  ( w  e.  v  /\  z  e.  v ) )
1514reximi 2663 . . . . . 6  |-  ( E. v  e.  A  ( z  e.  v  /\  w  e.  v )  ->  E. v  e.  A  ( w  e.  v  /\  z  e.  v
) )
161prtlem13 26839 . . . . . 6  |-  ( w  .~  z  <->  E. v  e.  A  ( w  e.  v  /\  z  e.  v ) )
1715, 7, 163imtr4i 257 . . . . 5  |-  ( z  .~  w  ->  w  .~  z )
1813, 17jctil 523 . . . 4  |-  ( Prt 
A  ->  ( (
z  .~  w  ->  w  .~  z )  /\  ( ( z  .~  w  /\  w  .~  p
)  ->  z  .~  p ) ) )
1918alrimivv 1622 . . 3  |-  ( Prt 
A  ->  A. w A. p ( ( z  .~  w  ->  w  .~  z )  /\  (
( z  .~  w  /\  w  .~  p
)  ->  z  .~  p ) ) )
2019alrimiv 1621 . 2  |-  ( Prt 
A  ->  A. z A. w A. p ( ( z  .~  w  ->  w  .~  z )  /\  ( ( z  .~  w  /\  w  .~  p )  ->  z  .~  p ) ) )
21 dfer2 6677 . 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 1136 1  |-  ( Prt 
A  ->  .~  Er  U. A )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358   A.wal 1530    = wceq 1632    e. wcel 1696   E.wrex 2557   U.cuni 3843   class class class wbr 4039   {copab 4092   dom cdm 4705   Rel wrel 4710    Er wer 6673   Prt wprt 26842
This theorem is referenced by:  prtex  26851
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pr 4230
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-br 4040  df-opab 4094  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-er 6676  df-prt 26843
  Copyright terms: Public domain W3C validator