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

Theorem el2wlkonot 30393
Description: A walk of length 2 between two vertices (in a graph) as ordered triple. (Contributed by Alexander van der Vekens, 15-Feb-2018.)
Assertion
Ref Expression
el2wlkonot  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( T  e.  ( A ( V 2WalksOnOt  E ) C )  <->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  E. f E. p ( f ( V Walks  E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0
)  /\  b  =  ( p `  1
)  /\  C  =  ( p `  2
) ) ) ) ) )
Distinct variable groups:    A, b,
f, p    C, b,
f, p    E, b,
f, p    T, b,
f, p    V, b,
f, p    X, b,
f, p    Y, b,
f, p

Proof of Theorem el2wlkonot
Dummy variable  t is distinct from all other variables.
StepHypRef Expression
1 2wlkonot 30389 . . . 4  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( A ( V 2WalksOnOt  E ) C )  =  { t  e.  ( ( V  X.  V )  X.  V
)  |  E. f E. p ( f ( A ( V WalkOn  E
) C ) p  /\  ( # `  f
)  =  2  /\  ( ( 1st `  ( 1st `  t ) )  =  A  /\  ( 2nd `  ( 1st `  t
) )  =  ( p `  1 )  /\  ( 2nd `  t
)  =  C ) ) } )
21eleq2d 2510 . . 3  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( T  e.  ( A ( V 2WalksOnOt  E ) C )  <->  T  e.  { t  e.  ( ( V  X.  V )  X.  V )  |  E. f E. p
( f ( A ( V WalkOn  E ) C ) p  /\  ( # `  f )  =  2  /\  (
( 1st `  ( 1st `  t ) )  =  A  /\  ( 2nd `  ( 1st `  t
) )  =  ( p `  1 )  /\  ( 2nd `  t
)  =  C ) ) } ) )
3 fveq2 5696 . . . . . . . . 9  |-  ( t  =  T  ->  ( 1st `  t )  =  ( 1st `  T
) )
43fveq2d 5700 . . . . . . . 8  |-  ( t  =  T  ->  ( 1st `  ( 1st `  t
) )  =  ( 1st `  ( 1st `  T ) ) )
54eqeq1d 2451 . . . . . . 7  |-  ( t  =  T  ->  (
( 1st `  ( 1st `  t ) )  =  A  <->  ( 1st `  ( 1st `  T
) )  =  A ) )
63fveq2d 5700 . . . . . . . 8  |-  ( t  =  T  ->  ( 2nd `  ( 1st `  t
) )  =  ( 2nd `  ( 1st `  T ) ) )
76eqeq1d 2451 . . . . . . 7  |-  ( t  =  T  ->  (
( 2nd `  ( 1st `  t ) )  =  ( p ` 
1 )  <->  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 ) ) )
8 fveq2 5696 . . . . . . . 8  |-  ( t  =  T  ->  ( 2nd `  t )  =  ( 2nd `  T
) )
98eqeq1d 2451 . . . . . . 7  |-  ( t  =  T  ->  (
( 2nd `  t
)  =  C  <->  ( 2nd `  T )  =  C ) )
105, 7, 93anbi123d 1289 . . . . . 6  |-  ( t  =  T  ->  (
( ( 1st `  ( 1st `  t ) )  =  A  /\  ( 2nd `  ( 1st `  t
) )  =  ( p `  1 )  /\  ( 2nd `  t
)  =  C )  <-> 
( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) )
11103anbi3d 1295 . . . . 5  |-  ( t  =  T  ->  (
( f ( A ( V WalkOn  E ) C ) p  /\  ( # `  f )  =  2  /\  (
( 1st `  ( 1st `  t ) )  =  A  /\  ( 2nd `  ( 1st `  t
) )  =  ( p `  1 )  /\  ( 2nd `  t
)  =  C ) )  <->  ( f ( A ( V WalkOn  E
) C ) p  /\  ( # `  f
)  =  2  /\  ( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) ) )
12112exbidv 1682 . . . 4  |-  ( t  =  T  ->  ( E. f E. p ( f ( A ( V WalkOn  E ) C ) p  /\  ( # `
 f )  =  2  /\  ( ( 1st `  ( 1st `  t ) )  =  A  /\  ( 2nd `  ( 1st `  t
) )  =  ( p `  1 )  /\  ( 2nd `  t
)  =  C ) )  <->  E. f E. p
( f ( A ( V WalkOn  E ) C ) p  /\  ( # `  f )  =  2  /\  (
( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) ) )
1312elrab 3122 . . 3  |-  ( T  e.  { t  e.  ( ( V  X.  V )  X.  V
)  |  E. f E. p ( f ( A ( V WalkOn  E
) C ) p  /\  ( # `  f
)  =  2  /\  ( ( 1st `  ( 1st `  t ) )  =  A  /\  ( 2nd `  ( 1st `  t
) )  =  ( p `  1 )  /\  ( 2nd `  t
)  =  C ) ) }  <->  ( T  e.  ( ( V  X.  V )  X.  V
)  /\  E. f E. p ( f ( A ( V WalkOn  E
) C ) p  /\  ( # `  f
)  =  2  /\  ( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) ) )
142, 13syl6bb 261 . 2  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( T  e.  ( A ( V 2WalksOnOt  E ) C )  <->  ( T  e.  ( ( V  X.  V )  X.  V
)  /\  E. f E. p ( f ( A ( V WalkOn  E
) C ) p  /\  ( # `  f
)  =  2  /\  ( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) ) ) )
15 simpl 457 . . . . . . . . 9  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( V  e.  X  /\  E  e.  Y
) )
16 vex 2980 . . . . . . . . . . 11  |-  f  e. 
_V
17 vex 2980 . . . . . . . . . . 11  |-  p  e. 
_V
1816, 17pm3.2i 455 . . . . . . . . . 10  |-  ( f  e.  _V  /\  p  e.  _V )
1918a1i 11 . . . . . . . . 9  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( f  e.  _V  /\  p  e.  _V )
)
20 simpr 461 . . . . . . . . 9  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( A  e.  V  /\  C  e.  V
) )
21 iswlkon 23435 . . . . . . . . 9  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( f  e.  _V  /\  p  e. 
_V )  /\  ( A  e.  V  /\  C  e.  V )
)  ->  ( f
( A ( V WalkOn  E ) C ) p  <->  ( f ( V Walks  E ) p  /\  ( p ` 
0 )  =  A  /\  ( p `  ( # `  f ) )  =  C ) ) )
2215, 19, 20, 21syl3anc 1218 . . . . . . . 8  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( f ( A ( V WalkOn  E ) C ) p  <->  ( f
( V Walks  E )
p  /\  ( p `  0 )  =  A  /\  ( p `
 ( # `  f
) )  =  C ) ) )
23223anbi1d 1293 . . . . . . 7  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( ( f ( A ( V WalkOn  E
) C ) p  /\  ( # `  f
)  =  2  /\  ( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) )  <->  ( ( f ( V Walks  E ) p  /\  ( p `
 0 )  =  A  /\  ( p `
 ( # `  f
) )  =  C )  /\  ( # `  f )  =  2  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) ) ) )
2423anbi2d 703 . . . . . 6  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( ( T  e.  ( ( V  X.  V )  X.  V
)  /\  ( f
( A ( V WalkOn  E ) C ) p  /\  ( # `  f )  =  2  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) ) )  <-> 
( T  e.  ( ( V  X.  V
)  X.  V )  /\  ( ( f ( V Walks  E ) p  /\  ( p `
 0 )  =  A  /\  ( p `
 ( # `  f
) )  =  C )  /\  ( # `  f )  =  2  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) ) ) ) )
25 simpl 457 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( A  e.  V  /\  C  e.  V )  ->  A  e.  V )
2625adantl 466 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  ->  A  e.  V )
2726adantl 466 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( f ( V Walks 
E ) p  /\  ( p `  0
)  =  A  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  ->  A  e.  V )
2827adantr 465 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ( f ( V Walks  E ) p  /\  ( p ` 
0 )  =  A  /\  ( p `  ( # `  f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  /\  ( # `
 f )  =  2 )  ->  A  e.  V )
29 el2wlkonotlem 30386 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2 )  ->  (
p `  1 )  e.  V )
3029ex 434 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( f ( V Walks  E ) p  ->  ( ( # `
 f )  =  2  ->  ( p `  1 )  e.  V ) )
31303ad2ant1 1009 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( f ( V Walks  E
) p  /\  (
p `  0 )  =  A  /\  (
p `  ( # `  f
) )  =  C )  ->  ( ( # `
 f )  =  2  ->  ( p `  1 )  e.  V ) )
3231adantr 465 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( f ( V Walks 
E ) p  /\  ( p `  0
)  =  A  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  ->  (
( # `  f )  =  2  ->  (
p `  1 )  e.  V ) )
3332imp 429 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ( f ( V Walks  E ) p  /\  ( p ` 
0 )  =  A  /\  ( p `  ( # `  f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  /\  ( # `
 f )  =  2 )  ->  (
p `  1 )  e.  V )
34 simpr 461 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( A  e.  V  /\  C  e.  V )  ->  C  e.  V )
3534adantl 466 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  ->  C  e.  V )
3635adantl 466 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( f ( V Walks 
E ) p  /\  ( p `  0
)  =  A  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  ->  C  e.  V )
3736adantr 465 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ( f ( V Walks  E ) p  /\  ( p ` 
0 )  =  A  /\  ( p `  ( # `  f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  /\  ( # `
 f )  =  2 )  ->  C  e.  V )
38 el2xptp0 30132 . . . . . . . . . . . . . . . . . . 19  |-  ( ( A  e.  V  /\  ( p `  1
)  e.  V  /\  C  e.  V )  ->  ( ( T  e.  ( ( V  X.  V )  X.  V
)  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) )  <->  T  =  <. A ,  ( p `
 1 ) ,  C >. ) )
3928, 33, 37, 38syl3anc 1218 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ( f ( V Walks  E ) p  /\  ( p ` 
0 )  =  A  /\  ( p `  ( # `  f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  /\  ( # `
 f )  =  2 )  ->  (
( T  e.  ( ( V  X.  V
)  X.  V )  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) )  <->  T  =  <. A ,  ( p `
 1 ) ,  C >. ) )
40 oteq2 4074 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  |-  ( ( p `  1 )  =  b  ->  <. A , 
( p `  1
) ,  C >.  = 
<. A ,  b ,  C >. )
4140eqcoms 2446 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  |-  ( b  =  ( p ` 
1 )  ->  <. A , 
( p `  1
) ,  C >.  = 
<. A ,  b ,  C >. )
4241eqeq2d 2454 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  |-  ( b  =  ( p ` 
1 )  ->  ( T  =  <. A , 
( p `  1
) ,  C >.  <->  T  =  <. A ,  b ,  C >. )
)
4342biimpcd 224 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  |-  ( T  =  <. A ,  ( p `  1 ) ,  C >.  ->  (
b  =  ( p `
 1 )  ->  T  =  <. A , 
b ,  C >. ) )
4443adantr 465 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  |-  ( ( T  =  <. A , 
( p `  1
) ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2 ) )  ->  ( b  =  ( p `  1
)  ->  T  =  <. A ,  b ,  C >. ) )
4544ad2antrr 725 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  |-  ( ( ( ( T  = 
<. A ,  ( p `
 1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A )  ->  ( b  =  ( p `  1
)  ->  T  =  <. A ,  b ,  C >. ) )
4645impcom 430 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31  |-  ( ( b  =  ( p `
 1 )  /\  ( ( ( T  =  <. A ,  ( p `  1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A ) )  ->  T  =  <. A ,  b ,  C >. )
47 simpl 457 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2 )  ->  f
( V Walks  E )
p )
4847adantl 466 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  |-  ( ( T  =  <. A , 
( p `  1
) ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2 ) )  ->  f ( V Walks 
E ) p )
4948ad2antrr 725 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  |-  ( ( ( ( T  = 
<. A ,  ( p `
 1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A )  ->  f ( V Walks 
E ) p )
5049adantl 466 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  |-  ( ( b  =  ( p `
 1 )  /\  ( ( ( T  =  <. A ,  ( p `  1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A ) )  ->  f ( V Walks  E ) p )
51 simpr 461 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2 )  ->  ( # `
 f )  =  2 )
5251adantl 466 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  |-  ( ( T  =  <. A , 
( p `  1
) ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2 ) )  ->  ( # `  f
)  =  2 )
5352ad2antrr 725 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  |-  ( ( ( ( T  = 
<. A ,  ( p `
 1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A )  ->  ( # `  f
)  =  2 )
5453adantl 466 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  |-  ( ( b  =  ( p `
 1 )  /\  ( ( ( T  =  <. A ,  ( p `  1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A ) )  ->  ( # `  f
)  =  2 )
55 eqcom 2445 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  |-  ( ( p `  0 )  =  A  <->  A  =  ( p `  0
) )
5655biimpi 194 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  |-  ( ( p `  0 )  =  A  ->  A  =  ( p ` 
0 ) )
5756adantl 466 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  |-  ( ( ( ( T  = 
<. A ,  ( p `
 1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A )  ->  A  =  ( p `  0 ) )
5857adantl 466 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  |-  ( ( b  =  ( p `
 1 )  /\  ( ( ( T  =  <. A ,  ( p `  1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A ) )  ->  A  =  ( p `  0
) )
59 simpl 457 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  |-  ( ( b  =  ( p `
 1 )  /\  ( ( ( T  =  <. A ,  ( p `  1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A ) )  ->  b  =  ( p `  1
) )
60 fveq2 5696 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40  |-  ( (
# `  f )  =  2  ->  (
p `  ( # `  f
) )  =  ( p `  2 ) )
6160eqeq1d 2451 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  |-  ( (
# `  f )  =  2  ->  (
( p `  ( # `
 f ) )  =  C  <->  ( p `  2 )  =  C ) )
62 eqcom 2445 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40  |-  ( ( p `  2 )  =  C  <->  C  =  ( p `  2
) )
6362biimpi 194 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  |-  ( ( p `  2 )  =  C  ->  C  =  ( p ` 
2 ) )
6461, 63syl6bi 228 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38  |-  ( (
# `  f )  =  2  ->  (
( p `  ( # `
 f ) )  =  C  ->  C  =  ( p ` 
2 ) ) )
6564adantl 466 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2 )  ->  (
( p `  ( # `
 f ) )  =  C  ->  C  =  ( p ` 
2 ) ) )
6665adantl 466 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  |-  ( ( T  =  <. A , 
( p `  1
) ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2 ) )  ->  ( ( p `
 ( # `  f
) )  =  C  ->  C  =  ( p `  2 ) ) )
6766imp 429 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  |-  ( ( ( T  =  <. A ,  ( p ` 
1 ) ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2 ) )  /\  ( p `
 ( # `  f
) )  =  C )  ->  C  =  ( p `  2
) )
6867adantr 465 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  |-  ( ( ( ( T  = 
<. A ,  ( p `
 1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A )  ->  C  =  ( p `  2 ) )
6968adantl 466 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  |-  ( ( b  =  ( p `
 1 )  /\  ( ( ( T  =  <. A ,  ( p `  1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A ) )  ->  C  =  ( p `  2
) )
7058, 59, 693jca 1168 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  |-  ( ( b  =  ( p `
 1 )  /\  ( ( ( T  =  <. A ,  ( p `  1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A ) )  ->  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) )
7150, 54, 703jca 1168 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31  |-  ( ( b  =  ( p `
 1 )  /\  ( ( ( T  =  <. A ,  ( p `  1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A ) )  ->  ( f
( V Walks  E )
p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )
7246, 71jca 532 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  |-  ( ( b  =  ( p `
 1 )  /\  ( ( ( T  =  <. A ,  ( p `  1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A ) )  ->  ( T  =  <. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) )
7372ex 434 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( b  =  ( p ` 
1 )  ->  (
( ( ( T  =  <. A ,  ( p `  1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A )  ->  ( T  = 
<. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) ) )
7473adantl 466 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2 )  /\  b  =  ( p `  1 ) )  ->  ( ( ( ( T  =  <. A ,  ( p ` 
1 ) ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2 ) )  /\  ( p `
 ( # `  f
) )  =  C )  /\  ( p `
 0 )  =  A )  ->  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) )
7529, 74rspcimedv 3080 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2 )  ->  (
( ( ( T  =  <. A ,  ( p `  1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A )  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) )
7675com12 31 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( ( ( T  = 
<. A ,  ( p `
 1 ) ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2 ) )  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( p `  0
)  =  A )  ->  ( ( f ( V Walks  E ) p  /\  ( # `  f )  =  2 )  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) ) )
7776exp41 610 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( T  =  <. A ,  ( p `  1 ) ,  C >.  ->  (
( f ( V Walks 
E ) p  /\  ( # `  f )  =  2 )  -> 
( ( p `  ( # `  f ) )  =  C  -> 
( ( p ` 
0 )  =  A  ->  ( ( f ( V Walks  E ) p  /\  ( # `  f )  =  2 )  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) ) ) ) ) )
7877com15 93 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2 )  ->  (
( f ( V Walks 
E ) p  /\  ( # `  f )  =  2 )  -> 
( ( p `  ( # `  f ) )  =  C  -> 
( ( p ` 
0 )  =  A  ->  ( T  = 
<. A ,  ( p `
 1 ) ,  C >.  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) ) ) ) ) )
7978pm2.43i 47 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2 )  ->  (
( p `  ( # `
 f ) )  =  C  ->  (
( p `  0
)  =  A  -> 
( T  =  <. A ,  ( p ` 
1 ) ,  C >.  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) ) ) )
8079ex 434 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( f ( V Walks  E ) p  ->  ( ( # `
 f )  =  2  ->  ( (
p `  ( # `  f
) )  =  C  ->  ( ( p `
 0 )  =  A  ->  ( T  =  <. A ,  ( p `  1 ) ,  C >.  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) ) ) ) ) )
8180com24 87 . . . . . . . . . . . . . . . . . . . . 21  |-  ( f ( V Walks  E ) p  ->  ( (
p `  0 )  =  A  ->  ( ( p `  ( # `  f ) )  =  C  ->  ( ( # `
 f )  =  2  ->  ( T  =  <. A ,  ( p `  1 ) ,  C >.  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) ) ) ) ) )
82813imp 1181 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( f ( V Walks  E
) p  /\  (
p `  0 )  =  A  /\  (
p `  ( # `  f
) )  =  C )  ->  ( ( # `
 f )  =  2  ->  ( T  =  <. A ,  ( p `  1 ) ,  C >.  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) ) ) )
8382adantr 465 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( f ( V Walks 
E ) p  /\  ( p `  0
)  =  A  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  ->  (
( # `  f )  =  2  ->  ( T  =  <. A , 
( p `  1
) ,  C >.  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) ) )
8483imp 429 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ( f ( V Walks  E ) p  /\  ( p ` 
0 )  =  A  /\  ( p `  ( # `  f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  /\  ( # `
 f )  =  2 )  ->  ( T  =  <. A , 
( p `  1
) ,  C >.  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) )
8539, 84sylbid 215 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( f ( V Walks  E ) p  /\  ( p ` 
0 )  =  A  /\  ( p `  ( # `  f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  /\  ( # `
 f )  =  2 )  ->  (
( T  e.  ( ( V  X.  V
)  X.  V )  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) )  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) )
8685ex 434 . . . . . . . . . . . . . . . 16  |-  ( ( ( f ( V Walks 
E ) p  /\  ( p `  0
)  =  A  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  ->  (
( # `  f )  =  2  ->  (
( T  e.  ( ( V  X.  V
)  X.  V )  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) )  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) ) )
8786com23 78 . . . . . . . . . . . . . . 15  |-  ( ( ( f ( V Walks 
E ) p  /\  ( p `  0
)  =  A  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
) )  ->  (
( T  e.  ( ( V  X.  V
)  X.  V )  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) )  -> 
( ( # `  f
)  =  2  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) ) )
8887ex 434 . . . . . . . . . . . . . 14  |-  ( ( f ( V Walks  E
) p  /\  (
p `  0 )  =  A  /\  (
p `  ( # `  f
) )  =  C )  ->  ( (
( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( ( T  e.  ( ( V  X.  V )  X.  V
)  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) )  -> 
( ( # `  f
)  =  2  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) ) ) )
8988com4t 85 . . . . . . . . . . . . 13  |-  ( ( T  e.  ( ( V  X.  V )  X.  V )  /\  ( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) )  ->  ( ( # `
 f )  =  2  ->  ( (
f ( V Walks  E
) p  /\  (
p `  0 )  =  A  /\  (
p `  ( # `  f
) )  =  C )  ->  ( (
( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) ) ) )
9089ex 434 . . . . . . . . . . . 12  |-  ( T  e.  ( ( V  X.  V )  X.  V )  ->  (
( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C )  ->  ( ( # `  f )  =  2  ->  ( ( f ( V Walks  E ) p  /\  ( p `
 0 )  =  A  /\  ( p `
 ( # `  f
) )  =  C )  ->  ( (
( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) ) ) ) )
9190com14 88 . . . . . . . . . . 11  |-  ( ( f ( V Walks  E
) p  /\  (
p `  0 )  =  A  /\  (
p `  ( # `  f
) )  =  C )  ->  ( (
( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C )  ->  ( ( # `  f )  =  2  ->  ( T  e.  ( ( V  X.  V )  X.  V
)  ->  ( (
( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) ) ) ) )
9291com23 78 . . . . . . . . . 10  |-  ( ( f ( V Walks  E
) p  /\  (
p `  0 )  =  A  /\  (
p `  ( # `  f
) )  =  C )  ->  ( ( # `
 f )  =  2  ->  ( (
( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C )  ->  ( T  e.  ( ( V  X.  V )  X.  V
)  ->  ( (
( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) ) ) ) )
93923imp 1181 . . . . . . . . 9  |-  ( ( ( f ( V Walks 
E ) p  /\  ( p `  0
)  =  A  /\  ( p `  ( # `
 f ) )  =  C )  /\  ( # `  f )  =  2  /\  (
( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) )  ->  ( T  e.  ( ( V  X.  V )  X.  V
)  ->  ( (
( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) ) )
9493impcom 430 . . . . . . . 8  |-  ( ( T  e.  ( ( V  X.  V )  X.  V )  /\  ( ( f ( V Walks  E ) p  /\  ( p ` 
0 )  =  A  /\  ( p `  ( # `  f ) )  =  C )  /\  ( # `  f
)  =  2  /\  ( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) )  ->  (
( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) ) )
9594com12 31 . . . . . . 7  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( ( T  e.  ( ( V  X.  V )  X.  V
)  /\  ( (
f ( V Walks  E
) p  /\  (
p `  0 )  =  A  /\  (
p `  ( # `  f
) )  =  C )  /\  ( # `  f )  =  2  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) ) )  ->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) )
9625adantr 465 . . . . . . . . . . . . . . . . 17  |-  ( ( ( A  e.  V  /\  C  e.  V
)  /\  b  e.  V )  ->  A  e.  V )
97 simpr 461 . . . . . . . . . . . . . . . . 17  |-  ( ( ( A  e.  V  /\  C  e.  V
)  /\  b  e.  V )  ->  b  e.  V )
9834adantr 465 . . . . . . . . . . . . . . . . 17  |-  ( ( ( A  e.  V  /\  C  e.  V
)  /\  b  e.  V )  ->  C  e.  V )
9996, 97, 983jca 1168 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  V  /\  C  e.  V
)  /\  b  e.  V )  ->  ( A  e.  V  /\  b  e.  V  /\  C  e.  V )
)
100 otel3xp 30133 . . . . . . . . . . . . . . . 16  |-  ( ( T  =  <. A , 
b ,  C >.  /\  ( A  e.  V  /\  b  e.  V  /\  C  e.  V
) )  ->  T  e.  ( ( V  X.  V )  X.  V
) )
10199, 100sylan2 474 . . . . . . . . . . . . . . 15  |-  ( ( T  =  <. A , 
b ,  C >.  /\  ( ( A  e.  V  /\  C  e.  V )  /\  b  e.  V ) )  ->  T  e.  ( ( V  X.  V )  X.  V ) )
102101ex 434 . . . . . . . . . . . . . 14  |-  ( T  =  <. A ,  b ,  C >.  ->  (
( ( A  e.  V  /\  C  e.  V )  /\  b  e.  V )  ->  T  e.  ( ( V  X.  V )  X.  V
) ) )
103102adantr 465 . . . . . . . . . . . . 13  |-  ( ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  ->  (
( ( A  e.  V  /\  C  e.  V )  /\  b  e.  V )  ->  T  e.  ( ( V  X.  V )  X.  V
) ) )
104103com12 31 . . . . . . . . . . . 12  |-  ( ( ( A  e.  V  /\  C  e.  V
)  /\  b  e.  V )  ->  (
( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  ->  T  e.  ( ( V  X.  V )  X.  V ) ) )
105104adantll 713 . . . . . . . . . . 11  |-  ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  ->  (
( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  ->  T  e.  ( ( V  X.  V )  X.  V ) ) )
106105imp 429 . . . . . . . . . 10  |-  ( ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  /\  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) )  ->  T  e.  ( ( V  X.  V )  X.  V ) )
107 id 22 . . . . . . . . . . . . . . 15  |-  ( f ( V Walks  E ) p  ->  f ( V Walks  E ) p )
1081073ad2ant1 1009 . . . . . . . . . . . . . 14  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) )  ->  f ( V Walks 
E ) p )
109108adantl 466 . . . . . . . . . . . . 13  |-  ( ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  ->  f
( V Walks  E )
p )
110109adantl 466 . . . . . . . . . . . 12  |-  ( ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  /\  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) )  -> 
f ( V Walks  E
) p )
111 eqcom 2445 . . . . . . . . . . . . . . . . 17  |-  ( A  =  ( p ` 
0 )  <->  ( p `  0 )  =  A )
112111biimpi 194 . . . . . . . . . . . . . . . 16  |-  ( A  =  ( p ` 
0 )  ->  (
p `  0 )  =  A )
1131123ad2ant1 1009 . . . . . . . . . . . . . . 15  |-  ( ( A  =  ( p `
 0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) )  ->  ( p ` 
0 )  =  A )
1141133ad2ant3 1011 . . . . . . . . . . . . . 14  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) )  ->  ( p ` 
0 )  =  A )
115114adantl 466 . . . . . . . . . . . . 13  |-  ( ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  ->  (
p `  0 )  =  A )
116115adantl 466 . . . . . . . . . . . 12  |-  ( ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  /\  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) )  -> 
( p `  0
)  =  A )
117 eqcom 2445 . . . . . . . . . . . . . . . . . . 19  |-  ( C  =  ( p ` 
2 )  <->  ( p `  2 )  =  C )
118117biimpi 194 . . . . . . . . . . . . . . . . . 18  |-  ( C  =  ( p ` 
2 )  ->  (
p `  2 )  =  C )
1191183ad2ant3 1011 . . . . . . . . . . . . . . . . 17  |-  ( ( A  =  ( p `
 0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) )  ->  ( p ` 
2 )  =  C )
120119, 61syl5ibr 221 . . . . . . . . . . . . . . . 16  |-  ( (
# `  f )  =  2  ->  (
( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) )  ->  ( p `  ( # `  f
) )  =  C ) )
121120a1i 11 . . . . . . . . . . . . . . 15  |-  ( f ( V Walks  E ) p  ->  ( ( # `
 f )  =  2  ->  ( ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) )  ->  ( p `  ( # `  f ) )  =  C ) ) )
1221213imp 1181 . . . . . . . . . . . . . 14  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) )  ->  ( p `  ( # `  f ) )  =  C )
123122adantl 466 . . . . . . . . . . . . 13  |-  ( ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  ->  (
p `  ( # `  f
) )  =  C )
124123adantl 466 . . . . . . . . . . . 12  |-  ( ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  /\  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) )  -> 
( p `  ( # `
 f ) )  =  C )
125110, 116, 1243jca 1168 . . . . . . . . . . 11  |-  ( ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  /\  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) )  -> 
( f ( V Walks 
E ) p  /\  ( p `  0
)  =  A  /\  ( p `  ( # `
 f ) )  =  C ) )
126 id 22 . . . . . . . . . . . . . 14  |-  ( (
# `  f )  =  2  ->  ( # `
 f )  =  2 )
1271263ad2ant2 1010 . . . . . . . . . . . . 13  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) )  ->  ( # `  f
)  =  2 )
128127adantl 466 . . . . . . . . . . . 12  |-  ( ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  ->  ( # `
 f )  =  2 )
129128adantl 466 . . . . . . . . . . 11  |-  ( ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  /\  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) )  -> 
( # `  f )  =  2 )
13099adantll 713 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  ->  ( A  e.  V  /\  b  e.  V  /\  C  e.  V )
)
131 oteqimp 30134 . . . . . . . . . . . . . . . . 17  |-  ( T  =  <. A ,  b ,  C >.  ->  (
( A  e.  V  /\  b  e.  V  /\  C  e.  V
)  ->  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  b  /\  ( 2nd `  T )  =  C ) ) )
132130, 131syl5 32 . . . . . . . . . . . . . . . 16  |-  ( T  =  <. A ,  b ,  C >.  ->  (
( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  ->  (
( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  b  /\  ( 2nd `  T
)  =  C ) ) )
133 eqeq2 2452 . . . . . . . . . . . . . . . . . 18  |-  ( b  =  ( p ` 
1 )  ->  (
( 2nd `  ( 1st `  T ) )  =  b  <->  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 ) ) )
1341333anbi2d 1294 . . . . . . . . . . . . . . . . 17  |-  ( b  =  ( p ` 
1 )  ->  (
( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  b  /\  ( 2nd `  T
)  =  C )  <-> 
( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) )
135134imbi2d 316 . . . . . . . . . . . . . . . 16  |-  ( b  =  ( p ` 
1 )  ->  (
( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V
) )  /\  b  e.  V )  ->  (
( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  b  /\  ( 2nd `  T
)  =  C ) )  <->  ( ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  /\  b  e.  V )  ->  ( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) ) )
136132, 135syl5ib 219 . . . . . . . . . . . . . . 15  |-  ( b  =  ( p ` 
1 )  ->  ( T  =  <. A , 
b ,  C >.  -> 
( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V
) )  /\  b  e.  V )  ->  (
( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) ) )
1371363ad2ant2 1010 . . . . . . . . . . . . . 14  |-  ( ( A  =  ( p `
 0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) )  ->  ( T  = 
<. A ,  b ,  C >.  ->  ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  ->  (
( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) ) )
1381373ad2ant3 1011 . . . . . . . . . . . . 13  |-  ( ( f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) )  ->  ( T  = 
<. A ,  b ,  C >.  ->  ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  ->  (
( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) ) )
139138impcom 430 . . . . . . . . . . . 12  |-  ( ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  ->  (
( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  ->  (
( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) )
140139impcom 430 . . . . . . . . . . 11  |-  ( ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  /\  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) )  -> 
( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) )
141125, 129, 1403jca 1168 . . . . . . . . . 10  |-  ( ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  /\  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) )  -> 
( ( f ( V Walks  E ) p  /\  ( p ` 
0 )  =  A  /\  ( p `  ( # `  f ) )  =  C )  /\  ( # `  f
)  =  2  /\  ( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) )
142106, 141jca 532 . . . . . . . . 9  |-  ( ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  /\  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) )  -> 
( T  e.  ( ( V  X.  V
)  X.  V )  /\  ( ( f ( V Walks  E ) p  /\  ( p `
 0 )  =  A  /\  ( p `
 ( # `  f
) )  =  C )  /\  ( # `  f )  =  2  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) ) ) )
143142ex 434 . . . . . . . 8  |-  ( ( ( ( V  e.  X  /\  E  e.  Y )  /\  ( A  e.  V  /\  C  e.  V )
)  /\  b  e.  V )  ->  (
( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  -> 
( T  e.  ( ( V  X.  V
)  X.  V )  /\  ( ( f ( V Walks  E ) p  /\  ( p `
 0 )  =  A  /\  ( p `
 ( # `  f
) )  =  C )  /\  ( # `  f )  =  2  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) ) ) ) )
144143rexlimdva 2846 . . . . . . 7  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( E. b  e.  V  ( T  = 
<. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) )  ->  ( T  e.  ( ( V  X.  V )  X.  V
)  /\  ( (
f ( V Walks  E
) p  /\  (
p `  0 )  =  A  /\  (
p `  ( # `  f
) )  =  C )  /\  ( # `  f )  =  2  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) ) ) ) )
14595, 144impbid 191 . . . . . 6  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( ( T  e.  ( ( V  X.  V )  X.  V
)  /\  ( (
f ( V Walks  E
) p  /\  (
p `  0 )  =  A  /\  (
p `  ( # `  f
) )  =  C )  /\  ( # `  f )  =  2  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) ) )  <->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) )
14624, 145bitrd 253 . . . . 5  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( ( T  e.  ( ( V  X.  V )  X.  V
)  /\  ( f
( A ( V WalkOn  E ) C ) p  /\  ( # `  f )  =  2  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) ) )  <->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) )
1471462exbidv 1682 . . . 4  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( E. f E. p ( T  e.  ( ( V  X.  V )  X.  V
)  /\  ( f
( A ( V WalkOn  E ) C ) p  /\  ( # `  f )  =  2  /\  ( ( 1st `  ( 1st `  T
) )  =  A  /\  ( 2nd `  ( 1st `  T ) )  =  ( p ` 
1 )  /\  ( 2nd `  T )  =  C ) ) )  <->  E. f E. p E. b  e.  V  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) ) )
148 19.42vv 1926 . . . 4  |-  ( E. f E. p ( T  e.  ( ( V  X.  V )  X.  V )  /\  ( f ( A ( V WalkOn  E ) C ) p  /\  ( # `  f )  =  2  /\  (
( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) )  <->  ( T  e.  ( ( V  X.  V )  X.  V
)  /\  E. f E. p ( f ( A ( V WalkOn  E
) C ) p  /\  ( # `  f
)  =  2  /\  ( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) ) )
149 rexcom4 2997 . . . . 5  |-  ( E. b  e.  V  E. f E. p ( T  =  <. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) )  <->  E. f E. b  e.  V  E. p
( T  =  <. A ,  b ,  C >.  /\  ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) )
150 rexcom4 2997 . . . . . 6  |-  ( E. b  e.  V  E. p ( T  = 
<. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) )  <->  E. p E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) )
151150exbii 1634 . . . . 5  |-  ( E. f E. b  e.  V  E. p ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  <->  E. f E. p E. b  e.  V  ( T  = 
<. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) )
152149, 151bitr2i 250 . . . 4  |-  ( E. f E. p E. b  e.  V  ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  <->  E. b  e.  V  E. f E. p ( T  = 
<. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) )
153147, 148, 1523bitr3g 287 . . 3  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( ( T  e.  ( ( V  X.  V )  X.  V
)  /\  E. f E. p ( f ( A ( V WalkOn  E
) C ) p  /\  ( # `  f
)  =  2  /\  ( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) )  <->  E. b  e.  V  E. f E. p ( T  = 
<. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) ) ) )
154 19.42vv 1926 . . . 4  |-  ( E. f E. p ( T  =  <. A , 
b ,  C >.  /\  ( f ( V Walks 
E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) )  <->  ( T  =  <. A ,  b ,  C >.  /\  E. f E. p ( f ( V Walks  E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0
)  /\  b  =  ( p `  1
)  /\  C  =  ( p `  2
) ) ) ) )
155154rexbii 2745 . . 3  |-  ( E. b  e.  V  E. f E. p ( T  =  <. A ,  b ,  C >.  /\  (
f ( V Walks  E
) p  /\  ( # `
 f )  =  2  /\  ( A  =  ( p ` 
0 )  /\  b  =  ( p ` 
1 )  /\  C  =  ( p ` 
2 ) ) ) )  <->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  E. f E. p ( f ( V Walks  E ) p  /\  ( # `  f
)  =  2  /\  ( A  =  ( p `  0 )  /\  b  =  ( p `  1 )  /\  C  =  ( p `  2 ) ) ) ) )
156153, 155syl6bb 261 . 2  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( ( T  e.  ( ( V  X.  V )  X.  V
)  /\  E. f E. p ( f ( A ( V WalkOn  E
) C ) p  /\  ( # `  f
)  =  2  /\  ( ( 1st `  ( 1st `  T ) )  =  A  /\  ( 2nd `  ( 1st `  T
) )  =  ( p `  1 )  /\  ( 2nd `  T
)  =  C ) ) )  <->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  E. f E. p ( f ( V Walks  E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0
)  /\  b  =  ( p `  1
)  /\  C  =  ( p `  2
) ) ) ) ) )
15714, 156bitrd 253 1  |-  ( ( ( V  e.  X  /\  E  e.  Y
)  /\  ( A  e.  V  /\  C  e.  V ) )  -> 
( T  e.  ( A ( V 2WalksOnOt  E ) C )  <->  E. b  e.  V  ( T  =  <. A ,  b ,  C >.  /\  E. f E. p ( f ( V Walks  E ) p  /\  ( # `  f )  =  2  /\  ( A  =  ( p `  0
)  /\  b  =  ( p `  1
)  /\  C  =  ( p `  2
) ) ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 965    = wceq 1369   E.wex 1586    e. wcel 1756   E.wrex 2721   {crab 2724   _Vcvv 2977   <.cotp 3890   class class class wbr 4297    X. cxp 4843   ` cfv 5423  (class class class)co 6096   1stc1st 6580   2ndc2nd 6581   0cc0 9287   1c1 9288   2c2 10376   #chash 12108   Walks cwalk 23410   WalkOn cwlkon 23414   2WalksOnOt c2wlkonot 30379
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 2423  ax-rep 4408  ax-sep 4418  ax-nul 4426  ax-pow 4475  ax-pr 4536  ax-un 6377  ax-cnex 9343  ax-resscn 9344  ax-1cn 9345  ax-icn 9346  ax-addcl 9347  ax-addrcl 9348  ax-mulcl 9349  ax-mulrcl 9350  ax-mulcom 9351  ax-addass 9352  ax-mulass 9353  ax-distr 9354  ax-i2m1 9355  ax-1ne0 9356  ax-1rid 9357  ax-rnegex 9358  ax-rrecex 9359  ax-cnre 9360  ax-pre-lttri 9361  ax-pre-lttrn 9362  ax-pre-ltadd 9363  ax-pre-mulgt0 9364
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 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2573  df-ne 2613  df-nel 2614  df-ral 2725  df-rex 2726  df-reu 2727  df-rab 2729  df-v 2979  df-sbc 3192  df-csb 3294  df-dif 3336  df-un 3338  df-in 3340  df-ss 3347  df-pss 3349  df-nul 3643  df-if 3797  df-pw 3867  df-sn 3883  df-pr 3885  df-tp 3887  df-op 3889  df-ot 3891  df-uni 4097  df-int 4134  df-iun 4178  df-br 4298  df-opab 4356  df-mpt 4357  df-tr 4391  df-eprel 4637  df-id 4641  df-po 4646  df-so 4647  df-fr 4684  df-we 4686  df-ord 4727  df-on 4728  df-lim 4729  df-suc 4730  df-xp 4851  df-rel 4852  df-cnv 4853  df-co 4854  df-dm 4855  df-rn 4856  df-res 4857  df-ima 4858  df-iota 5386  df-fun 5425  df-fn 5426  df-f 5427  df-f1 5428  df-fo 5429  df-f1o 5430  df-fv 5431  df-riota 6057  df-ov 6099  df-oprab 6100  df-mpt2 6101  df-om 6482  df-1st 6582  df-2nd 6583  df-recs 6837  df-rdg 6871  df-1o 6925  df-oadd 6929  df-er 7106  df-map 7221  df-pm 7222  df-en 7316  df-dom 7317  df-sdom 7318  df-fin 7319  df-pnf 9425  df-mnf 9426  df-xr 9427  df-ltxr 9428  df-le 9429  df-sub 9602  df-neg 9603  df-nn 10328  df-2 10385  df-n0 10585  df-z 10652  df-uz 10867  df-fz 11443  df-fzo 11554  df-word 12234  df-wlk 23420  df-wlkon 23426  df-2wlkonot 30382
This theorem is referenced by:  el2wlkonotot0  30396  el2wlksot  30404  frg2wot1  30655  frg2woteq  30658
  Copyright terms: Public domain W3C validator