MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  frgra3vlem1 Structured version   Unicode version

Theorem frgra3vlem1 25570
Description: Lemma 1 for frgra3v 25572. (Contributed by Alexander van der Vekens, 4-Oct-2017.)
Assertion
Ref Expression
frgra3vlem1  |-  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  A. x A. y ( ( ( x  e. 
{ A ,  B ,  C }  /\  { { x ,  A } ,  { x ,  B } }  C_  ran  E )  /\  (
y  e.  { A ,  B ,  C }  /\  { { y ,  A } ,  {
y ,  B } }  C_  ran  E ) )  ->  x  =  y ) )
Distinct variable groups:    x, A, y    x, B, y    x, C, y    x, E, y   
x, X, y    x, Y, y    x, Z, y

Proof of Theorem frgra3vlem1
StepHypRef Expression
1 vex 3081 . . . . . 6  |-  x  e. 
_V
21eltp 4039 . . . . 5  |-  ( x  e.  { A ,  B ,  C }  <->  ( x  =  A  \/  x  =  B  \/  x  =  C )
)
3 vex 3081 . . . . . . . . 9  |-  y  e. 
_V
43eltp 4039 . . . . . . . 8  |-  ( y  e.  { A ,  B ,  C }  <->  ( y  =  A  \/  y  =  B  \/  y  =  C )
)
5 eqidd 2421 . . . . . . . . . . . . . . 15  |-  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  A )
65a1i 11 . . . . . . . . . . . . . 14  |-  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  A )
)
762a1i 12 . . . . . . . . . . . . 13  |-  ( y  =  A  ->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  A )
) ) )
8 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( y  =  A  ->  { y ,  A }  =  { A ,  A }
)
9 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( y  =  A  ->  { y ,  B }  =  { A ,  B }
)
108, 9preq12d 4081 . . . . . . . . . . . . . 14  |-  ( y  =  A  ->  { {
y ,  A } ,  { y ,  B } }  =  { { A ,  A } ,  { A ,  B } } )
1110sseq1d 3488 . . . . . . . . . . . . 13  |-  ( y  =  A  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  <->  { { A ,  A } ,  { A ,  B } }  C_  ran  E ) )
12 eqeq2 2435 . . . . . . . . . . . . . . 15  |-  ( y  =  A  ->  ( A  =  y  <->  A  =  A ) )
1312imbi2d 317 . . . . . . . . . . . . . 14  |-  ( y  =  A  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  A )
) )
1413imbi2d 317 . . . . . . . . . . . . 13  |-  ( y  =  A  ->  (
( { { A ,  A } ,  { A ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )
)  <->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  A )
) ) )
157, 11, 143imtr4d 271 . . . . . . . . . . . 12  |-  ( y  =  A  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )
) ) )
16 prex 4655 . . . . . . . . . . . . . . . . 17  |-  { A ,  A }  e.  _V
17 prex 4655 . . . . . . . . . . . . . . . . 17  |-  { A ,  B }  e.  _V
1816, 17prss 4148 . . . . . . . . . . . . . . . 16  |-  ( ( { A ,  A }  e.  ran  E  /\  { A ,  B }  e.  ran  E )  <->  { { A ,  A } ,  { A ,  B } }  C_  ran  E )
19 usgraedgrn 24951 . . . . . . . . . . . . . . . . . . 19  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { A ,  A }  e.  ran  E )  ->  A  =/=  A )
20 df-ne 2618 . . . . . . . . . . . . . . . . . . . 20  |-  ( A  =/=  A  <->  -.  A  =  A )
21 eqid 2420 . . . . . . . . . . . . . . . . . . . . 21  |-  A  =  A
2221pm2.24i 136 . . . . . . . . . . . . . . . . . . . 20  |-  ( -.  A  =  A  ->  A  =  B )
2320, 22sylbi 198 . . . . . . . . . . . . . . . . . . 19  |-  ( A  =/=  A  ->  A  =  B )
2419, 23syl 17 . . . . . . . . . . . . . . . . . 18  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { A ,  A }  e.  ran  E )  ->  A  =  B )
2524expcom 436 . . . . . . . . . . . . . . . . 17  |-  ( { A ,  A }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  A  =  B ) )
2625adantr 466 . . . . . . . . . . . . . . . 16  |-  ( ( { A ,  A }  e.  ran  E  /\  { A ,  B }  e.  ran  E )  -> 
( { A ,  B ,  C } USGrph  E  ->  A  =  B ) )
2718, 26sylbir 216 . . . . . . . . . . . . . . 15  |-  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  A  =  B ) )
2827adantld 468 . . . . . . . . . . . . . 14  |-  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  B )
)
29282a1i 12 . . . . . . . . . . . . 13  |-  ( y  =  B  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  B )
) ) )
30 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( y  =  B  ->  { y ,  A }  =  { B ,  A }
)
31 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( y  =  B  ->  { y ,  B }  =  { B ,  B }
)
3230, 31preq12d 4081 . . . . . . . . . . . . . 14  |-  ( y  =  B  ->  { {
y ,  A } ,  { y ,  B } }  =  { { B ,  A } ,  { B ,  B } } )
3332sseq1d 3488 . . . . . . . . . . . . 13  |-  ( y  =  B  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  <->  { { B ,  A } ,  { B ,  B } }  C_  ran  E ) )
34 eqeq2 2435 . . . . . . . . . . . . . . 15  |-  ( y  =  B  ->  ( A  =  y  <->  A  =  B ) )
3534imbi2d 317 . . . . . . . . . . . . . 14  |-  ( y  =  B  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  B )
) )
3635imbi2d 317 . . . . . . . . . . . . 13  |-  ( y  =  B  ->  (
( { { A ,  A } ,  { A ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )
)  <->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  B )
) ) )
3729, 33, 363imtr4d 271 . . . . . . . . . . . 12  |-  ( y  =  B  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )
) ) )
3821pm2.24i 136 . . . . . . . . . . . . . . . . . . . 20  |-  ( -.  A  =  A  ->  A  =  C )
3920, 38sylbi 198 . . . . . . . . . . . . . . . . . . 19  |-  ( A  =/=  A  ->  A  =  C )
4019, 39syl 17 . . . . . . . . . . . . . . . . . 18  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { A ,  A }  e.  ran  E )  ->  A  =  C )
4140expcom 436 . . . . . . . . . . . . . . . . 17  |-  ( { A ,  A }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  A  =  C ) )
4241adantr 466 . . . . . . . . . . . . . . . 16  |-  ( ( { A ,  A }  e.  ran  E  /\  { A ,  B }  e.  ran  E )  -> 
( { A ,  B ,  C } USGrph  E  ->  A  =  C ) )
4318, 42sylbir 216 . . . . . . . . . . . . . . 15  |-  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  A  =  C ) )
4443adantld 468 . . . . . . . . . . . . . 14  |-  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  C )
)
45442a1i 12 . . . . . . . . . . . . 13  |-  ( y  =  C  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  C )
) ) )
46 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( y  =  C  ->  { y ,  A }  =  { C ,  A }
)
47 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( y  =  C  ->  { y ,  B }  =  { C ,  B }
)
4846, 47preq12d 4081 . . . . . . . . . . . . . 14  |-  ( y  =  C  ->  { {
y ,  A } ,  { y ,  B } }  =  { { C ,  A } ,  { C ,  B } } )
4948sseq1d 3488 . . . . . . . . . . . . 13  |-  ( y  =  C  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  <->  { { C ,  A } ,  { C ,  B } }  C_  ran  E ) )
50 eqeq2 2435 . . . . . . . . . . . . . . 15  |-  ( y  =  C  ->  ( A  =  y  <->  A  =  C ) )
5150imbi2d 317 . . . . . . . . . . . . . 14  |-  ( y  =  C  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  C )
) )
5251imbi2d 317 . . . . . . . . . . . . 13  |-  ( y  =  C  ->  (
( { { A ,  A } ,  { A ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )
)  <->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  C )
) ) )
5345, 49, 523imtr4d 271 . . . . . . . . . . . 12  |-  ( y  =  C  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )
) ) )
5415, 37, 533jaoi 1327 . . . . . . . . . . 11  |-  ( ( y  =  A  \/  y  =  B  \/  y  =  C )  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )
) ) )
55 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( x  =  A  ->  { x ,  A }  =  { A ,  A }
)
56 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( x  =  A  ->  { x ,  B }  =  { A ,  B }
)
5755, 56preq12d 4081 . . . . . . . . . . . . . 14  |-  ( x  =  A  ->  { {
x ,  A } ,  { x ,  B } }  =  { { A ,  A } ,  { A ,  B } } )
5857sseq1d 3488 . . . . . . . . . . . . 13  |-  ( x  =  A  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  <->  { { A ,  A } ,  { A ,  B } }  C_  ran  E ) )
59 eqeq1 2424 . . . . . . . . . . . . . 14  |-  ( x  =  A  ->  (
x  =  y  <->  A  =  y ) )
6059imbi2d 317 . . . . . . . . . . . . 13  |-  ( x  =  A  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )
) )
6158, 60imbi12d 321 . . . . . . . . . . . 12  |-  ( x  =  A  ->  (
( { { x ,  A } ,  {
x ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
)  <->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )
) ) )
6261imbi2d 317 . . . . . . . . . . 11  |-  ( x  =  A  ->  (
( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { x ,  A } ,  {
x ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) )  <->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  A  =  y )
) ) ) )
6354, 62syl5ibr 224 . . . . . . . . . 10  |-  ( x  =  A  ->  (
( y  =  A  \/  y  =  B  \/  y  =  C )  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) ) ) )
64 prex 4655 . . . . . . . . . . . . . . . . 17  |-  { B ,  A }  e.  _V
65 prex 4655 . . . . . . . . . . . . . . . . 17  |-  { B ,  B }  e.  _V
6664, 65prss 4148 . . . . . . . . . . . . . . . 16  |-  ( ( { B ,  A }  e.  ran  E  /\  { B ,  B }  e.  ran  E )  <->  { { B ,  A } ,  { B ,  B } }  C_  ran  E )
67 usgraedgrn 24951 . . . . . . . . . . . . . . . . . . 19  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { B ,  B }  e.  ran  E )  ->  B  =/=  B )
68 df-ne 2618 . . . . . . . . . . . . . . . . . . . 20  |-  ( B  =/=  B  <->  -.  B  =  B )
69 eqid 2420 . . . . . . . . . . . . . . . . . . . . 21  |-  B  =  B
7069pm2.24i 136 . . . . . . . . . . . . . . . . . . . 20  |-  ( -.  B  =  B  ->  B  =  A )
7168, 70sylbi 198 . . . . . . . . . . . . . . . . . . 19  |-  ( B  =/=  B  ->  B  =  A )
7267, 71syl 17 . . . . . . . . . . . . . . . . . 18  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { B ,  B }  e.  ran  E )  ->  B  =  A )
7372expcom 436 . . . . . . . . . . . . . . . . 17  |-  ( { B ,  B }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  B  =  A ) )
7473adantl 467 . . . . . . . . . . . . . . . 16  |-  ( ( { B ,  A }  e.  ran  E  /\  { B ,  B }  e.  ran  E )  -> 
( { A ,  B ,  C } USGrph  E  ->  B  =  A ) )
7566, 74sylbir 216 . . . . . . . . . . . . . . 15  |-  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  B  =  A ) )
7675adantld 468 . . . . . . . . . . . . . 14  |-  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  A )
)
77762a1i 12 . . . . . . . . . . . . 13  |-  ( y  =  A  ->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  A )
) ) )
78 eqeq2 2435 . . . . . . . . . . . . . . 15  |-  ( y  =  A  ->  ( B  =  y  <->  B  =  A ) )
7978imbi2d 317 . . . . . . . . . . . . . 14  |-  ( y  =  A  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  A )
) )
8079imbi2d 317 . . . . . . . . . . . . 13  |-  ( y  =  A  ->  (
( { { B ,  A } ,  { B ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )
)  <->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  A )
) ) )
8177, 11, 803imtr4d 271 . . . . . . . . . . . 12  |-  ( y  =  A  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )
) ) )
82 eqidd 2421 . . . . . . . . . . . . . . 15  |-  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  B )
8382a1i 11 . . . . . . . . . . . . . 14  |-  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  B )
)
84832a1i 12 . . . . . . . . . . . . 13  |-  ( y  =  B  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  B )
) ) )
85 eqeq2 2435 . . . . . . . . . . . . . . 15  |-  ( y  =  B  ->  ( B  =  y  <->  B  =  B ) )
8685imbi2d 317 . . . . . . . . . . . . . 14  |-  ( y  =  B  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  B )
) )
8786imbi2d 317 . . . . . . . . . . . . 13  |-  ( y  =  B  ->  (
( { { B ,  A } ,  { B ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )
)  <->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  B )
) ) )
8884, 33, 873imtr4d 271 . . . . . . . . . . . 12  |-  ( y  =  B  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )
) ) )
8969pm2.24i 136 . . . . . . . . . . . . . . . . . . . 20  |-  ( -.  B  =  B  ->  B  =  C )
9068, 89sylbi 198 . . . . . . . . . . . . . . . . . . 19  |-  ( B  =/=  B  ->  B  =  C )
9167, 90syl 17 . . . . . . . . . . . . . . . . . 18  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { B ,  B }  e.  ran  E )  ->  B  =  C )
9291expcom 436 . . . . . . . . . . . . . . . . 17  |-  ( { B ,  B }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  B  =  C ) )
9392adantl 467 . . . . . . . . . . . . . . . 16  |-  ( ( { B ,  A }  e.  ran  E  /\  { B ,  B }  e.  ran  E )  -> 
( { A ,  B ,  C } USGrph  E  ->  B  =  C ) )
9466, 93sylbir 216 . . . . . . . . . . . . . . 15  |-  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  B  =  C ) )
9594adantld 468 . . . . . . . . . . . . . 14  |-  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  C )
)
96952a1i 12 . . . . . . . . . . . . 13  |-  ( y  =  C  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  C )
) ) )
97 eqeq2 2435 . . . . . . . . . . . . . . 15  |-  ( y  =  C  ->  ( B  =  y  <->  B  =  C ) )
9897imbi2d 317 . . . . . . . . . . . . . 14  |-  ( y  =  C  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  C )
) )
9998imbi2d 317 . . . . . . . . . . . . 13  |-  ( y  =  C  ->  (
( { { B ,  A } ,  { B ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )
)  <->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  C )
) ) )
10096, 49, 993imtr4d 271 . . . . . . . . . . . 12  |-  ( y  =  C  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )
) ) )
10181, 88, 1003jaoi 1327 . . . . . . . . . . 11  |-  ( ( y  =  A  \/  y  =  B  \/  y  =  C )  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )
) ) )
102 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( x  =  B  ->  { x ,  A }  =  { B ,  A }
)
103 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( x  =  B  ->  { x ,  B }  =  { B ,  B }
)
104102, 103preq12d 4081 . . . . . . . . . . . . . 14  |-  ( x  =  B  ->  { {
x ,  A } ,  { x ,  B } }  =  { { B ,  A } ,  { B ,  B } } )
105104sseq1d 3488 . . . . . . . . . . . . 13  |-  ( x  =  B  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  <->  { { B ,  A } ,  { B ,  B } }  C_  ran  E ) )
106 eqeq1 2424 . . . . . . . . . . . . . 14  |-  ( x  =  B  ->  (
x  =  y  <->  B  =  y ) )
107106imbi2d 317 . . . . . . . . . . . . 13  |-  ( x  =  B  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )
) )
108105, 107imbi12d 321 . . . . . . . . . . . 12  |-  ( x  =  B  ->  (
( { { x ,  A } ,  {
x ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
)  <->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )
) ) )
109108imbi2d 317 . . . . . . . . . . 11  |-  ( x  =  B  ->  (
( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { x ,  A } ,  {
x ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) )  <->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  B  =  y )
) ) ) )
110101, 109syl5ibr 224 . . . . . . . . . 10  |-  ( x  =  B  ->  (
( y  =  A  \/  y  =  B  \/  y  =  C )  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) ) ) )
11121pm2.24i 136 . . . . . . . . . . . . . . . . . . . . 21  |-  ( -.  A  =  A  ->  C  =  A )
11220, 111sylbi 198 . . . . . . . . . . . . . . . . . . . 20  |-  ( A  =/=  A  ->  C  =  A )
11319, 112syl 17 . . . . . . . . . . . . . . . . . . 19  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { A ,  A }  e.  ran  E )  ->  C  =  A )
114113expcom 436 . . . . . . . . . . . . . . . . . 18  |-  ( { A ,  A }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  C  =  A ) )
115114adantr 466 . . . . . . . . . . . . . . . . 17  |-  ( ( { A ,  A }  e.  ran  E  /\  { A ,  B }  e.  ran  E )  -> 
( { A ,  B ,  C } USGrph  E  ->  C  =  A ) )
11618, 115sylbir 216 . . . . . . . . . . . . . . . 16  |-  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  C  =  A ) )
117116adantld 468 . . . . . . . . . . . . . . 15  |-  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  A )
)
118117a1d 26 . . . . . . . . . . . . . 14  |-  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  A )
) )
119118a1i 11 . . . . . . . . . . . . 13  |-  ( y  =  A  ->  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  A )
) ) )
120 eqeq2 2435 . . . . . . . . . . . . . . 15  |-  ( y  =  A  ->  ( C  =  y  <->  C  =  A ) )
121120imbi2d 317 . . . . . . . . . . . . . 14  |-  ( y  =  A  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  A )
) )
122121imbi2d 317 . . . . . . . . . . . . 13  |-  ( y  =  A  ->  (
( { { C ,  A } ,  { C ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )
)  <->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  A )
) ) )
123119, 11, 1223imtr4d 271 . . . . . . . . . . . 12  |-  ( y  =  A  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )
) ) )
124 pm2.21 111 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( -.  B  =  B  -> 
( B  =  B  ->  ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  ->  C  =  B ) ) )
12568, 124sylbi 198 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( B  =/=  B  ->  ( B  =  B  ->  ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z
)  ->  C  =  B ) ) )
12667, 69, 125mpisyl 22 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { B ,  B }  e.  ran  E )  -> 
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  ->  C  =  B ) )
127126expcom 436 . . . . . . . . . . . . . . . . . . . . 21  |-  ( { B ,  B }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  (
( A  e.  X  /\  B  e.  Y  /\  C  e.  Z
)  ->  C  =  B ) ) )
128127adantl 467 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( { B ,  A }  e.  ran  E  /\  { B ,  B }  e.  ran  E )  -> 
( { A ,  B ,  C } USGrph  E  ->  ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  ->  C  =  B ) ) )
12966, 128sylbir 216 . . . . . . . . . . . . . . . . . . 19  |-  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  (
( A  e.  X  /\  B  e.  Y  /\  C  e.  Z
)  ->  C  =  B ) ) )
130129com13 83 . . . . . . . . . . . . . . . . . 18  |-  ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  ->  ( { A ,  B ,  C } USGrph  E  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  C  =  B ) ) )
131130adantr 466 . . . . . . . . . . . . . . . . 17  |-  ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z
)  /\  ( A  =/=  B  /\  A  =/= 
C  /\  B  =/=  C ) )  ->  ( { A ,  B ,  C } USGrph  E  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  C  =  B ) ) )
132131imp 430 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  -> 
( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  C  =  B )
)
133132com12 32 . . . . . . . . . . . . . . 15  |-  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  B )
)
134133a1d 26 . . . . . . . . . . . . . 14  |-  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  B )
) )
135134a1i 11 . . . . . . . . . . . . 13  |-  ( y  =  B  ->  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  B )
) ) )
136 eqeq2 2435 . . . . . . . . . . . . . . 15  |-  ( y  =  B  ->  ( C  =  y  <->  C  =  B ) )
137136imbi2d 317 . . . . . . . . . . . . . 14  |-  ( y  =  B  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  B )
) )
138137imbi2d 317 . . . . . . . . . . . . 13  |-  ( y  =  B  ->  (
( { { C ,  A } ,  { C ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )
)  <->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  B )
) ) )
139135, 33, 1383imtr4d 271 . . . . . . . . . . . 12  |-  ( y  =  B  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )
) ) )
140 eqidd 2421 . . . . . . . . . . . . . . 15  |-  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  C )
141140a1i 11 . . . . . . . . . . . . . 14  |-  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  C )
)
1421412a1i 12 . . . . . . . . . . . . 13  |-  ( y  =  C  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  C )
) ) )
143 eqeq2 2435 . . . . . . . . . . . . . . 15  |-  ( y  =  C  ->  ( C  =  y  <->  C  =  C ) )
144143imbi2d 317 . . . . . . . . . . . . . 14  |-  ( y  =  C  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  C )
) )
145144imbi2d 317 . . . . . . . . . . . . 13  |-  ( y  =  C  ->  (
( { { C ,  A } ,  { C ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )
)  <->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  C )
) ) )
146142, 49, 1453imtr4d 271 . . . . . . . . . . . 12  |-  ( y  =  C  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )
) ) )
147123, 139, 1463jaoi 1327 . . . . . . . . . . 11  |-  ( ( y  =  A  \/  y  =  B  \/  y  =  C )  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )
) ) )
148 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( x  =  C  ->  { x ,  A }  =  { C ,  A }
)
149 preq1 4073 . . . . . . . . . . . . . . 15  |-  ( x  =  C  ->  { x ,  B }  =  { C ,  B }
)
150148, 149preq12d 4081 . . . . . . . . . . . . . 14  |-  ( x  =  C  ->  { {
x ,  A } ,  { x ,  B } }  =  { { C ,  A } ,  { C ,  B } } )
151150sseq1d 3488 . . . . . . . . . . . . 13  |-  ( x  =  C  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  <->  { { C ,  A } ,  { C ,  B } }  C_  ran  E ) )
152 eqeq1 2424 . . . . . . . . . . . . . 14  |-  ( x  =  C  ->  (
x  =  y  <->  C  =  y ) )
153152imbi2d 317 . . . . . . . . . . . . 13  |-  ( x  =  C  ->  (
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )  <->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )
) )
154151, 153imbi12d 321 . . . . . . . . . . . 12  |-  ( x  =  C  ->  (
( { { x ,  A } ,  {
x ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
)  <->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )
) ) )
155154imbi2d 317 . . . . . . . . . . 11  |-  ( x  =  C  ->  (
( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { x ,  A } ,  {
x ,  B } }  C_  ran  E  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) )  <->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { C ,  A } ,  { C ,  B } }  C_  ran  E  ->  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  C  =  y )
) ) ) )
156147, 155syl5ibr 224 . . . . . . . . . 10  |-  ( x  =  C  ->  (
( y  =  A  \/  y  =  B  \/  y  =  C )  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) ) ) )
15763, 110, 1563jaoi 1327 . . . . . . . . 9  |-  ( ( x  =  A  \/  x  =  B  \/  x  =  C )  ->  ( ( y  =  A  \/  y  =  B  \/  y  =  C )  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) ) ) )
158157com3l 84 . . . . . . . 8  |-  ( ( y  =  A  \/  y  =  B  \/  y  =  C )  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( ( x  =  A  \/  x  =  B  \/  x  =  C )  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) ) ) )
1594, 158sylbi 198 . . . . . . 7  |-  ( y  e.  { A ,  B ,  C }  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  ->  ( ( x  =  A  \/  x  =  B  \/  x  =  C )  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) ) ) )
160159imp 430 . . . . . 6  |-  ( ( y  e.  { A ,  B ,  C }  /\  { { y ,  A } ,  {
y ,  B } }  C_  ran  E )  ->  ( ( x  =  A  \/  x  =  B  \/  x  =  C )  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  ->  ( (
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) ) )
161160com3l 84 . . . . 5  |-  ( ( x  =  A  \/  x  =  B  \/  x  =  C )  ->  ( { { x ,  A } ,  {
x ,  B } }  C_  ran  E  -> 
( ( y  e. 
{ A ,  B ,  C }  /\  { { y ,  A } ,  { y ,  B } }  C_  ran  E )  ->  (
( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) ) )
1622, 161sylbi 198 . . . 4  |-  ( x  e.  { A ,  B ,  C }  ->  ( { { x ,  A } ,  {
x ,  B } }  C_  ran  E  -> 
( ( y  e. 
{ A ,  B ,  C }  /\  { { y ,  A } ,  { y ,  B } }  C_  ran  E )  ->  (
( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
) ) )
163162imp31 433 . . 3  |-  ( ( ( x  e.  { A ,  B ,  C }  /\  { {
x ,  A } ,  { x ,  B } }  C_  ran  E
)  /\  ( y  e.  { A ,  B ,  C }  /\  { { y ,  A } ,  { y ,  B } }  C_  ran  E ) )  -> 
( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )  /\  { A ,  B ,  C } USGrph  E )  ->  x  =  y )
)
164163com12 32 . 2  |-  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  -> 
( ( ( x  e.  { A ,  B ,  C }  /\  { { x ,  A } ,  {
x ,  B } }  C_  ran  E )  /\  ( y  e. 
{ A ,  B ,  C }  /\  { { y ,  A } ,  { y ,  B } }  C_  ran  E ) )  ->  x  =  y )
)
165164alrimivv 1764 1  |-  ( ( ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  /\  ( A  =/=  B  /\  A  =/=  C  /\  B  =/= 
C ) )  /\  { A ,  B ,  C } USGrph  E )  ->  A. x A. y ( ( ( x  e. 
{ A ,  B ,  C }  /\  { { x ,  A } ,  { x ,  B } }  C_  ran  E )  /\  (
y  e.  { A ,  B ,  C }  /\  { { y ,  A } ,  {
y ,  B } }  C_  ran  E ) )  ->  x  =  y ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 370    \/ w3o 981    /\ w3a 982   A.wal 1435    = wceq 1437    e. wcel 1867    =/= wne 2616    C_ wss 3433   {cpr 3995   {ctp 3997   class class class wbr 4417   ran crn 4846   USGrph cusg 24900
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1665  ax-4 1678  ax-5 1748  ax-6 1794  ax-7 1838  ax-8 1869  ax-9 1871  ax-10 1886  ax-11 1891  ax-12 1904  ax-13 2052  ax-ext 2398  ax-rep 4529  ax-sep 4539  ax-nul 4547  ax-pow 4594  ax-pr 4652  ax-un 6588  ax-cnex 9584  ax-resscn 9585  ax-1cn 9586  ax-icn 9587  ax-addcl 9588  ax-addrcl 9589  ax-mulcl 9590  ax-mulrcl 9591  ax-mulcom 9592  ax-addass 9593  ax-mulass 9594  ax-distr 9595  ax-i2m1 9596  ax-1ne0 9597  ax-1rid 9598  ax-rnegex 9599  ax-rrecex 9600  ax-cnre 9601  ax-pre-lttri 9602  ax-pre-lttrn 9603  ax-pre-ltadd 9604  ax-pre-mulgt0 9605
This theorem depends on definitions:  df-bi 188  df-or 371  df-an 372  df-3or 983  df-3an 984  df-tru 1440  df-ex 1660  df-nf 1664  df-sb 1787  df-eu 2267  df-mo 2268  df-clab 2406  df-cleq 2412  df-clel 2415  df-nfc 2570  df-ne 2618  df-nel 2619  df-ral 2778  df-rex 2779  df-reu 2780  df-rmo 2781  df-rab 2782  df-v 3080  df-sbc 3297  df-csb 3393  df-dif 3436  df-un 3438  df-in 3440  df-ss 3447  df-pss 3449  df-nul 3759  df-if 3907  df-pw 3978  df-sn 3994  df-pr 3996  df-tp 3998  df-op 4000  df-uni 4214  df-int 4250  df-iun 4295  df-br 4418  df-opab 4476  df-mpt 4477  df-tr 4512  df-eprel 4756  df-id 4760  df-po 4766  df-so 4767  df-fr 4804  df-we 4806  df-xp 4851  df-rel 4852  df-cnv 4853  df-co 4854  df-dm 4855  df-rn 4856  df-res 4857  df-ima 4858  df-pred 5390  df-ord 5436  df-on 5437  df-lim 5438  df-suc 5439  df-iota 5556  df-fun 5594  df-fn 5595  df-f 5596  df-f1 5597  df-fo 5598  df-f1o 5599  df-fv 5600  df-riota 6258  df-ov 6299  df-oprab 6300  df-mpt2 6301  df-om 6698  df-1st 6798  df-2nd 6799  df-wrecs 7027  df-recs 7089  df-rdg 7127  df-1o 7181  df-oadd 7185  df-er 7362  df-en 7569  df-dom 7570  df-sdom 7571  df-fin 7572  df-card 8363  df-cda 8587  df-pnf 9666  df-mnf 9667  df-xr 9668  df-ltxr 9669  df-le 9670  df-sub 9851  df-neg 9852  df-nn 10599  df-2 10657  df-n0 10859  df-z 10927  df-uz 11149  df-fz 11772  df-hash 12502  df-usgra 24903
This theorem is referenced by:  frgra3vlem2  25571
  Copyright terms: Public domain W3C validator