Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  frgra3vlem1 Structured version   Unicode version

Theorem frgra3vlem1 28390
Description: Lemma 1 for frgra3v 28392. (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 2959 . . . . . 6  |-  x  e. 
_V
21eltp 3853 . . . . 5  |-  ( x  e.  { A ,  B ,  C }  <->  ( x  =  A  \/  x  =  B  \/  x  =  C )
)
3 vex 2959 . . . . . . . . 9  |-  y  e. 
_V
43eltp 3853 . . . . . . . 8  |-  ( y  e.  { A ,  B ,  C }  <->  ( y  =  A  \/  y  =  B  \/  y  =  C )
)
5 eqidd 2437 . . . . . . . . . . . . . . 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 )
)
76a1ii 25 . . . . . . . . . . . . 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 3883 . . . . . . . . . . . . . . 15  |-  ( y  =  A  ->  { y ,  A }  =  { A ,  A }
)
9 preq1 3883 . . . . . . . . . . . . . . 15  |-  ( y  =  A  ->  { y ,  B }  =  { A ,  B }
)
108, 9preq12d 3891 . . . . . . . . . . . . . 14  |-  ( y  =  A  ->  { {
y ,  A } ,  { y ,  B } }  =  { { A ,  A } ,  { A ,  B } } )
1110sseq1d 3375 . . . . . . . . . . . . 13  |-  ( y  =  A  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  <->  { { A ,  A } ,  { A ,  B } }  C_  ran  E ) )
12 eqeq2 2445 . . . . . . . . . . . . . . 15  |-  ( y  =  A  ->  ( A  =  y  <->  A  =  A ) )
1312imbi2d 308 . . . . . . . . . . . . . 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 308 . . . . . . . . . . . . 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 260 . . . . . . . . . . . 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 4406 . . . . . . . . . . . . . . . . 17  |-  { A ,  A }  e.  _V
17 prex 4406 . . . . . . . . . . . . . . . . 17  |-  { A ,  B }  e.  _V
1816, 17prss 3952 . . . . . . . . . . . . . . . 16  |-  ( ( { A ,  A }  e.  ran  E  /\  { A ,  B }  e.  ran  E )  <->  { { A ,  A } ,  { A ,  B } }  C_  ran  E )
19 usgraedgrn 21401 . . . . . . . . . . . . . . . . . . 19  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { A ,  A }  e.  ran  E )  ->  A  =/=  A )
20 df-ne 2601 . . . . . . . . . . . . . . . . . . . 20  |-  ( A  =/=  A  <->  -.  A  =  A )
21 eqid 2436 . . . . . . . . . . . . . . . . . . . . 21  |-  A  =  A
2221pm2.24i 138 . . . . . . . . . . . . . . . . . . . 20  |-  ( -.  A  =  A  ->  A  =  B )
2320, 22sylbi 188 . . . . . . . . . . . . . . . . . . 19  |-  ( A  =/=  A  ->  A  =  B )
2419, 23syl 16 . . . . . . . . . . . . . . . . . 18  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { A ,  A }  e.  ran  E )  ->  A  =  B )
2524expcom 425 . . . . . . . . . . . . . . . . 17  |-  ( { A ,  A }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  A  =  B ) )
2625adantr 452 . . . . . . . . . . . . . . . 16  |-  ( ( { A ,  A }  e.  ran  E  /\  { A ,  B }  e.  ran  E )  -> 
( { A ,  B ,  C } USGrph  E  ->  A  =  B ) )
2718, 26sylbir 205 . . . . . . . . . . . . . . 15  |-  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  A  =  B ) )
2827adantld 454 . . . . . . . . . . . . . 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 )
)
2928a1ii 25 . . . . . . . . . . . . 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 3883 . . . . . . . . . . . . . . 15  |-  ( y  =  B  ->  { y ,  A }  =  { B ,  A }
)
31 preq1 3883 . . . . . . . . . . . . . . 15  |-  ( y  =  B  ->  { y ,  B }  =  { B ,  B }
)
3230, 31preq12d 3891 . . . . . . . . . . . . . 14  |-  ( y  =  B  ->  { {
y ,  A } ,  { y ,  B } }  =  { { B ,  A } ,  { B ,  B } } )
3332sseq1d 3375 . . . . . . . . . . . . 13  |-  ( y  =  B  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  <->  { { B ,  A } ,  { B ,  B } }  C_  ran  E ) )
34 eqeq2 2445 . . . . . . . . . . . . . . 15  |-  ( y  =  B  ->  ( A  =  y  <->  A  =  B ) )
3534imbi2d 308 . . . . . . . . . . . . . 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 308 . . . . . . . . . . . . 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 260 . . . . . . . . . . . 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 138 . . . . . . . . . . . . . . . . . . . 20  |-  ( -.  A  =  A  ->  A  =  C )
3920, 38sylbi 188 . . . . . . . . . . . . . . . . . . 19  |-  ( A  =/=  A  ->  A  =  C )
4019, 39syl 16 . . . . . . . . . . . . . . . . . 18  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { A ,  A }  e.  ran  E )  ->  A  =  C )
4140expcom 425 . . . . . . . . . . . . . . . . 17  |-  ( { A ,  A }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  A  =  C ) )
4241adantr 452 . . . . . . . . . . . . . . . 16  |-  ( ( { A ,  A }  e.  ran  E  /\  { A ,  B }  e.  ran  E )  -> 
( { A ,  B ,  C } USGrph  E  ->  A  =  C ) )
4318, 42sylbir 205 . . . . . . . . . . . . . . 15  |-  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  A  =  C ) )
4443adantld 454 . . . . . . . . . . . . . 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 )
)
4544a1ii 25 . . . . . . . . . . . . 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 3883 . . . . . . . . . . . . . . 15  |-  ( y  =  C  ->  { y ,  A }  =  { C ,  A }
)
47 preq1 3883 . . . . . . . . . . . . . . 15  |-  ( y  =  C  ->  { y ,  B }  =  { C ,  B }
)
4846, 47preq12d 3891 . . . . . . . . . . . . . 14  |-  ( y  =  C  ->  { {
y ,  A } ,  { y ,  B } }  =  { { C ,  A } ,  { C ,  B } } )
4948sseq1d 3375 . . . . . . . . . . . . 13  |-  ( y  =  C  ->  ( { { y ,  A } ,  { y ,  B } }  C_  ran  E  <->  { { C ,  A } ,  { C ,  B } }  C_  ran  E ) )
50 eqeq2 2445 . . . . . . . . . . . . . . 15  |-  ( y  =  C  ->  ( A  =  y  <->  A  =  C ) )
5150imbi2d 308 . . . . . . . . . . . . . 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 308 . . . . . . . . . . . . 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 260 . . . . . . . . . . . 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 1247 . . . . . . . . . . 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 3883 . . . . . . . . . . . . . . 15  |-  ( x  =  A  ->  { x ,  A }  =  { A ,  A }
)
56 preq1 3883 . . . . . . . . . . . . . . 15  |-  ( x  =  A  ->  { x ,  B }  =  { A ,  B }
)
5755, 56preq12d 3891 . . . . . . . . . . . . . 14  |-  ( x  =  A  ->  { {
x ,  A } ,  { x ,  B } }  =  { { A ,  A } ,  { A ,  B } } )
5857sseq1d 3375 . . . . . . . . . . . . 13  |-  ( x  =  A  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  <->  { { A ,  A } ,  { A ,  B } }  C_  ran  E ) )
59 eqeq1 2442 . . . . . . . . . . . . . 14  |-  ( x  =  A  ->  (
x  =  y  <->  A  =  y ) )
6059imbi2d 308 . . . . . . . . . . . . 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 312 . . . . . . . . . . . 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 308 . . . . . . . . . . 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 213 . . . . . . . . . 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 4406 . . . . . . . . . . . . . . . . 17  |-  { B ,  A }  e.  _V
65 prex 4406 . . . . . . . . . . . . . . . . 17  |-  { B ,  B }  e.  _V
6664, 65prss 3952 . . . . . . . . . . . . . . . 16  |-  ( ( { B ,  A }  e.  ran  E  /\  { B ,  B }  e.  ran  E )  <->  { { B ,  A } ,  { B ,  B } }  C_  ran  E )
67 usgraedgrn 21401 . . . . . . . . . . . . . . . . . . 19  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { B ,  B }  e.  ran  E )  ->  B  =/=  B )
68 df-ne 2601 . . . . . . . . . . . . . . . . . . . 20  |-  ( B  =/=  B  <->  -.  B  =  B )
69 eqid 2436 . . . . . . . . . . . . . . . . . . . . 21  |-  B  =  B
7069pm2.24i 138 . . . . . . . . . . . . . . . . . . . 20  |-  ( -.  B  =  B  ->  B  =  A )
7168, 70sylbi 188 . . . . . . . . . . . . . . . . . . 19  |-  ( B  =/=  B  ->  B  =  A )
7267, 71syl 16 . . . . . . . . . . . . . . . . . 18  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { B ,  B }  e.  ran  E )  ->  B  =  A )
7372expcom 425 . . . . . . . . . . . . . . . . 17  |-  ( { B ,  B }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  B  =  A ) )
7473adantl 453 . . . . . . . . . . . . . . . 16  |-  ( ( { B ,  A }  e.  ran  E  /\  { B ,  B }  e.  ran  E )  -> 
( { A ,  B ,  C } USGrph  E  ->  B  =  A ) )
7566, 74sylbir 205 . . . . . . . . . . . . . . 15  |-  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  B  =  A ) )
7675adantld 454 . . . . . . . . . . . . . 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 )
)
7776a1ii 25 . . . . . . . . . . . . 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 2445 . . . . . . . . . . . . . . 15  |-  ( y  =  A  ->  ( B  =  y  <->  B  =  A ) )
7978imbi2d 308 . . . . . . . . . . . . . 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 308 . . . . . . . . . . . . 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 260 . . . . . . . . . . . 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 2437 . . . . . . . . . . . . . . 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 )
)
8483a1ii 25 . . . . . . . . . . . . 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 2445 . . . . . . . . . . . . . . 15  |-  ( y  =  B  ->  ( B  =  y  <->  B  =  B ) )
8685imbi2d 308 . . . . . . . . . . . . . 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 308 . . . . . . . . . . . . 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 260 . . . . . . . . . . . 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 138 . . . . . . . . . . . . . . . . . . . 20  |-  ( -.  B  =  B  ->  B  =  C )
9068, 89sylbi 188 . . . . . . . . . . . . . . . . . . 19  |-  ( B  =/=  B  ->  B  =  C )
9167, 90syl 16 . . . . . . . . . . . . . . . . . 18  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { B ,  B }  e.  ran  E )  ->  B  =  C )
9291expcom 425 . . . . . . . . . . . . . . . . 17  |-  ( { B ,  B }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  B  =  C ) )
9392adantl 453 . . . . . . . . . . . . . . . 16  |-  ( ( { B ,  A }  e.  ran  E  /\  { B ,  B }  e.  ran  E )  -> 
( { A ,  B ,  C } USGrph  E  ->  B  =  C ) )
9466, 93sylbir 205 . . . . . . . . . . . . . . 15  |-  ( { { B ,  A } ,  { B ,  B } }  C_  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  B  =  C ) )
9594adantld 454 . . . . . . . . . . . . . 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 )
)
9695a1ii 25 . . . . . . . . . . . . 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 2445 . . . . . . . . . . . . . . 15  |-  ( y  =  C  ->  ( B  =  y  <->  B  =  C ) )
9897imbi2d 308 . . . . . . . . . . . . . 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 308 . . . . . . . . . . . . 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 260 . . . . . . . . . . . 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 1247 . . . . . . . . . . 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 3883 . . . . . . . . . . . . . . 15  |-  ( x  =  B  ->  { x ,  A }  =  { B ,  A }
)
103 preq1 3883 . . . . . . . . . . . . . . 15  |-  ( x  =  B  ->  { x ,  B }  =  { B ,  B }
)
104102, 103preq12d 3891 . . . . . . . . . . . . . 14  |-  ( x  =  B  ->  { {
x ,  A } ,  { x ,  B } }  =  { { B ,  A } ,  { B ,  B } } )
105104sseq1d 3375 . . . . . . . . . . . . 13  |-  ( x  =  B  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  <->  { { B ,  A } ,  { B ,  B } }  C_  ran  E ) )
106 eqeq1 2442 . . . . . . . . . . . . . 14  |-  ( x  =  B  ->  (
x  =  y  <->  B  =  y ) )
107106imbi2d 308 . . . . . . . . . . . . 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 312 . . . . . . . . . . . 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 308 . . . . . . . . . . 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 213 . . . . . . . . . 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 138 . . . . . . . . . . . . . . . . . . . . 21  |-  ( -.  A  =  A  ->  C  =  A )
11220, 111sylbi 188 . . . . . . . . . . . . . . . . . . . 20  |-  ( A  =/=  A  ->  C  =  A )
11319, 112syl 16 . . . . . . . . . . . . . . . . . . 19  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { A ,  A }  e.  ran  E )  ->  C  =  A )
114113expcom 425 . . . . . . . . . . . . . . . . . 18  |-  ( { A ,  A }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  C  =  A ) )
115114adantr 452 . . . . . . . . . . . . . . . . 17  |-  ( ( { A ,  A }  e.  ran  E  /\  { A ,  B }  e.  ran  E )  -> 
( { A ,  B ,  C } USGrph  E  ->  C  =  A ) )
11618, 115sylbir 205 . . . . . . . . . . . . . . . 16  |-  ( { { A ,  A } ,  { A ,  B } }  C_  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  C  =  A ) )
117116adantld 454 . . . . . . . . . . . . . . 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 23 . . . . . . . . . . . . . 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 2445 . . . . . . . . . . . . . . 15  |-  ( y  =  A  ->  ( C  =  y  <->  C  =  A ) )
121120imbi2d 308 . . . . . . . . . . . . . 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 308 . . . . . . . . . . . . 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 260 . . . . . . . . . . . 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 102 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( -.  B  =  B  -> 
( B  =  B  ->  ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  ->  C  =  B ) ) )
12568, 124sylbi 188 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( B  =/=  B  ->  ( B  =  B  ->  ( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z
)  ->  C  =  B ) ) )
12667, 69, 125ee10 1385 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( { A ,  B ,  C } USGrph  E  /\  { B ,  B }  e.  ran  E )  -> 
( ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z )  ->  C  =  B ) )
127126expcom 425 . . . . . . . . . . . . . . . . . . . . 21  |-  ( { B ,  B }  e.  ran  E  ->  ( { A ,  B ,  C } USGrph  E  ->  (
( A  e.  X  /\  B  e.  Y  /\  C  e.  Z
)  ->  C  =  B ) ) )
128127adantl 453 . . . . . . . . . . . . . . . . . . . 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 205 . . . . . . . . . . . . . . . . . . 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 76 . . . . . . . . . . . . . . . . . 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 452 . . . . . . . . . . . . . . . . 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 419 . . . . . . . . . . . . . . . 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 29 . . . . . . . . . . . . . . 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 23 . . . . . . . . . . . . . 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 2445 . . . . . . . . . . . . . . 15  |-  ( y  =  B  ->  ( C  =  y  <->  C  =  B ) )
137136imbi2d 308 . . . . . . . . . . . . . 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 308 . . . . . . . . . . . . 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 260 . . . . . . . . . . . 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 2437 . . . . . . . . . . . . . . 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 )
)
142141a1ii 25 . . . . . . . . . . . . 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 2445 . . . . . . . . . . . . . . 15  |-  ( y  =  C  ->  ( C  =  y  <->  C  =  C ) )
144143imbi2d 308 . . . . . . . . . . . . . 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 308 . . . . . . . . . . . . 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 260 . . . . . . . . . . . 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 1247 . . . . . . . . . . 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 3883 . . . . . . . . . . . . . . 15  |-  ( x  =  C  ->  { x ,  A }  =  { C ,  A }
)
149 preq1 3883 . . . . . . . . . . . . . . 15  |-  ( x  =  C  ->  { x ,  B }  =  { C ,  B }
)
150148, 149preq12d 3891 . . . . . . . . . . . . . 14  |-  ( x  =  C  ->  { {
x ,  A } ,  { x ,  B } }  =  { { C ,  A } ,  { C ,  B } } )
151150sseq1d 3375 . . . . . . . . . . . . 13  |-  ( x  =  C  ->  ( { { x ,  A } ,  { x ,  B } }  C_  ran  E  <->  { { C ,  A } ,  { C ,  B } }  C_  ran  E ) )
152 eqeq1 2442 . . . . . . . . . . . . . 14  |-  ( x  =  C  ->  (
x  =  y  <->  C  =  y ) )
153152imbi2d 308 . . . . . . . . . . . . 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 312 . . . . . . . . . . . 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 308 . . . . . . . . . . 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 213 . . . . . . . . . 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 1247 . . . . . . . . 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 77 . . . . . . . 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 188 . . . . . . 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 419 . . . . . 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 77 . . . . 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 188 . . . 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 422 . . 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 29 . 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 1642 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 set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 359    \/ w3o 935    /\ w3a 936   A.wal 1549    = wceq 1652    e. wcel 1725    =/= wne 2599    C_ wss 3320   {cpr 3815   {ctp 3816   class class class wbr 4212   ran crn 4879   USGrph cusg 21365
This theorem is referenced by:  frgra3vlem2  28391
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-rep 4320  ax-sep 4330  ax-nul 4338  ax-pow 4377  ax-pr 4403  ax-un 4701  ax-cnex 9046  ax-resscn 9047  ax-1cn 9048  ax-icn 9049  ax-addcl 9050  ax-addrcl 9051  ax-mulcl 9052  ax-mulrcl 9053  ax-mulcom 9054  ax-addass 9055  ax-mulass 9056  ax-distr 9057  ax-i2m1 9058  ax-1ne0 9059  ax-1rid 9060  ax-rnegex 9061  ax-rrecex 9062  ax-cnre 9063  ax-pre-lttri 9064  ax-pre-lttrn 9065  ax-pre-ltadd 9066  ax-pre-mulgt0 9067
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-nel 2602  df-ral 2710  df-rex 2711  df-reu 2712  df-rmo 2713  df-rab 2714  df-v 2958  df-sbc 3162  df-csb 3252  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-pss 3336  df-nul 3629  df-if 3740  df-pw 3801  df-sn 3820  df-pr 3821  df-tp 3822  df-op 3823  df-uni 4016  df-int 4051  df-iun 4095  df-br 4213  df-opab 4267  df-mpt 4268  df-tr 4303  df-eprel 4494  df-id 4498  df-po 4503  df-so 4504  df-fr 4541  df-we 4543  df-ord 4584  df-on 4585  df-lim 4586  df-suc 4587  df-om 4846  df-xp 4884  df-rel 4885  df-cnv 4886  df-co 4887  df-dm 4888  df-rn 4889  df-res 4890  df-ima 4891  df-iota 5418  df-fun 5456  df-fn 5457  df-f 5458  df-f1 5459  df-fo 5460  df-f1o 5461  df-fv 5462  df-ov 6084  df-oprab 6085  df-mpt2 6086  df-1st 6349  df-2nd 6350  df-riota 6549  df-recs 6633  df-rdg 6668  df-1o 6724  df-oadd 6728  df-er 6905  df-en 7110  df-dom 7111  df-sdom 7112  df-fin 7113  df-card 7826  df-cda 8048  df-pnf 9122  df-mnf 9123  df-xr 9124  df-ltxr 9125  df-le 9126  df-sub 9293  df-neg 9294  df-nn 10001  df-2 10058  df-n0 10222  df-z 10283  df-uz 10489  df-fz 11044  df-hash 11619  df-usgra 21367
  Copyright terms: Public domain W3C validator