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

Theorem 4cycl4dv 21692
Description: In a simple graph, the vertices of a 4-cycle are mutually different. (Contributed by Alexander van der Vekens, 18-Nov-2017.)
Assertion
Ref Expression
4cycl4dv  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  -> 
( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( A  =/=  B  /\  A  =/=  C  /\  A  =/= 
D )  /\  ( B  =/=  C  /\  B  =/=  D  /\  C  =/= 
D ) ) ) ) )

Proof of Theorem 4cycl4dv
StepHypRef Expression
1 usgrafun 21416 . . . . 5  |-  ( V USGrph  E  ->  Fun  E )
2 4pos 10124 . . . . . . . . . . . . . . 15  |-  0  <  4
3 breq2 4247 . . . . . . . . . . . . . . 15  |-  ( (
# `  F )  =  4  ->  (
0  <  ( # `  F
)  <->  0  <  4
) )
42, 3mpbiri 226 . . . . . . . . . . . . . 14  |-  ( (
# `  F )  =  4  ->  0  <  ( # `  F
) )
5 0nn0 10274 . . . . . . . . . . . . . 14  |-  0  e.  NN0
64, 5jctil 525 . . . . . . . . . . . . 13  |-  ( (
# `  F )  =  4  ->  (
0  e.  NN0  /\  0  <  ( # `  F
) ) )
7 nvnencycllem 21668 . . . . . . . . . . . . 13  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( 0  e. 
NN0  /\  0  <  (
# `  F )
) )  ->  (
( E `  ( F `  0 )
)  =  { A ,  B }  ->  { A ,  B }  e.  ran  E ) )
86, 7sylan2 462 . . . . . . . . . . . 12  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( # `  F
)  =  4 )  ->  ( ( E `
 ( F ` 
0 ) )  =  { A ,  B }  ->  { A ,  B }  e.  ran  E ) )
9 1lt4 10185 . . . . . . . . . . . . . . 15  |-  1  <  4
10 breq2 4247 . . . . . . . . . . . . . . 15  |-  ( (
# `  F )  =  4  ->  (
1  <  ( # `  F
)  <->  1  <  4
) )
119, 10mpbiri 226 . . . . . . . . . . . . . 14  |-  ( (
# `  F )  =  4  ->  1  <  ( # `  F
) )
12 1nn0 10275 . . . . . . . . . . . . . 14  |-  1  e.  NN0
1311, 12jctil 525 . . . . . . . . . . . . 13  |-  ( (
# `  F )  =  4  ->  (
1  e.  NN0  /\  1  <  ( # `  F
) ) )
14 nvnencycllem 21668 . . . . . . . . . . . . 13  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( 1  e. 
NN0  /\  1  <  (
# `  F )
) )  ->  (
( E `  ( F `  1 )
)  =  { B ,  C }  ->  { B ,  C }  e.  ran  E ) )
1513, 14sylan2 462 . . . . . . . . . . . 12  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( # `  F
)  =  4 )  ->  ( ( E `
 ( F ` 
1 ) )  =  { B ,  C }  ->  { B ,  C }  e.  ran  E ) )
168, 15anim12d 548 . . . . . . . . . . 11  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( # `  F
)  =  4 )  ->  ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  ->  ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E ) ) )
17 2lt4 10184 . . . . . . . . . . . . . . 15  |-  2  <  4
18 breq2 4247 . . . . . . . . . . . . . . 15  |-  ( (
# `  F )  =  4  ->  (
2  <  ( # `  F
)  <->  2  <  4
) )
1917, 18mpbiri 226 . . . . . . . . . . . . . 14  |-  ( (
# `  F )  =  4  ->  2  <  ( # `  F
) )
20 2nn0 10276 . . . . . . . . . . . . . 14  |-  2  e.  NN0
2119, 20jctil 525 . . . . . . . . . . . . 13  |-  ( (
# `  F )  =  4  ->  (
2  e.  NN0  /\  2  <  ( # `  F
) ) )
22 nvnencycllem 21668 . . . . . . . . . . . . 13  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( 2  e. 
NN0  /\  2  <  (
# `  F )
) )  ->  (
( E `  ( F `  2 )
)  =  { C ,  D }  ->  { C ,  D }  e.  ran  E ) )
2321, 22sylan2 462 . . . . . . . . . . . 12  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( # `  F
)  =  4 )  ->  ( ( E `
 ( F ` 
2 ) )  =  { C ,  D }  ->  { C ,  D }  e.  ran  E ) )
24 3lt4 10183 . . . . . . . . . . . . . . 15  |-  3  <  4
25 breq2 4247 . . . . . . . . . . . . . . 15  |-  ( (
# `  F )  =  4  ->  (
3  <  ( # `  F
)  <->  3  <  4
) )
2624, 25mpbiri 226 . . . . . . . . . . . . . 14  |-  ( (
# `  F )  =  4  ->  3  <  ( # `  F
) )
27 3nn0 10277 . . . . . . . . . . . . . 14  |-  3  e.  NN0
2826, 27jctil 525 . . . . . . . . . . . . 13  |-  ( (
# `  F )  =  4  ->  (
3  e.  NN0  /\  3  <  ( # `  F
) ) )
29 nvnencycllem 21668 . . . . . . . . . . . . 13  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( 3  e. 
NN0  /\  3  <  (
# `  F )
) )  ->  (
( E `  ( F `  3 )
)  =  { D ,  A }  ->  { D ,  A }  e.  ran  E ) )
3028, 29sylan2 462 . . . . . . . . . . . 12  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( # `  F
)  =  4 )  ->  ( ( E `
 ( F ` 
3 ) )  =  { D ,  A }  ->  { D ,  A }  e.  ran  E ) )
3123, 30anim12d 548 . . . . . . . . . . 11  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( # `  F
)  =  4 )  ->  ( ( ( E `  ( F `
 2 ) )  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } )  ->  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) ) )
3216, 31anim12d 548 . . . . . . . . . 10  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( # `  F
)  =  4 )  ->  ( ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  -> 
( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) ) ) )
3332ex 425 . . . . . . . . 9  |-  ( ( Fun  E  /\  F  e. Word  dom  E )  -> 
( ( # `  F
)  =  4  -> 
( ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  -> 
( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) ) ) ) )
3433expcom 426 . . . . . . . 8  |-  ( F  e. Word  dom  E  ->  ( Fun  E  ->  (
( # `  F )  =  4  ->  (
( ( ( E `
 ( F ` 
0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  ( ( E `  ( F `  2 ) )  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  -> 
( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) ) ) ) ) )
3534com23 75 . . . . . . 7  |-  ( F  e. Word  dom  E  ->  ( ( # `  F
)  =  4  -> 
( Fun  E  ->  ( ( ( ( E `
 ( F ` 
0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  ( ( E `  ( F `  2 ) )  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  -> 
( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) ) ) ) ) )
3635imp 420 . . . . . 6  |-  ( ( F  e. Word  dom  E  /\  ( # `  F
)  =  4 )  ->  ( Fun  E  ->  ( ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  -> 
( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) ) ) ) )
37363adant2 977 . . . . 5  |-  ( ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 )  -> 
( Fun  E  ->  ( ( ( ( E `
 ( F ` 
0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  ( ( E `  ( F `  2 ) )  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  -> 
( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) ) ) ) )
381, 37mpan9 457 . . . 4  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  -> 
( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) ) ) )
3938imp 420 . . 3  |-  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 ) )  /\  ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) ) )
40 simpl 445 . . . 4  |-  ( ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) ) )  ->  ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) ) )
41 usgraedgrn 21439 . . . . . . . . . . 11  |-  ( ( V USGrph  E  /\  { A ,  B }  e.  ran  E )  ->  A  =/=  B )
4241ex 425 . . . . . . . . . 10  |-  ( V USGrph  E  ->  ( { A ,  B }  e.  ran  E  ->  A  =/=  B
) )
4342ad2antrr 708 . . . . . . . . 9  |-  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 ) )  /\  ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  ( { A ,  B }  e.  ran  E  ->  A  =/=  B
) )
4443com12 30 . . . . . . . 8  |-  ( { A ,  B }  e.  ran  E  ->  (
( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  A  =/=  B
) )
4544ad2antrr 708 . . . . . . 7  |-  ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  ->  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  /\  ( ( ( E `
 ( F ` 
0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  ( ( E `  ( F `  2 ) )  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  A  =/=  B
) )
4645imp 420 . . . . . 6  |-  ( ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) ) )  ->  A  =/=  B )
47 preq1 3912 . . . . . . . . . . . . . 14  |-  ( A  =  C  ->  { A ,  B }  =  { C ,  B }
)
4847eqeq2d 2454 . . . . . . . . . . . . 13  |-  ( A  =  C  ->  (
( E `  ( F `  0 )
)  =  { A ,  B }  <->  ( E `  ( F `  0
) )  =  { C ,  B }
) )
49 prcom 3911 . . . . . . . . . . . . . . 15  |-  { B ,  C }  =  { C ,  B }
5049eqeq2i 2453 . . . . . . . . . . . . . 14  |-  ( ( E `  ( F `
 1 ) )  =  { B ,  C }  <->  ( E `  ( F `  1 ) )  =  { C ,  B } )
5150a1i 11 . . . . . . . . . . . . 13  |-  ( A  =  C  ->  (
( E `  ( F `  1 )
)  =  { B ,  C }  <->  ( E `  ( F `  1
) )  =  { C ,  B }
) )
5248, 51anbi12d 693 . . . . . . . . . . . 12  |-  ( A  =  C  ->  (
( ( E `  ( F `  0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  <->  ( ( E `  ( F `  0 ) )  =  { C ,  B }  /\  ( E `  ( F `  1 ) )  =  { C ,  B } ) ) )
5352adantr 453 . . . . . . . . . . 11  |-  ( ( A  =  C  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) ) )  ->  ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  <->  ( ( E `  ( F `  0 ) )  =  { C ,  B }  /\  ( E `  ( F `  1 ) )  =  { C ,  B } ) ) )
54 eqtr3 2462 . . . . . . . . . . . . 13  |-  ( ( ( E `  ( F `  0 )
)  =  { C ,  B }  /\  ( E `  ( F `  1 ) )  =  { C ,  B } )  ->  ( E `  ( F `  0 ) )  =  ( E `  ( F `  1 ) ) )
55 usgraf1 21421 . . . . . . . . . . . . . . 15  |-  ( V USGrph  E  ->  E : dom  E
-1-1-> ran  E )
56 wrdf 11771 . . . . . . . . . . . . . . . . 17  |-  ( F  e. Word  dom  E  ->  F : ( 0..^ (
# `  F )
) --> dom  E )
57 oveq2 6125 . . . . . . . . . . . . . . . . . . 19  |-  ( (
# `  F )  =  4  ->  (
0..^ ( # `  F
) )  =  ( 0..^ 4 ) )
5857feq2d 5616 . . . . . . . . . . . . . . . . . 18  |-  ( (
# `  F )  =  4  ->  ( F : ( 0..^ (
# `  F )
) --> dom  E  <->  F :
( 0..^ 4 ) --> dom  E ) )
59 4nn 10173 . . . . . . . . . . . . . . . . . . . . 21  |-  4  e.  NN
60 lbfzo0 11208 . . . . . . . . . . . . . . . . . . . . 21  |-  ( 0  e.  ( 0..^ 4 )  <->  4  e.  NN )
6159, 60mpbir 202 . . . . . . . . . . . . . . . . . . . 20  |-  0  e.  ( 0..^ 4 )
62 ffvelrn 5904 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( F : ( 0..^ 4 ) --> dom  E  /\  0  e.  (
0..^ 4 ) )  ->  ( F ` 
0 )  e.  dom  E )
6361, 62mpan2 654 . . . . . . . . . . . . . . . . . . 19  |-  ( F : ( 0..^ 4 ) --> dom  E  ->  ( F `  0 )  e.  dom  E )
64 elfzo0 11209 . . . . . . . . . . . . . . . . . . . . 21  |-  ( 1  e.  ( 0..^ 4 )  <->  ( 1  e. 
NN0  /\  4  e.  NN  /\  1  <  4
) )
6512, 59, 9, 64mpbir3an 1137 . . . . . . . . . . . . . . . . . . . 20  |-  1  e.  ( 0..^ 4 )
66 ffvelrn 5904 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( F : ( 0..^ 4 ) --> dom  E  /\  1  e.  (
0..^ 4 ) )  ->  ( F ` 
1 )  e.  dom  E )
6765, 66mpan2 654 . . . . . . . . . . . . . . . . . . 19  |-  ( F : ( 0..^ 4 ) --> dom  E  ->  ( F `  1 )  e.  dom  E )
6863, 67jca 520 . . . . . . . . . . . . . . . . . 18  |-  ( F : ( 0..^ 4 ) --> dom  E  ->  ( ( F `  0
)  e.  dom  E  /\  ( F `  1
)  e.  dom  E
) )
6958, 68syl6bi 221 . . . . . . . . . . . . . . . . 17  |-  ( (
# `  F )  =  4  ->  ( F : ( 0..^ (
# `  F )
) --> dom  E  ->  ( ( F `  0
)  e.  dom  E  /\  ( F `  1
)  e.  dom  E
) ) )
7056, 69mpan9 457 . . . . . . . . . . . . . . . 16  |-  ( ( F  e. Word  dom  E  /\  ( # `  F
)  =  4 )  ->  ( ( F `
 0 )  e. 
dom  E  /\  ( F `  1 )  e.  dom  E ) )
71703adant2 977 . . . . . . . . . . . . . . 15  |-  ( ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 )  -> 
( ( F ` 
0 )  e.  dom  E  /\  ( F ` 
1 )  e.  dom  E ) )
72 f1veqaeq 6041 . . . . . . . . . . . . . . 15  |-  ( ( E : dom  E -1-1-> ran 
E  /\  ( ( F `  0 )  e.  dom  E  /\  ( F `  1 )  e.  dom  E ) )  ->  ( ( E `
 ( F ` 
0 ) )  =  ( E `  ( F `  1 )
)  ->  ( F `  0 )  =  ( F `  1
) ) )
7355, 71, 72syl2an 465 . . . . . . . . . . . . . 14  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( E `  ( F `  0 ) )  =  ( E `
 ( F ` 
1 ) )  -> 
( F `  0
)  =  ( F `
 1 ) ) )
74 df-f1 5494 . . . . . . . . . . . . . . . . . . 19  |-  ( F : ( 0..^ (
# `  F )
) -1-1-> dom  E  <->  ( F : ( 0..^ (
# `  F )
) --> dom  E  /\  Fun  `' F ) )
75 f1eq2 5670 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( 0..^ ( # `  F
) )  =  ( 0..^ 4 )  -> 
( F : ( 0..^ ( # `  F
) ) -1-1-> dom  E  <->  F : ( 0..^ 4 ) -1-1-> dom  E ) )
7657, 75syl 16 . . . . . . . . . . . . . . . . . . . . 21  |-  ( (
# `  F )  =  4  ->  ( F : ( 0..^ (
# `  F )
) -1-1-> dom  E  <->  F :
( 0..^ 4 )
-1-1-> dom  E ) )
77 f1veqaeq 6041 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( F : ( 0..^ 4 ) -1-1-> dom  E  /\  ( 0  e.  ( 0..^ 4 )  /\  1  e.  ( 0..^ 4 ) ) )  ->  ( ( F `
 0 )  =  ( F `  1
)  ->  0  = 
1 ) )
7861, 65, 77mpanr12 668 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( F : ( 0..^ 4 ) -1-1-> dom  E  ->  (
( F `  0
)  =  ( F `
 1 )  -> 
0  =  1 ) )
79 ax-1ne0 9097 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  1  =/=  0
8079nesymi 2648 . . . . . . . . . . . . . . . . . . . . . . 23  |-  -.  0  =  1
8180pm2.21i 126 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( 0  =  1  ->  A  =/=  C )
8278, 81syl6 32 . . . . . . . . . . . . . . . . . . . . 21  |-  ( F : ( 0..^ 4 ) -1-1-> dom  E  ->  (
( F `  0
)  =  ( F `
 1 )  ->  A  =/=  C ) )
8376, 82syl6bi 221 . . . . . . . . . . . . . . . . . . . 20  |-  ( (
# `  F )  =  4  ->  ( F : ( 0..^ (
# `  F )
) -1-1-> dom  E  ->  (
( F `  0
)  =  ( F `
 1 )  ->  A  =/=  C ) ) )
8483com12 30 . . . . . . . . . . . . . . . . . . 19  |-  ( F : ( 0..^ (
# `  F )
) -1-1-> dom  E  ->  (
( # `  F )  =  4  ->  (
( F `  0
)  =  ( F `
 1 )  ->  A  =/=  C ) ) )
8574, 84sylbir 206 . . . . . . . . . . . . . . . . . 18  |-  ( ( F : ( 0..^ ( # `  F
) ) --> dom  E  /\  Fun  `' F )  ->  ( ( # `  F )  =  4  ->  ( ( F `
 0 )  =  ( F `  1
)  ->  A  =/=  C ) ) )
8685ex 425 . . . . . . . . . . . . . . . . 17  |-  ( F : ( 0..^ (
# `  F )
) --> dom  E  ->  ( Fun  `' F  -> 
( ( # `  F
)  =  4  -> 
( ( F ` 
0 )  =  ( F `  1 )  ->  A  =/=  C
) ) ) )
8756, 86syl 16 . . . . . . . . . . . . . . . 16  |-  ( F  e. Word  dom  E  ->  ( Fun  `' F  -> 
( ( # `  F
)  =  4  -> 
( ( F ` 
0 )  =  ( F `  1 )  ->  A  =/=  C
) ) ) )
88873imp 1148 . . . . . . . . . . . . . . 15  |-  ( ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 )  -> 
( ( F ` 
0 )  =  ( F `  1 )  ->  A  =/=  C
) )
8988adantl 454 . . . . . . . . . . . . . 14  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( F ` 
0 )  =  ( F `  1 )  ->  A  =/=  C
) )
9073, 89syld 43 . . . . . . . . . . . . 13  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( E `  ( F `  0 ) )  =  ( E `
 ( F ` 
1 ) )  ->  A  =/=  C ) )
9154, 90syl5 31 . . . . . . . . . . . 12  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( ( E `
 ( F ` 
0 ) )  =  { C ,  B }  /\  ( E `  ( F `  1 ) )  =  { C ,  B } )  ->  A  =/=  C ) )
9291adantl 454 . . . . . . . . . . 11  |-  ( ( A  =  C  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) ) )  ->  ( ( ( E `  ( F `
 0 ) )  =  { C ,  B }  /\  ( E `  ( F `  1 ) )  =  { C ,  B } )  ->  A  =/=  C ) )
9353, 92sylbid 208 . . . . . . . . . 10  |-  ( ( A  =  C  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) ) )  ->  ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  ->  A  =/=  C ) )
9493adantrd 456 . . . . . . . . 9  |-  ( ( A  =  C  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) ) )  ->  ( ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  ->  A  =/=  C ) )
9594expimpd 588 . . . . . . . 8  |-  ( A  =  C  ->  (
( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  A  =/=  C
) )
96 ax-1 6 . . . . . . . 8  |-  ( A  =/=  C  ->  (
( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  A  =/=  C
) )
9795, 96pm2.61ine 2687 . . . . . . 7  |-  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 ) )  /\  ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  A  =/=  C
)
9897adantl 454 . . . . . 6  |-  ( ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) ) )  ->  A  =/=  C )
99 usgraedgrn 21439 . . . . . . . . . . . . 13  |-  ( ( V USGrph  E  /\  { D ,  A }  e.  ran  E )  ->  D  =/=  A )
10099necomd 2694 . . . . . . . . . . . 12  |-  ( ( V USGrph  E  /\  { D ,  A }  e.  ran  E )  ->  A  =/=  D )
101100ex 425 . . . . . . . . . . 11  |-  ( V USGrph  E  ->  ( { D ,  A }  e.  ran  E  ->  A  =/=  D
) )
102101ad2antrr 708 . . . . . . . . . 10  |-  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 ) )  /\  ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  ( { D ,  A }  e.  ran  E  ->  A  =/=  D
) )
103102com12 30 . . . . . . . . 9  |-  ( { D ,  A }  e.  ran  E  ->  (
( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  A  =/=  D
) )
104103adantl 454 . . . . . . . 8  |-  ( ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E )  -> 
( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  A  =/=  D
) )
105104adantl 454 . . . . . . 7  |-  ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  ->  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  /\  ( ( ( E `
 ( F ` 
0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  ( ( E `  ( F `  2 ) )  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  A  =/=  D
) )
106105imp 420 . . . . . 6  |-  ( ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) ) )  ->  A  =/=  D )
10746, 98, 1063jca 1135 . . . . 5  |-  ( ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) ) )  ->  ( A  =/=  B  /\  A  =/= 
C  /\  A  =/=  D ) )
108 usgraedgrn 21439 . . . . . . . . . . . 12  |-  ( ( V USGrph  E  /\  { B ,  C }  e.  ran  E )  ->  B  =/=  C )
109108ex 425 . . . . . . . . . . 11  |-  ( V USGrph  E  ->  ( { B ,  C }  e.  ran  E  ->  B  =/=  C
) )
110109ad2antrr 708 . . . . . . . . . 10  |-  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 ) )  /\  ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  ( { B ,  C }  e.  ran  E  ->  B  =/=  C
) )
111110com12 30 . . . . . . . . 9  |-  ( { B ,  C }  e.  ran  E  ->  (
( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  B  =/=  C
) )
112111adantl 454 . . . . . . . 8  |-  ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  -> 
( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  B  =/=  C
) )
113112adantr 453 . . . . . . 7  |-  ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  ->  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  /\  ( ( ( E `
 ( F ` 
0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  ( ( E `  ( F `  2 ) )  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  B  =/=  C
) )
114113imp 420 . . . . . 6  |-  ( ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) ) )  ->  B  =/=  C )
115 prcom 3911 . . . . . . . . . . . . . . . . . . . . 21  |-  { D ,  A }  =  { A ,  D }
116115eqeq2i 2453 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( E `  ( F `
 3 ) )  =  { D ,  A }  <->  ( E `  ( F `  3 ) )  =  { A ,  D } )
117116a1i 11 . . . . . . . . . . . . . . . . . . 19  |-  ( B  =  D  ->  (
( E `  ( F `  3 )
)  =  { D ,  A }  <->  ( E `  ( F `  3
) )  =  { A ,  D }
) )
118 preq2 3913 . . . . . . . . . . . . . . . . . . . 20  |-  ( B  =  D  ->  { A ,  B }  =  { A ,  D }
)
119118eqeq2d 2454 . . . . . . . . . . . . . . . . . . 19  |-  ( B  =  D  ->  (
( E `  ( F `  0 )
)  =  { A ,  B }  <->  ( E `  ( F `  0
) )  =  { A ,  D }
) )
120117, 119anbi12d 693 . . . . . . . . . . . . . . . . . 18  |-  ( B  =  D  ->  (
( ( E `  ( F `  3 ) )  =  { D ,  A }  /\  ( E `  ( F `  0 ) )  =  { A ,  B } )  <->  ( ( E `  ( F `  3 ) )  =  { A ,  D }  /\  ( E `  ( F `  0 ) )  =  { A ,  D } ) ) )
121120adantr 453 . . . . . . . . . . . . . . . . 17  |-  ( ( B  =  D  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) ) )  ->  ( ( ( E `  ( F `
 3 ) )  =  { D ,  A }  /\  ( E `  ( F `  0 ) )  =  { A ,  B } )  <->  ( ( E `  ( F `  3 ) )  =  { A ,  D }  /\  ( E `  ( F `  0 ) )  =  { A ,  D } ) ) )
122 eqtr3 2462 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( E `  ( F `  3 )
)  =  { A ,  D }  /\  ( E `  ( F `  0 ) )  =  { A ,  D } )  ->  ( E `  ( F `  3 ) )  =  ( E `  ( F `  0 ) ) )
123 elfzo0 11209 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( 3  e.  ( 0..^ 4 )  <->  ( 3  e. 
NN0  /\  4  e.  NN  /\  3  <  4
) )
12427, 59, 24, 123mpbir3an 1137 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  3  e.  ( 0..^ 4 )
125 ffvelrn 5904 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( F : ( 0..^ 4 ) --> dom  E  /\  3  e.  (
0..^ 4 ) )  ->  ( F ` 
3 )  e.  dom  E )
126124, 125mpan2 654 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( F : ( 0..^ 4 ) --> dom  E  ->  ( F `  3 )  e.  dom  E )
127126, 63jca 520 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( F : ( 0..^ 4 ) --> dom  E  ->  ( ( F `  3
)  e.  dom  E  /\  ( F `  0
)  e.  dom  E
) )
12858, 127syl6bi 221 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( (
# `  F )  =  4  ->  ( F : ( 0..^ (
# `  F )
) --> dom  E  ->  ( ( F `  3
)  e.  dom  E  /\  ( F `  0
)  e.  dom  E
) ) )
12956, 128mpan9 457 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( F  e. Word  dom  E  /\  ( # `  F
)  =  4 )  ->  ( ( F `
 3 )  e. 
dom  E  /\  ( F `  0 )  e.  dom  E ) )
1301293adant2 977 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 )  -> 
( ( F ` 
3 )  e.  dom  E  /\  ( F ` 
0 )  e.  dom  E ) )
131 f1veqaeq 6041 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( E : dom  E -1-1-> ran 
E  /\  ( ( F `  3 )  e.  dom  E  /\  ( F `  0 )  e.  dom  E ) )  ->  ( ( E `
 ( F ` 
3 ) )  =  ( E `  ( F `  0 )
)  ->  ( F `  3 )  =  ( F `  0
) ) )
13255, 130, 131syl2an 465 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( E `  ( F `  3 ) )  =  ( E `
 ( F ` 
0 ) )  -> 
( F `  3
)  =  ( F `
 0 ) ) )
133 f1veqaeq 6041 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( F : ( 0..^ 4 ) -1-1-> dom  E  /\  ( 3  e.  ( 0..^ 4 )  /\  0  e.  ( 0..^ 4 ) ) )  ->  ( ( F `
 3 )  =  ( F `  0
)  ->  3  = 
0 ) )
134124, 61, 133mpanr12 668 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( F : ( 0..^ 4 ) -1-1-> dom  E  ->  (
( F `  3
)  =  ( F `
 0 )  -> 
3  =  0 ) )
135 3ne0 10123 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  |-  3  =/=  0
136135neii 2610 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  -.  3  =  0
137136pm2.21i 126 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( 3  =  0  ->  B  =/=  D )
138134, 137syl6 32 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( F : ( 0..^ 4 ) -1-1-> dom  E  ->  (
( F `  3
)  =  ( F `
 0 )  ->  B  =/=  D ) )
13976, 138syl6bi 221 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( (
# `  F )  =  4  ->  ( F : ( 0..^ (
# `  F )
) -1-1-> dom  E  ->  (
( F `  3
)  =  ( F `
 0 )  ->  B  =/=  D ) ) )
140139com12 30 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( F : ( 0..^ (
# `  F )
) -1-1-> dom  E  ->  (
( # `  F )  =  4  ->  (
( F `  3
)  =  ( F `
 0 )  ->  B  =/=  D ) ) )
14174, 140sylbir 206 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( F : ( 0..^ ( # `  F
) ) --> dom  E  /\  Fun  `' F )  ->  ( ( # `  F )  =  4  ->  ( ( F `
 3 )  =  ( F `  0
)  ->  B  =/=  D ) ) )
142141ex 425 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( F : ( 0..^ (
# `  F )
) --> dom  E  ->  ( Fun  `' F  -> 
( ( # `  F
)  =  4  -> 
( ( F ` 
3 )  =  ( F `  0 )  ->  B  =/=  D
) ) ) )
14356, 142syl 16 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( F  e. Word  dom  E  ->  ( Fun  `' F  -> 
( ( # `  F
)  =  4  -> 
( ( F ` 
3 )  =  ( F `  0 )  ->  B  =/=  D
) ) ) )
1441433imp 1148 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 )  -> 
( ( F ` 
3 )  =  ( F `  0 )  ->  B  =/=  D
) )
145144adantl 454 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( F ` 
3 )  =  ( F `  0 )  ->  B  =/=  D
) )
146132, 145syld 43 . . . . . . . . . . . . . . . . . . 19  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( E `  ( F `  3 ) )  =  ( E `
 ( F ` 
0 ) )  ->  B  =/=  D ) )
147122, 146syl5 31 . . . . . . . . . . . . . . . . . 18  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( ( E `
 ( F ` 
3 ) )  =  { A ,  D }  /\  ( E `  ( F `  0 ) )  =  { A ,  D } )  ->  B  =/=  D ) )
148147adantl 454 . . . . . . . . . . . . . . . . 17  |-  ( ( B  =  D  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) ) )  ->  ( ( ( E `  ( F `
 3 ) )  =  { A ,  D }  /\  ( E `  ( F `  0 ) )  =  { A ,  D } )  ->  B  =/=  D ) )
149121, 148sylbid 208 . . . . . . . . . . . . . . . 16  |-  ( ( B  =  D  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) ) )  ->  ( ( ( E `  ( F `
 3 ) )  =  { D ,  A }  /\  ( E `  ( F `  0 ) )  =  { A ,  B } )  ->  B  =/=  D ) )
150149com12 30 . . . . . . . . . . . . . . 15  |-  ( ( ( E `  ( F `  3 )
)  =  { D ,  A }  /\  ( E `  ( F `  0 ) )  =  { A ,  B } )  ->  (
( B  =  D  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) ) )  ->  B  =/=  D ) )
151150ex 425 . . . . . . . . . . . . . 14  |-  ( ( E `  ( F `
 3 ) )  =  { D ,  A }  ->  ( ( E `  ( F `
 0 ) )  =  { A ,  B }  ->  ( ( B  =  D  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) ) )  ->  B  =/=  D
) ) )
152151adantl 454 . . . . . . . . . . . . 13  |-  ( ( ( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } )  ->  (
( E `  ( F `  0 )
)  =  { A ,  B }  ->  (
( B  =  D  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) ) )  ->  B  =/=  D ) ) )
153152com12 30 . . . . . . . . . . . 12  |-  ( ( E `  ( F `
 0 ) )  =  { A ,  B }  ->  ( ( ( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } )  ->  (
( B  =  D  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) ) )  ->  B  =/=  D ) ) )
154153adantr 453 . . . . . . . . . . 11  |-  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  ->  (
( ( E `  ( F `  2 ) )  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } )  ->  (
( B  =  D  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) ) )  ->  B  =/=  D ) ) )
155154imp 420 . . . . . . . . . 10  |-  ( ( ( ( E `  ( F `  0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  -> 
( ( B  =  D  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) ) )  ->  B  =/=  D ) )
156155com12 30 . . . . . . . . 9  |-  ( ( B  =  D  /\  ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) ) )  ->  ( ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  ->  B  =/=  D ) )
157156expimpd 588 . . . . . . . 8  |-  ( B  =  D  ->  (
( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  B  =/=  D
) )
158 ax-1 6 . . . . . . . 8  |-  ( B  =/=  D  ->  (
( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  B  =/=  D
) )
159157, 158pm2.61ine 2687 . . . . . . 7  |-  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 ) )  /\  ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  B  =/=  D
)
160159adantl 454 . . . . . 6  |-  ( ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) ) )  ->  B  =/=  D )
161 usgraedgrn 21439 . . . . . . . . . . . 12  |-  ( ( V USGrph  E  /\  { C ,  D }  e.  ran  E )  ->  C  =/=  D )
162161ex 425 . . . . . . . . . . 11  |-  ( V USGrph  E  ->  ( { C ,  D }  e.  ran  E  ->  C  =/=  D
) )
163162ad2antrr 708 . . . . . . . . . 10  |-  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 ) )  /\  ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  ( { C ,  D }  e.  ran  E  ->  C  =/=  D
) )
164163com12 30 . . . . . . . . 9  |-  ( { C ,  D }  e.  ran  E  ->  (
( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  C  =/=  D
) )
165164adantr 453 . . . . . . . 8  |-  ( ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E )  -> 
( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  C  =/=  D
) )
166165adantl 454 . . . . . . 7  |-  ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  ->  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  /\  ( ( ( E `
 ( F ` 
0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  ( ( E `  ( F `  2 ) )  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  C  =/=  D
) )
167166imp 420 . . . . . 6  |-  ( ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) ) )  ->  C  =/=  D )
168114, 160, 1673jca 1135 . . . . 5  |-  ( ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) ) )  ->  ( B  =/=  C  /\  B  =/= 
D  /\  C  =/=  D ) )
169107, 168jca 520 . . . 4  |-  ( ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) ) )  ->  ( ( A  =/=  B  /\  A  =/=  C  /\  A  =/= 
D )  /\  ( B  =/=  C  /\  B  =/=  D  /\  C  =/= 
D ) ) )
17040, 169jca 520 . . 3  |-  ( ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F
)  =  4 ) )  /\  ( ( ( E `  ( F `  0 )
)  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) ) )  ->  ( (
( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( A  =/=  B  /\  A  =/=  C  /\  A  =/= 
D )  /\  ( B  =/=  C  /\  B  =/=  D  /\  C  =/= 
D ) ) ) )
17139, 170mpancom 652 . 2  |-  ( ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 ) )  /\  ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) ) )  ->  ( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( A  =/=  B  /\  A  =/=  C  /\  A  =/= 
D )  /\  ( B  =/=  C  /\  B  =/=  D  /\  C  =/= 
D ) ) ) )
172171ex 425 1  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( ( ( E `  ( F `
 0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  /\  (
( E `  ( F `  2 )
)  =  { C ,  D }  /\  ( E `  ( F `  3 ) )  =  { D ,  A } ) )  -> 
( ( ( { A ,  B }  e.  ran  E  /\  { B ,  C }  e.  ran  E )  /\  ( { C ,  D }  e.  ran  E  /\  { D ,  A }  e.  ran  E ) )  /\  ( ( A  =/=  B  /\  A  =/=  C  /\  A  =/= 
D )  /\  ( B  =/=  C  /\  B  =/=  D  /\  C  =/= 
D ) ) ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 178    /\ wa 360    /\ w3a 937    = wceq 1654    e. wcel 1728    =/= wne 2606   {cpr 3844   class class class wbr 4243   `'ccnv 4912   dom cdm 4913   ran crn 4914   Fun wfun 5483   -->wf 5485   -1-1->wf1 5486   ` cfv 5489  (class class class)co 6117   0cc0 9028   1c1 9029    < clt 9158   NNcn 10038   2c2 10087   3c3 10088   4c4 10089   NN0cn0 10259  ..^cfzo 11173   #chash 11656  Word cword 11755   USGrph cusg 21403
This theorem is referenced by:  4cycl4dv4e  21693
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1556  ax-5 1567  ax-17 1628  ax-9 1669  ax-8 1690  ax-13 1730  ax-14 1732  ax-6 1747  ax-7 1752  ax-11 1764  ax-12 1954  ax-ext 2424  ax-rep 4351  ax-sep 4361  ax-nul 4369  ax-pow 4412  ax-pr 4438  ax-un 4736  ax-cnex 9084  ax-resscn 9085  ax-1cn 9086  ax-icn 9087  ax-addcl 9088  ax-addrcl 9089  ax-mulcl 9090  ax-mulrcl 9091  ax-mulcom 9092  ax-addass 9093  ax-mulass 9094  ax-distr 9095  ax-i2m1 9096  ax-1ne0 9097  ax-1rid 9098  ax-rnegex 9099  ax-rrecex 9100  ax-cnre 9101  ax-pre-lttri 9102  ax-pre-lttrn 9103  ax-pre-ltadd 9104  ax-pre-mulgt0 9105
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 938  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1661  df-eu 2292  df-mo 2293  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2568  df-ne 2608  df-nel 2609  df-ral 2717  df-rex 2718  df-reu 2719  df-rmo 2720  df-rab 2721  df-v 2967  df-sbc 3171  df-csb 3271  df-dif 3312  df-un 3314  df-in 3316  df-ss 3323  df-pss 3325  df-nul 3617  df-if 3768  df-pw 3830  df-sn 3849  df-pr 3850  df-tp 3851  df-op 3852  df-uni 4045  df-int 4080  df-iun 4124  df-br 4244  df-opab 4298  df-mpt 4299  df-tr 4334  df-eprel 4529  df-id 4533  df-po 4538  df-so 4539  df-fr 4576  df-we 4578  df-ord 4619  df-on 4620  df-lim 4621  df-suc 4622  df-om 4881  df-xp 4919  df-rel 4920  df-cnv 4921  df-co 4922  df-dm 4923  df-rn 4924  df-res 4925  df-ima 4926  df-iota 5453  df-fun 5491  df-fn 5492  df-f 5493  df-f1 5494  df-fo 5495  df-f1o 5496  df-fv 5497  df-ov 6120  df-oprab 6121  df-mpt2 6122  df-1st 6385  df-2nd 6386  df-riota 6585  df-recs 6669  df-rdg 6704  df-1o 6760  df-oadd 6764  df-er 6941  df-en 7146  df-dom 7147  df-sdom 7148  df-fin 7149  df-card 7864  df-cda 8086  df-pnf 9160  df-mnf 9161  df-xr 9162  df-ltxr 9163  df-le 9164  df-sub 9331  df-neg 9332  df-nn 10039  df-2 10096  df-3 10097  df-4 10098  df-n0 10260  df-z 10321  df-uz 10527  df-fz 11082  df-fzo 11174  df-hash 11657  df-word 11761  df-usgra 21405
  Copyright terms: Public domain W3C validator