ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  iserd Unicode version

Theorem iserd 6155
Description: A reflexive, symmetric, transitive relation is an equivalence relation on its domain. (Contributed by Mario Carneiro, 9-Jul-2014.) (Revised by Mario Carneiro, 12-Aug-2015.)
Hypotheses
Ref Expression
iserd.1  |-  ( ph  ->  Rel  R )
iserd.2  |-  ( (
ph  /\  x R
y )  ->  y R x )
iserd.3  |-  ( (
ph  /\  ( x R y  /\  y R z ) )  ->  x R z )
iserd.4  |-  ( ph  ->  ( x  e.  A  <->  x R x ) )
Assertion
Ref Expression
iserd  |-  ( ph  ->  R  Er  A )
Distinct variable groups:    x, y, z, R    x, A    ph, x, y, z
Allowed substitution hints:    A( y, z)

Proof of Theorem iserd
StepHypRef Expression
1 iserd.1 . . 3  |-  ( ph  ->  Rel  R )
2 eqidd 2082 . . 3  |-  ( ph  ->  dom  R  =  dom  R )
3 iserd.2 . . . . . . . 8  |-  ( (
ph  /\  x R
y )  ->  y R x )
43ex 113 . . . . . . 7  |-  ( ph  ->  ( x R y  ->  y R x ) )
5 iserd.3 . . . . . . . 8  |-  ( (
ph  /\  ( x R y  /\  y R z ) )  ->  x R z )
65ex 113 . . . . . . 7  |-  ( ph  ->  ( ( x R y  /\  y R z )  ->  x R z ) )
74, 6jca 300 . . . . . 6  |-  ( ph  ->  ( ( x R y  ->  y R x )  /\  (
( x R y  /\  y R z )  ->  x R
z ) ) )
87alrimiv 1795 . . . . 5  |-  ( ph  ->  A. z ( ( x R y  -> 
y R x )  /\  ( ( x R y  /\  y R z )  ->  x R z ) ) )
98alrimiv 1795 . . . 4  |-  ( ph  ->  A. y A. z
( ( x R y  ->  y R x )  /\  (
( x R y  /\  y R z )  ->  x R
z ) ) )
109alrimiv 1795 . . 3  |-  ( ph  ->  A. x A. y A. z ( ( x R y  ->  y R x )  /\  ( ( x R y  /\  y R z )  ->  x R z ) ) )
11 dfer2 6130 . . 3  |-  ( R  Er  dom  R  <->  ( Rel  R  /\  dom  R  =  dom  R  /\  A. x A. y A. z
( ( x R y  ->  y R x )  /\  (
( x R y  /\  y R z )  ->  x R
z ) ) ) )
121, 2, 10, 11syl3anbrc 1122 . 2  |-  ( ph  ->  R  Er  dom  R
)
1312adantr 270 . . . . . . . 8  |-  ( (
ph  /\  x  e.  dom  R )  ->  R  Er  dom  R )
14 simpr 108 . . . . . . . 8  |-  ( (
ph  /\  x  e.  dom  R )  ->  x  e.  dom  R )
1513, 14erref 6149 . . . . . . 7  |-  ( (
ph  /\  x  e.  dom  R )  ->  x R x )
1615ex 113 . . . . . 6  |-  ( ph  ->  ( x  e.  dom  R  ->  x R x ) )
17 vex 2604 . . . . . . 7  |-  x  e. 
_V
1817, 17breldm 4557 . . . . . 6  |-  ( x R x  ->  x  e.  dom  R )
1916, 18impbid1 140 . . . . 5  |-  ( ph  ->  ( x  e.  dom  R  <-> 
x R x ) )
20 iserd.4 . . . . 5  |-  ( ph  ->  ( x  e.  A  <->  x R x ) )
2119, 20bitr4d 189 . . . 4  |-  ( ph  ->  ( x  e.  dom  R  <-> 
x  e.  A ) )
2221eqrdv 2079 . . 3  |-  ( ph  ->  dom  R  =  A )
23 ereq2 6137 . . 3  |-  ( dom 
R  =  A  -> 
( R  Er  dom  R  <-> 
R  Er  A ) )
2422, 23syl 14 . 2  |-  ( ph  ->  ( R  Er  dom  R  <-> 
R  Er  A ) )
2512, 24mpbid 145 1  |-  ( ph  ->  R  Er  A )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 102    <-> wb 103   A.wal 1282    = wceq 1284    e. wcel 1433   class class class wbr 3785   dom cdm 4363   Rel wrel 4368    Er wer 6126
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-sep 3896  ax-pow 3948  ax-pr 3964
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-eu 1944  df-mo 1945  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rex 2354  df-v 2603  df-un 2977  df-in 2979  df-ss 2986  df-pw 3384  df-sn 3404  df-pr 3405  df-op 3407  df-br 3786  df-opab 3840  df-xp 4369  df-rel 4370  df-cnv 4371  df-co 4372  df-dm 4373  df-er 6129
This theorem is referenced by:  swoer  6157  eqer  6161  0er  6163  iinerm  6201  erinxp  6203  ecopover  6227  ecopoverg  6230  ener  6282  enq0er  6625
  Copyright terms: Public domain W3C validator