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

Theorem iserd 6448
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 2138 . . 3  |-  ( ph  ->  dom  R  =  dom  R )
3 iserd.2 . . . . . . . 8  |-  ( (
ph  /\  x R
y )  ->  y R x )
43ex 114 . . . . . . 7  |-  ( ph  ->  ( x R y  ->  y R x ) )
5 iserd.3 . . . . . . . 8  |-  ( (
ph  /\  ( x R y  /\  y R z ) )  ->  x R z )
65ex 114 . . . . . . 7  |-  ( ph  ->  ( ( x R y  /\  y R z )  ->  x R z ) )
74, 6jca 304 . . . . . 6  |-  ( ph  ->  ( ( x R y  ->  y R x )  /\  (
( x R y  /\  y R z )  ->  x R
z ) ) )
87alrimiv 1846 . . . . 5  |-  ( ph  ->  A. z ( ( x R y  -> 
y R x )  /\  ( ( x R y  /\  y R z )  ->  x R z ) ) )
98alrimiv 1846 . . . 4  |-  ( ph  ->  A. y A. z
( ( x R y  ->  y R x )  /\  (
( x R y  /\  y R z )  ->  x R
z ) ) )
109alrimiv 1846 . . 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 6423 . . 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 1165 . 2  |-  ( ph  ->  R  Er  dom  R
)
1312adantr 274 . . . . . . . 8  |-  ( (
ph  /\  x  e.  dom  R )  ->  R  Er  dom  R )
14 simpr 109 . . . . . . . 8  |-  ( (
ph  /\  x  e.  dom  R )  ->  x  e.  dom  R )
1513, 14erref 6442 . . . . . . 7  |-  ( (
ph  /\  x  e.  dom  R )  ->  x R x )
1615ex 114 . . . . . 6  |-  ( ph  ->  ( x  e.  dom  R  ->  x R x ) )
17 vex 2684 . . . . . . 7  |-  x  e. 
_V
1817, 17breldm 4738 . . . . . 6  |-  ( x R x  ->  x  e.  dom  R )
1916, 18impbid1 141 . . . . 5  |-  ( ph  ->  ( x  e.  dom  R  <-> 
x R x ) )
20 iserd.4 . . . . 5  |-  ( ph  ->  ( x  e.  A  <->  x R x ) )
2119, 20bitr4d 190 . . . 4  |-  ( ph  ->  ( x  e.  dom  R  <-> 
x  e.  A ) )
2221eqrdv 2135 . . 3  |-  ( ph  ->  dom  R  =  A )
23 ereq2 6430 . . 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 146 1  |-  ( ph  ->  R  Er  A )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104   A.wal 1329    = wceq 1331    e. wcel 1480   class class class wbr 3924   dom cdm 4534   Rel wrel 4539    Er wer 6419
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041  ax-pow 4093  ax-pr 4126
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rex 2420  df-v 2683  df-un 3070  df-in 3072  df-ss 3079  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-br 3925  df-opab 3985  df-xp 4540  df-rel 4541  df-cnv 4542  df-co 4543  df-dm 4544  df-er 6422
This theorem is referenced by:  swoer  6450  eqer  6454  0er  6456  iinerm  6494  erinxp  6496  ecopover  6520  ecopoverg  6523  ener  6666  enq0er  7236  xmeter  12594
  Copyright terms: Public domain W3C validator