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

Theorem erinxp 6180
Description: A restricted equivalence relation is an equivalence relation. (Contributed by Mario Carneiro, 10-Jul-2015.) (Revised by Mario Carneiro, 12-Aug-2015.)
Hypotheses
Ref Expression
erinxp.r  |-  ( ph  ->  R  Er  A )
erinxp.a  |-  ( ph  ->  B  C_  A )
Assertion
Ref Expression
erinxp  |-  ( ph  ->  ( R  i^i  ( B  X.  B ) )  Er  B )

Proof of Theorem erinxp
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 inss2 3158 . . . 4  |-  ( R  i^i  ( B  X.  B ) )  C_  ( B  X.  B
)
2 relxp 4447 . . . 4  |-  Rel  ( B  X.  B )
3 relss 4427 . . . 4  |-  ( ( R  i^i  ( B  X.  B ) ) 
C_  ( B  X.  B )  ->  ( Rel  ( B  X.  B
)  ->  Rel  ( R  i^i  ( B  X.  B ) ) ) )
41, 2, 3mp2 16 . . 3  |-  Rel  ( R  i^i  ( B  X.  B ) )
54a1i 9 . 2  |-  ( ph  ->  Rel  ( R  i^i  ( B  X.  B
) ) )
6 simpr 103 . . . . 5  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  x ( R  i^i  ( B  X.  B ) ) y )
7 brinxp2 4407 . . . . 5  |-  ( x ( R  i^i  ( B  X.  B ) ) y  <->  ( x  e.  B  /\  y  e.  B  /\  x R y ) )
86, 7sylib 127 . . . 4  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  ( x  e.  B  /\  y  e.  B  /\  x R y ) )
98simp2d 917 . . 3  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  y  e.  B )
108simp1d 916 . . 3  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  x  e.  B )
11 erinxp.r . . . . 5  |-  ( ph  ->  R  Er  A )
1211adantr 261 . . . 4  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  R  Er  A )
138simp3d 918 . . . 4  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  x R
y )
1412, 13ersym 6118 . . 3  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  y R x )
15 brinxp2 4407 . . 3  |-  ( y ( R  i^i  ( B  X.  B ) ) x  <->  ( y  e.  B  /\  x  e.  B  /\  y R x ) )
169, 10, 14, 15syl3anbrc 1088 . 2  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  y ( R  i^i  ( B  X.  B ) ) x )
1710adantrr 448 . . 3  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  x  e.  B )
18 simprr 484 . . . . 5  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  -> 
y ( R  i^i  ( B  X.  B
) ) z )
19 brinxp2 4407 . . . . 5  |-  ( y ( R  i^i  ( B  X.  B ) ) z  <->  ( y  e.  B  /\  z  e.  B  /\  y R z ) )
2018, 19sylib 127 . . . 4  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  -> 
( y  e.  B  /\  z  e.  B  /\  y R z ) )
2120simp2d 917 . . 3  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  -> 
z  e.  B )
2211adantr 261 . . . 4  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  R  Er  A )
2313adantrr 448 . . . 4  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  x R y )
2420simp3d 918 . . . 4  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  -> 
y R z )
2522, 23, 24ertrd 6122 . . 3  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  x R z )
26 brinxp2 4407 . . 3  |-  ( x ( R  i^i  ( B  X.  B ) ) z  <->  ( x  e.  B  /\  z  e.  B  /\  x R z ) )
2717, 21, 25, 26syl3anbrc 1088 . 2  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  x ( R  i^i  ( B  X.  B
) ) z )
2811adantr 261 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  R  Er  A )
29 erinxp.a . . . . . . 7  |-  ( ph  ->  B  C_  A )
3029sselda 2945 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  x  e.  A )
3128, 30erref 6126 . . . . 5  |-  ( (
ph  /\  x  e.  B )  ->  x R x )
3231ex 108 . . . 4  |-  ( ph  ->  ( x  e.  B  ->  x R x ) )
3332pm4.71rd 374 . . 3  |-  ( ph  ->  ( x  e.  B  <->  ( x R x  /\  x  e.  B )
) )
34 brin 3811 . . . 4  |-  ( x ( R  i^i  ( B  X.  B ) ) x  <->  ( x R x  /\  x ( B  X.  B ) x ) )
35 brxp 4375 . . . . . 6  |-  ( x ( B  X.  B
) x  <->  ( x  e.  B  /\  x  e.  B ) )
36 anidm 376 . . . . . 6  |-  ( ( x  e.  B  /\  x  e.  B )  <->  x  e.  B )
3735, 36bitri 173 . . . . 5  |-  ( x ( B  X.  B
) x  <->  x  e.  B )
3837anbi2i 430 . . . 4  |-  ( ( x R x  /\  x ( B  X.  B ) x )  <-> 
( x R x  /\  x  e.  B
) )
3934, 38bitri 173 . . 3  |-  ( x ( R  i^i  ( B  X.  B ) ) x  <->  ( x R x  /\  x  e.  B ) )
4033, 39syl6bbr 187 . 2  |-  ( ph  ->  ( x  e.  B  <->  x ( R  i^i  ( B  X.  B ) ) x ) )
415, 16, 27, 40iserd 6132 1  |-  ( ph  ->  ( R  i^i  ( B  X.  B ) )  Er  B )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 97    /\ w3a 885    e. wcel 1393    i^i cin 2916    C_ wss 2917   class class class wbr 3764    X. cxp 4343   Rel wrel 4350    Er wer 6103
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-pow 3927  ax-pr 3944
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-v 2559  df-un 2922  df-in 2924  df-ss 2931  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-br 3765  df-opab 3819  df-xp 4351  df-rel 4352  df-cnv 4353  df-co 4354  df-dm 4355  df-er 6106
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator