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

Theorem erinxp 6496
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 3292 . . . 4  |-  ( R  i^i  ( B  X.  B ) )  C_  ( B  X.  B
)
2 relxp 4643 . . . 4  |-  Rel  ( B  X.  B )
3 relss 4621 . . . 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 4601 . . . . 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 994 . . 3  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  y  e.  B )
108simp1d 993 . . 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 995 . . . 4  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  x R
y )
1412, 13ersym 6434 . . 3  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  y R x )
15 brinxp2 4601 . . 3  |-  ( y ( R  i^i  ( B  X.  B ) ) x  <->  ( y  e.  B  /\  x  e.  B  /\  y R x ) )
169, 10, 14, 15syl3anbrc 1165 . 2  |-  ( (
ph  /\  x ( R  i^i  ( B  X.  B ) ) y )  ->  y ( R  i^i  ( B  X.  B ) ) x )
1710adantrr 470 . . 3  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  x  e.  B )
18 simprr 521 . . . . 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 4601 . . . . 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 994 . . 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 470 . . . 4  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  x R y )
2420simp3d 995 . . . 4  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  -> 
y R z )
2522, 23, 24ertrd 6438 . . 3  |-  ( (
ph  /\  ( x
( R  i^i  ( B  X.  B ) ) y  /\  y ( R  i^i  ( B  X.  B ) ) z ) )  ->  x R z )
26 brinxp2 4601 . . 3  |-  ( x ( R  i^i  ( B  X.  B ) ) z  <->  ( x  e.  B  /\  z  e.  B  /\  x R z ) )
2717, 21, 25, 26syl3anbrc 1165 . 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 3092 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  x  e.  A )
3128, 30erref 6442 . . . . 5  |-  ( (
ph  /\  x  e.  B )  ->  x R x )
3231ex 114 . . . 4  |-  ( ph  ->  ( x  e.  B  ->  x R x ) )
3332pm4.71rd 391 . . 3  |-  ( ph  ->  ( x  e.  B  <->  ( x R x  /\  x  e.  B )
) )
34 brin 3975 . . . 4  |-  ( x ( R  i^i  ( B  X.  B ) ) x  <->  ( x R x  /\  x ( B  X.  B ) x ) )
35 brxp 4565 . . . . . 6  |-  ( x ( B  X.  B
) x  <->  ( x  e.  B  /\  x  e.  B ) )
36 anidm 393 . . . . . 6  |-  ( ( x  e.  B  /\  x  e.  B )  <->  x  e.  B )
3735, 36bitri 183 . . . . 5  |-  ( x ( B  X.  B
) x  <->  x  e.  B )
3837anbi2i 452 . . . 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 6448 1  |-  ( ph  ->  ( R  i^i  ( B  X.  B ) )  Er  B )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    /\ w3a 962    e. wcel 1480    i^i cin 3065    C_ wss 3066   class class class wbr 3924    X. cxp 4532   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: (None)
  Copyright terms: Public domain W3C validator