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

Theorem 4cycl4dv 23521
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 23245 . . . . 5  |-  ( V USGrph  E  ->  Fun  E )
2 4pos 10409 . . . . . . . . . . . . . . 15  |-  0  <  4
3 breq2 4291 . . . . . . . . . . . . . . 15  |-  ( (
# `  F )  =  4  ->  (
0  <  ( # `  F
)  <->  0  <  4
) )
42, 3mpbiri 233 . . . . . . . . . . . . . 14  |-  ( (
# `  F )  =  4  ->  0  <  ( # `  F
) )
5 0nn0 10586 . . . . . . . . . . . . . 14  |-  0  e.  NN0
64, 5jctil 537 . . . . . . . . . . . . 13  |-  ( (
# `  F )  =  4  ->  (
0  e.  NN0  /\  0  <  ( # `  F
) ) )
7 nvnencycllem 23497 . . . . . . . . . . . . 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 474 . . . . . . . . . . . 12  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( # `  F
)  =  4 )  ->  ( ( E `
 ( F ` 
0 ) )  =  { A ,  B }  ->  { A ,  B }  e.  ran  E ) )
9 1lt4 10485 . . . . . . . . . . . . . . 15  |-  1  <  4
10 breq2 4291 . . . . . . . . . . . . . . 15  |-  ( (
# `  F )  =  4  ->  (
1  <  ( # `  F
)  <->  1  <  4
) )
119, 10mpbiri 233 . . . . . . . . . . . . . 14  |-  ( (
# `  F )  =  4  ->  1  <  ( # `  F
) )
12 1nn0 10587 . . . . . . . . . . . . . 14  |-  1  e.  NN0
1311, 12jctil 537 . . . . . . . . . . . . 13  |-  ( (
# `  F )  =  4  ->  (
1  e.  NN0  /\  1  <  ( # `  F
) ) )
14 nvnencycllem 23497 . . . . . . . . . . . . 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 474 . . . . . . . . . . . 12  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( # `  F
)  =  4 )  ->  ( ( E `
 ( F ` 
1 ) )  =  { B ,  C }  ->  { B ,  C }  e.  ran  E ) )
168, 15anim12d 563 . . . . . . . . . . 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 10484 . . . . . . . . . . . . . . 15  |-  2  <  4
18 breq2 4291 . . . . . . . . . . . . . . 15  |-  ( (
# `  F )  =  4  ->  (
2  <  ( # `  F
)  <->  2  <  4
) )
1917, 18mpbiri 233 . . . . . . . . . . . . . 14  |-  ( (
# `  F )  =  4  ->  2  <  ( # `  F
) )
20 2nn0 10588 . . . . . . . . . . . . . 14  |-  2  e.  NN0
2119, 20jctil 537 . . . . . . . . . . . . 13  |-  ( (
# `  F )  =  4  ->  (
2  e.  NN0  /\  2  <  ( # `  F
) ) )
22 nvnencycllem 23497 . . . . . . . . . . . . 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 474 . . . . . . . . . . . 12  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( # `  F
)  =  4 )  ->  ( ( E `
 ( F ` 
2 ) )  =  { C ,  D }  ->  { C ,  D }  e.  ran  E ) )
24 3lt4 10483 . . . . . . . . . . . . . . 15  |-  3  <  4
25 breq2 4291 . . . . . . . . . . . . . . 15  |-  ( (
# `  F )  =  4  ->  (
3  <  ( # `  F
)  <->  3  <  4
) )
2624, 25mpbiri 233 . . . . . . . . . . . . . 14  |-  ( (
# `  F )  =  4  ->  3  <  ( # `  F
) )
27 3nn0 10589 . . . . . . . . . . . . . 14  |-  3  e.  NN0
2826, 27jctil 537 . . . . . . . . . . . . 13  |-  ( (
# `  F )  =  4  ->  (
3  e.  NN0  /\  3  <  ( # `  F
) ) )
29 nvnencycllem 23497 . . . . . . . . . . . . 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 474 . . . . . . . . . . . 12  |-  ( ( ( Fun  E  /\  F  e. Word  dom  E )  /\  ( # `  F
)  =  4 )  ->  ( ( E `
 ( F ` 
3 ) )  =  { D ,  A }  ->  { D ,  A }  e.  ran  E ) )
3123, 30anim12d 563 . . . . . . . . . . 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 563 . . . . . . . . . 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 434 . . . . . . . . 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 435 . . . . . . . 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 78 . . . . . . 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 429 . . . . . 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 1007 . . . . 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 469 . . . 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 429 . . 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 457 . . . 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 23268 . . . . . . . . . . 11  |-  ( ( V USGrph  E  /\  { A ,  B }  e.  ran  E )  ->  A  =/=  B )
4241ex 434 . . . . . . . . . 10  |-  ( V USGrph  E  ->  ( { A ,  B }  e.  ran  E  ->  A  =/=  B
) )
4342ad2antrr 725 . . . . . . . . 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 31 . . . . . . . 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 725 . . . . . . 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 429 . . . . . 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 3949 . . . . . . . . . . . . . 14  |-  ( A  =  C  ->  { A ,  B }  =  { C ,  B }
)
4847eqeq2d 2449 . . . . . . . . . . . . 13  |-  ( A  =  C  ->  (
( E `  ( F `  0 )
)  =  { A ,  B }  <->  ( E `  ( F `  0
) )  =  { C ,  B }
) )
49 prcom 3948 . . . . . . . . . . . . . . 15  |-  { B ,  C }  =  { C ,  B }
5049eqeq2i 2448 . . . . . . . . . . . . . 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 710 . . . . . . . . . . . 12  |-  ( A  =  C  ->  (
( ( E `  ( F `  0 ) )  =  { A ,  B }  /\  ( E `  ( F `  1 ) )  =  { B ,  C } )  <->  ( ( E `  ( F `  0 ) )  =  { C ,  B }  /\  ( E `  ( F `  1 ) )  =  { C ,  B } ) ) )
5352adantr 465 . . . . . . . . . . 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 2457 . . . . . . . . . . . . 13  |-  ( ( ( E `  ( F `  0 )
)  =  { C ,  B }  /\  ( E `  ( F `  1 ) )  =  { C ,  B } )  ->  ( E `  ( F `  0 ) )  =  ( E `  ( F `  1 ) ) )
55 usgraf1 23250 . . . . . . . . . . . . . . 15  |-  ( V USGrph  E  ->  E : dom  E
-1-1-> ran  E )
56 wrdf 12232 . . . . . . . . . . . . . . . . 17  |-  ( F  e. Word  dom  E  ->  F : ( 0..^ (
# `  F )
) --> dom  E )
57 oveq2 6094 . . . . . . . . . . . . . . . . . . 19  |-  ( (
# `  F )  =  4  ->  (
0..^ ( # `  F
) )  =  ( 0..^ 4 ) )
5857feq2d 5542 . . . . . . . . . . . . . . . . . 18  |-  ( (
# `  F )  =  4  ->  ( F : ( 0..^ (
# `  F )
) --> dom  E  <->  F :
( 0..^ 4 ) --> dom  E ) )
59 4nn 10473 . . . . . . . . . . . . . . . . . . . . 21  |-  4  e.  NN
60 lbfzo0 11578 . . . . . . . . . . . . . . . . . . . . 21  |-  ( 0  e.  ( 0..^ 4 )  <->  4  e.  NN )
6159, 60mpbir 209 . . . . . . . . . . . . . . . . . . . 20  |-  0  e.  ( 0..^ 4 )
62 ffvelrn 5836 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( F : ( 0..^ 4 ) --> dom  E  /\  0  e.  (
0..^ 4 ) )  ->  ( F ` 
0 )  e.  dom  E )
6361, 62mpan2 671 . . . . . . . . . . . . . . . . . . 19  |-  ( F : ( 0..^ 4 ) --> dom  E  ->  ( F `  0 )  e.  dom  E )
64 elfzo0 11579 . . . . . . . . . . . . . . . . . . . . 21  |-  ( 1  e.  ( 0..^ 4 )  <->  ( 1  e. 
NN0  /\  4  e.  NN  /\  1  <  4
) )
6512, 59, 9, 64mpbir3an 1170 . . . . . . . . . . . . . . . . . . . 20  |-  1  e.  ( 0..^ 4 )
66 ffvelrn 5836 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( F : ( 0..^ 4 ) --> dom  E  /\  1  e.  (
0..^ 4 ) )  ->  ( F ` 
1 )  e.  dom  E )
6765, 66mpan2 671 . . . . . . . . . . . . . . . . . . 19  |-  ( F : ( 0..^ 4 ) --> dom  E  ->  ( F `  1 )  e.  dom  E )
6863, 67jca 532 . . . . . . . . . . . . . . . . . 18  |-  ( F : ( 0..^ 4 ) --> dom  E  ->  ( ( F `  0
)  e.  dom  E  /\  ( F `  1
)  e.  dom  E
) )
6958, 68syl6bi 228 . . . . . . . . . . . . . . . . 17  |-  ( (
# `  F )  =  4  ->  ( F : ( 0..^ (
# `  F )
) --> dom  E  ->  ( ( F `  0
)  e.  dom  E  /\  ( F `  1
)  e.  dom  E
) ) )
7056, 69mpan9 469 . . . . . . . . . . . . . . . 16  |-  ( ( F  e. Word  dom  E  /\  ( # `  F
)  =  4 )  ->  ( ( F `
 0 )  e. 
dom  E  /\  ( F `  1 )  e.  dom  E ) )
71703adant2 1007 . . . . . . . . . . . . . . 15  |-  ( ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 )  -> 
( ( F ` 
0 )  e.  dom  E  /\  ( F ` 
1 )  e.  dom  E ) )
72 f1veqaeq 5967 . . . . . . . . . . . . . . 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 477 . . . . . . . . . . . . . 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 5418 . . . . . . . . . . . . . . . . . . 19  |-  ( F : ( 0..^ (
# `  F )
) -1-1-> dom  E  <->  ( F : ( 0..^ (
# `  F )
) --> dom  E  /\  Fun  `' F ) )
75 f1eq2 5597 . . . . . . . . . . . . . . . . . . . . . 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 5967 . . . . . . . . . . . . . . . . . . . . . . 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 685 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( F : ( 0..^ 4 ) -1-1-> dom  E  ->  (
( F `  0
)  =  ( F `
 1 )  -> 
0  =  1 ) )
79 ax-1ne0 9343 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  1  =/=  0
8079nesymi 2643 . . . . . . . . . . . . . . . . . . . . . . 23  |-  -.  0  =  1
8180pm2.21i 131 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( 0  =  1  ->  A  =/=  C )
8278, 81syl6 33 . . . . . . . . . . . . . . . . . . . . 21  |-  ( F : ( 0..^ 4 ) -1-1-> dom  E  ->  (
( F `  0
)  =  ( F `
 1 )  ->  A  =/=  C ) )
8376, 82syl6bi 228 . . . . . . . . . . . . . . . . . . . 20  |-  ( (
# `  F )  =  4  ->  ( F : ( 0..^ (
# `  F )
) -1-1-> dom  E  ->  (
( F `  0
)  =  ( F `
 1 )  ->  A  =/=  C ) ) )
8483com12 31 . . . . . . . . . . . . . . . . . . 19  |-  ( F : ( 0..^ (
# `  F )
) -1-1-> dom  E  ->  (
( # `  F )  =  4  ->  (
( F `  0
)  =  ( F `
 1 )  ->  A  =/=  C ) ) )
8574, 84sylbir 213 . . . . . . . . . . . . . . . . . 18  |-  ( ( F : ( 0..^ ( # `  F
) ) --> dom  E  /\  Fun  `' F )  ->  ( ( # `  F )  =  4  ->  ( ( F `
 0 )  =  ( F `  1
)  ->  A  =/=  C ) ) )
8685ex 434 . . . . . . . . . . . . . . . . 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 1181 . . . . . . . . . . . . . . 15  |-  ( ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 )  -> 
( ( F ` 
0 )  =  ( F `  1 )  ->  A  =/=  C
) )
8988adantl 466 . . . . . . . . . . . . . 14  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( F ` 
0 )  =  ( F `  1 )  ->  A  =/=  C
) )
9073, 89syld 44 . . . . . . . . . . . . 13  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( E `  ( F `  0 ) )  =  ( E `
 ( F ` 
1 ) )  ->  A  =/=  C ) )
9154, 90syl5 32 . . . . . . . . . . . 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 466 . . . . . . . . . . 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 215 . . . . . . . . . 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 468 . . . . . . . . 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 603 . . . . . . . 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 2682 . . . . . . 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 466 . . . . . 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 23268 . . . . . . . . . . . . 13  |-  ( ( V USGrph  E  /\  { D ,  A }  e.  ran  E )  ->  D  =/=  A )
10099necomd 2690 . . . . . . . . . . . 12  |-  ( ( V USGrph  E  /\  { D ,  A }  e.  ran  E )  ->  A  =/=  D )
101100ex 434 . . . . . . . . . . 11  |-  ( V USGrph  E  ->  ( { D ,  A }  e.  ran  E  ->  A  =/=  D
) )
102101ad2antrr 725 . . . . . . . . . 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 31 . . . . . . . . 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 466 . . . . . . . 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 466 . . . . . . 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 429 . . . . . 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 1168 . . . . 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 23268 . . . . . . . . . . . 12  |-  ( ( V USGrph  E  /\  { B ,  C }  e.  ran  E )  ->  B  =/=  C )
109108ex 434 . . . . . . . . . . 11  |-  ( V USGrph  E  ->  ( { B ,  C }  e.  ran  E  ->  B  =/=  C
) )
110109ad2antrr 725 . . . . . . . . . 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 31 . . . . . . . . 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 466 . . . . . . . 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 465 . . . . . . 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 429 . . . . . 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 3948 . . . . . . . . . . . . . . . . . . . . 21  |-  { D ,  A }  =  { A ,  D }
116115eqeq2i 2448 . . . . . . . . . . . . . . . . . . . 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 3950 . . . . . . . . . . . . . . . . . . . 20  |-  ( B  =  D  ->  { A ,  B }  =  { A ,  D }
)
119118eqeq2d 2449 . . . . . . . . . . . . . . . . . . 19  |-  ( B  =  D  ->  (
( E `  ( F `  0 )
)  =  { A ,  B }  <->  ( E `  ( F `  0
) )  =  { A ,  D }
) )
120117, 119anbi12d 710 . . . . . . . . . . . . . . . . . 18  |-  ( B  =  D  ->  (
( ( E `  ( F `  3 ) )  =  { D ,  A }  /\  ( E `  ( F `  0 ) )  =  { A ,  B } )  <->  ( ( E `  ( F `  3 ) )  =  { A ,  D }  /\  ( E `  ( F `  0 ) )  =  { A ,  D } ) ) )
121120adantr 465 . . . . . . . . . . . . . . . . 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 2457 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( E `  ( F `  3 )
)  =  { A ,  D }  /\  ( E `  ( F `  0 ) )  =  { A ,  D } )  ->  ( E `  ( F `  3 ) )  =  ( E `  ( F `  0 ) ) )
123 elfzo0 11579 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( 3  e.  ( 0..^ 4 )  <->  ( 3  e. 
NN0  /\  4  e.  NN  /\  3  <  4
) )
12427, 59, 24, 123mpbir3an 1170 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  3  e.  ( 0..^ 4 )
125 ffvelrn 5836 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( F : ( 0..^ 4 ) --> dom  E  /\  3  e.  (
0..^ 4 ) )  ->  ( F ` 
3 )  e.  dom  E )
126124, 125mpan2 671 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( F : ( 0..^ 4 ) --> dom  E  ->  ( F `  3 )  e.  dom  E )
127126, 63jca 532 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( F : ( 0..^ 4 ) --> dom  E  ->  ( ( F `  3
)  e.  dom  E  /\  ( F `  0
)  e.  dom  E
) )
12858, 127syl6bi 228 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( (
# `  F )  =  4  ->  ( F : ( 0..^ (
# `  F )
) --> dom  E  ->  ( ( F `  3
)  e.  dom  E  /\  ( F `  0
)  e.  dom  E
) ) )
12956, 128mpan9 469 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( F  e. Word  dom  E  /\  ( # `  F
)  =  4 )  ->  ( ( F `
 3 )  e. 
dom  E  /\  ( F `  0 )  e.  dom  E ) )
1301293adant2 1007 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 )  -> 
( ( F ` 
3 )  e.  dom  E  /\  ( F ` 
0 )  e.  dom  E ) )
131 f1veqaeq 5967 . . . . . . . . . . . . . . . . . . . . 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 477 . . . . . . . . . . . . . . . . . . . 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 5967 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 685 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( F : ( 0..^ 4 ) -1-1-> dom  E  ->  (
( F `  3
)  =  ( F `
 0 )  -> 
3  =  0 ) )
135 3ne0 10408 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  |-  3  =/=  0
136135neii 2605 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  -.  3  =  0
137136pm2.21i 131 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( 3  =  0  ->  B  =/=  D )
138134, 137syl6 33 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( F : ( 0..^ 4 ) -1-1-> dom  E  ->  (
( F `  3
)  =  ( F `
 0 )  ->  B  =/=  D ) )
13976, 138syl6bi 228 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( (
# `  F )  =  4  ->  ( F : ( 0..^ (
# `  F )
) -1-1-> dom  E  ->  (
( F `  3
)  =  ( F `
 0 )  ->  B  =/=  D ) ) )
140139com12 31 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( F : ( 0..^ (
# `  F )
) -1-1-> dom  E  ->  (
( # `  F )  =  4  ->  (
( F `  3
)  =  ( F `
 0 )  ->  B  =/=  D ) ) )
14174, 140sylbir 213 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( F : ( 0..^ ( # `  F
) ) --> dom  E  /\  Fun  `' F )  ->  ( ( # `  F )  =  4  ->  ( ( F `
 3 )  =  ( F `  0
)  ->  B  =/=  D ) ) )
142141ex 434 . . . . . . . . . . . . . . . . . . . . . . 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 1181 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `  F )  =  4 )  -> 
( ( F ` 
3 )  =  ( F `  0 )  ->  B  =/=  D
) )
145144adantl 466 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( F ` 
3 )  =  ( F `  0 )  ->  B  =/=  D
) )
146132, 145syld 44 . . . . . . . . . . . . . . . . . . 19  |-  ( ( V USGrph  E  /\  ( F  e. Word  dom  E  /\  Fun  `' F  /\  ( # `
 F )  =  4 ) )  -> 
( ( E `  ( F `  3 ) )  =  ( E `
 ( F ` 
0 ) )  ->  B  =/=  D ) )
147122, 146syl5 32 . . . . . . . . . . . . . . . . . 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 466 . . . . . . . . . . . . . . . . 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 215 . . . . . . . . . . . . . . . 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 31 . . . . . . . . . . . . . . 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 434 . . . . . . . . . . . . . 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 466 . . . . . . . . . . . . 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 31 . . . . . . . . . . . 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 465 . . . . . . . . . . 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 429 . . . . . . . . . 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 31 . . . . . . . . 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 603 . . . . . . . 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 2682 . . . . . . 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 466 . . . . . 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 23268 . . . . . . . . . . . 12  |-  ( ( V USGrph  E  /\  { C ,  D }  e.  ran  E )  ->  C  =/=  D )
162161ex 434 . . . . . . . . . . 11  |-  ( V USGrph  E  ->  ( { C ,  D }  e.  ran  E  ->  C  =/=  D
) )
163162ad2antrr 725 . . . . . . . . . 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 31 . . . . . . . . 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 465 . . . . . . . 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 466 . . . . . . 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 429 . . . . . 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 1168 . . . . 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 532 . . . 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 532 . . 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 669 . 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 434 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 setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 965    = wceq 1369    e. wcel 1756    =/= wne 2601   {cpr 3874   class class class wbr 4287   `'ccnv 4834   dom cdm 4835   ran crn 4836   Fun wfun 5407   -->wf 5409   -1-1->wf1 5410   ` cfv 5413  (class class class)co 6086   0cc0 9274   1c1 9275    < clt 9410   NNcn 10314   2c2 10363   3c3 10364   4c4 10365   NN0cn0 10571  ..^cfzo 11540   #chash 12095  Word cword 12213   USGrph cusg 23232
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2419  ax-rep 4398  ax-sep 4408  ax-nul 4416  ax-pow 4465  ax-pr 4526  ax-un 6367  ax-cnex 9330  ax-resscn 9331  ax-1cn 9332  ax-icn 9333  ax-addcl 9334  ax-addrcl 9335  ax-mulcl 9336  ax-mulrcl 9337  ax-mulcom 9338  ax-addass 9339  ax-mulass 9340  ax-distr 9341  ax-i2m1 9342  ax-1ne0 9343  ax-1rid 9344  ax-rnegex 9345  ax-rrecex 9346  ax-cnre 9347  ax-pre-lttri 9348  ax-pre-lttrn 9349  ax-pre-ltadd 9350  ax-pre-mulgt0 9351
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2256  df-mo 2257  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-nel 2604  df-ral 2715  df-rex 2716  df-reu 2717  df-rmo 2718  df-rab 2719  df-v 2969  df-sbc 3182  df-csb 3284  df-dif 3326  df-un 3328  df-in 3330  df-ss 3337  df-pss 3339  df-nul 3633  df-if 3787  df-pw 3857  df-sn 3873  df-pr 3875  df-tp 3877  df-op 3879  df-uni 4087  df-int 4124  df-iun 4168  df-br 4288  df-opab 4346  df-mpt 4347  df-tr 4381  df-eprel 4627  df-id 4631  df-po 4636  df-so 4637  df-fr 4674  df-we 4676  df-ord 4717  df-on 4718  df-lim 4719  df-suc 4720  df-xp 4841  df-rel 4842  df-cnv 4843  df-co 4844  df-dm 4845  df-rn 4846  df-res 4847  df-ima 4848  df-iota 5376  df-fun 5415  df-fn 5416  df-f 5417  df-f1 5418  df-fo 5419  df-f1o 5420  df-fv 5421  df-riota 6047  df-ov 6089  df-oprab 6090  df-mpt2 6091  df-om 6472  df-1st 6572  df-2nd 6573  df-recs 6824  df-rdg 6858  df-1o 6912  df-oadd 6916  df-er 7093  df-en 7303  df-dom 7304  df-sdom 7305  df-fin 7306  df-card 8101  df-cda 8329  df-pnf 9412  df-mnf 9413  df-xr 9414  df-ltxr 9415  df-le 9416  df-sub 9589  df-neg 9590  df-nn 10315  df-2 10372  df-3 10373  df-4 10374  df-n0 10572  df-z 10639  df-uz 10854  df-fz 11430  df-fzo 11541  df-hash 12096  df-word 12221  df-usgra 23234
This theorem is referenced by:  4cycl4dv4e  23522
  Copyright terms: Public domain W3C validator