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

Theorem iserd 6556
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 2178 . . 3  |-  ( ph  ->  dom  R  =  dom  R )
3 iserd.2 . . . . . . . 8  |-  ( (
ph  /\  x R
y )  ->  y R x )
43ex 115 . . . . . . 7  |-  ( ph  ->  ( x R y  ->  y R x ) )
5 iserd.3 . . . . . . . 8  |-  ( (
ph  /\  ( x R y  /\  y R z ) )  ->  x R z )
65ex 115 . . . . . . 7  |-  ( ph  ->  ( ( x R y  /\  y R z )  ->  x R z ) )
74, 6jca 306 . . . . . 6  |-  ( ph  ->  ( ( x R y  ->  y R x )  /\  (
( x R y  /\  y R z )  ->  x R
z ) ) )
87alrimiv 1874 . . . . 5  |-  ( ph  ->  A. z ( ( x R y  -> 
y R x )  /\  ( ( x R y  /\  y R z )  ->  x R z ) ) )
98alrimiv 1874 . . . 4  |-  ( ph  ->  A. y A. z
( ( x R y  ->  y R x )  /\  (
( x R y  /\  y R z )  ->  x R
z ) ) )
109alrimiv 1874 . . 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 6531 . . 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 1181 . 2  |-  ( ph  ->  R  Er  dom  R
)
1312adantr 276 . . . . . . . 8  |-  ( (
ph  /\  x  e.  dom  R )  ->  R  Er  dom  R )
14 simpr 110 . . . . . . . 8  |-  ( (
ph  /\  x  e.  dom  R )  ->  x  e.  dom  R )
1513, 14erref 6550 . . . . . . 7  |-  ( (
ph  /\  x  e.  dom  R )  ->  x R x )
1615ex 115 . . . . . 6  |-  ( ph  ->  ( x  e.  dom  R  ->  x R x ) )
17 vex 2740 . . . . . . 7  |-  x  e. 
_V
1817, 17breldm 4828 . . . . . 6  |-  ( x R x  ->  x  e.  dom  R )
1916, 18impbid1 142 . . . . 5  |-  ( ph  ->  ( x  e.  dom  R  <-> 
x R x ) )
20 iserd.4 . . . . 5  |-  ( ph  ->  ( x  e.  A  <->  x R x ) )
2119, 20bitr4d 191 . . . 4  |-  ( ph  ->  ( x  e.  dom  R  <-> 
x  e.  A ) )
2221eqrdv 2175 . . 3  |-  ( ph  ->  dom  R  =  A )
23 ereq2 6538 . . 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 147 1  |-  ( ph  ->  R  Er  A )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105   A.wal 1351    = wceq 1353    e. wcel 2148   class class class wbr 4001   dom cdm 4624   Rel wrel 4629    Er wer 6527
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-14 2151  ax-ext 2159  ax-sep 4119  ax-pow 4172  ax-pr 4207
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ral 2460  df-rex 2461  df-v 2739  df-un 3133  df-in 3135  df-ss 3142  df-pw 3577  df-sn 3598  df-pr 3599  df-op 3601  df-br 4002  df-opab 4063  df-xp 4630  df-rel 4631  df-cnv 4632  df-co 4633  df-dm 4634  df-er 6530
This theorem is referenced by:  swoer  6558  eqer  6562  0er  6564  iinerm  6602  erinxp  6604  ecopover  6628  ecopoverg  6631  ener  6774  enq0er  7429  xmeter  13718
  Copyright terms: Public domain W3C validator