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

Theorem erinxp 6511
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 3302 . . . 4  |-  ( R  i^i  ( B  X.  B ) )  C_  ( B  X.  B
)
2 relxp 4656 . . . 4  |-  Rel  ( B  X.  B )
3 relss 4634 . . . 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 109 . . . . 5  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  x ( R  i^i  ( B  X.  B ) ) y )
7 brinxp2 4614 . . . . 5  |-  ( x ( R  i^i  ( B  X.  B ) ) y  <->  ( x  e.  B  /\  y  e.  B  /\  x R y ) )
86, 7sylib 121 . . . 4  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  ( x  e.  B  /\  y  e.  B  /\  x R y ) )
98simp2d 995 . . 3  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  y  e.  B )
108simp1d 994 . . 3  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  x  e.  B )
11 erinxp.r . . . . 5  |-  ( ph  ->  R  Er  A )
1211adantr 274 . . . 4  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  R  Er  A )
138simp3d 996 . . . 4  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  x R
y )
1412, 13ersym 6449 . . 3  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  y R x )
15 brinxp2 4614 . . 3  |-  ( y ( R  i^i  ( B  X.  B ) ) x  <->  ( y  e.  B  /\  x  e.  B  /\  y R x ) )
169, 10, 14, 15syl3anbrc 1166 . 2  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  y ( R  i^i  ( B  X.  B ) ) x )
1710adantrr 471 . . 3  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  x  e.  B )
18 simprr 522 . . . . 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 4614 . . . . 5  |-  ( y ( R  i^i  ( B  X.  B ) ) z  <->  ( y  e.  B  /\  z  e.  B  /\  y R z ) )
2018, 19sylib 121 . . . 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 995 . . 3  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  -> 
z  e.  B )
2211adantr 274 . . . 4  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  R  Er  A )
2313adantrr 471 . . . 4  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  x R y )
2420simp3d 996 . . . 4  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  -> 
y R z )
2522, 23, 24ertrd 6453 . . 3  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  x R z )
26 brinxp2 4614 . . 3  |-  ( x ( R  i^i  ( B  X.  B ) ) z  <->  ( x  e.  B  /\  z  e.  B  /\  x R z ) )
2717, 21, 25, 26syl3anbrc 1166 . 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 274 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  R  Er  A )
29 erinxp.a . . . . . . 7  |-  ( ph  ->  B  C_  A )
3029sselda 3102 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  x  e.  A )
3128, 30erref 6457 . . . . 5  |-  ( (
ph  /\  x  e.  B )  ->  x R x )
3231ex 114 . . . 4  |-  ( ph  ->  ( x  e.  B  ->  x R x ) )
3332pm4.71rd 392 . . 3  |-  ( ph  ->  ( x  e.  B  <->  ( x R x  /\  x  e.  B )
) )
34 brin 3988 . . . 4  |-  ( x ( R  i^i  ( B  X.  B ) ) x  <->  ( x R x  /\  x ( B  X.  B ) x ) )
35 brxp 4578 . . . . . 6  |-  ( x ( B  X.  B
) x  <->  ( x  e.  B  /\  x  e.  B ) )
36 anidm 394 . . . . . 6  |-  ( ( x  e.  B  /\  x  e.  B )  <->  x  e.  B )
3735, 36bitri 183 . . . . 5  |-  ( x ( B  X.  B
) x  <->  x  e.  B )
3837anbi2i 453 . . . 4  |-  ( ( x R x  /\  x ( B  X.  B ) x )  <-> 
( x R x  /\  x  e.  B
) )
3934, 38bitri 183 . . 3  |-  ( x ( R  i^i  ( B  X.  B ) ) x  <->  ( x R x  /\  x  e.  B ) )
4033, 39syl6bbr 197 . 2  |-  ( ph  ->  ( x  e.  B  <->  x ( R  i^i  ( B  X.  B ) ) x ) )
415, 16, 27, 40iserd 6463 1  |-  ( ph  ->  ( R  i^i  ( B  X.  B ) )  Er  B )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    /\ w3a 963    e. wcel 1481    i^i cin 3075    C_ wss 3076   class class class wbr 3937    X. cxp 4545   Rel wrel 4552    Er wer 6434
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 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054  ax-pow 4106  ax-pr 4139
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-v 2691  df-un 3080  df-in 3082  df-ss 3089  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-br 3938  df-opab 3998  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-er 6437
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator