Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fvtransport Structured version   Unicode version

Theorem fvtransport 25958
Description: Calculate the value of the TransportTo function. This function takes four points,  A through  D, where  C and  D are distinct. It then returns the point that extends  C D by the length of  A B. (Contributed by Scott Fenton, 18-Oct-2013.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
fvtransport  |-  ( ( N  e.  NN  /\  ( ( A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D ) )  -> 
( <. A ,  B >.TransportTo <. C ,  D >. )  =  ( iota_ r  e.  ( EE `  N
) ( D  Btwn  <. C ,  r >.  /\ 
<. D ,  r >.Cgr <. A ,  B >. ) ) )
Distinct variable groups:    N, r    A, r    B, r    C, r    D, r

Proof of Theorem fvtransport
Dummy variables  n  p  q  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-ov 6076 . 2  |-  ( <. A ,  B >.TransportTo <. C ,  D >. )  =  (TransportTo `  <. <. A ,  B >. ,  <. C ,  D >. >. )
2 opelxpi 4902 . . . . . . 7  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N ) )  ->  <. A ,  B >.  e.  ( ( EE `  N )  X.  ( EE `  N ) ) )
323ad2ant1 978 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  <. A ,  B >.  e.  ( ( EE `  N )  X.  ( EE `  N ) ) )
4 opelxpi 4902 . . . . . . 7  |-  ( ( C  e.  ( EE
`  N )  /\  D  e.  ( EE `  N ) )  ->  <. C ,  D >.  e.  ( ( EE `  N )  X.  ( EE `  N ) ) )
543ad2ant2 979 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  <. C ,  D >.  e.  ( ( EE `  N )  X.  ( EE `  N ) ) )
6 simp3 959 . . . . . . 7  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  C  =/=  D )
7 op1stg 6351 . . . . . . . 8  |-  ( ( C  e.  ( EE
`  N )  /\  D  e.  ( EE `  N ) )  -> 
( 1st `  <. C ,  D >. )  =  C )
873ad2ant2 979 . . . . . . 7  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  ( 1st `  <. C ,  D >. )  =  C )
9 op2ndg 6352 . . . . . . . 8  |-  ( ( C  e.  ( EE
`  N )  /\  D  e.  ( EE `  N ) )  -> 
( 2nd `  <. C ,  D >. )  =  D )
1093ad2ant2 979 . . . . . . 7  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  ( 2nd `  <. C ,  D >. )  =  D )
116, 8, 103netr4d 2625 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. ) )
123, 5, 113jca 1134 . . . . 5  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  ( <. A ,  B >.  e.  ( ( EE `  N )  X.  ( EE `  N ) )  /\  <. C ,  D >.  e.  ( ( EE
`  N )  X.  ( EE `  N
) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. ) ) )
138opeq1d 3982 . . . . . . . . 9  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  <. ( 1st `  <. C ,  D >. ) ,  r >.  =  <. C ,  r
>. )
1410, 13breq12d 4217 . . . . . . . 8  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  (
( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  <->  D  Btwn  <. C ,  r >. ) )
1510opeq1d 3982 . . . . . . . . 9  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  <. ( 2nd `  <. C ,  D >. ) ,  r >.  =  <. D ,  r
>. )
1615breq1d 4214 . . . . . . . 8  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  ( <. ( 2nd `  <. C ,  D >. ) ,  r >.Cgr <. A ,  B >. 
<-> 
<. D ,  r >.Cgr <. A ,  B >. ) )
1714, 16anbi12d 692 . . . . . . 7  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  (
( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. )  <->  ( D  Btwn  <. C ,  r >.  /\ 
<. D ,  r >.Cgr <. A ,  B >. ) ) )
1817riotabidv 6543 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  ( iota_ r  e.  ( EE
`  N ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) ) )
1918eqcomd 2440 . . . . 5  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  ( iota_ r  e.  ( EE
`  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  N ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) )
2012, 19jca 519 . . . 4  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D )  ->  (
( <. A ,  B >.  e.  ( ( EE
`  N )  X.  ( EE `  N
) )  /\  <. C ,  D >.  e.  ( ( EE `  N
)  X.  ( EE
`  N ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
)  /\  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  N ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) )
21 fveq2 5720 . . . . . . . . 9  |-  ( n  =  N  ->  ( EE `  n )  =  ( EE `  N
) )
2221, 21xpeq12d 4895 . . . . . . . 8  |-  ( n  =  N  ->  (
( EE `  n
)  X.  ( EE
`  n ) )  =  ( ( EE
`  N )  X.  ( EE `  N
) ) )
2322eleq2d 2502 . . . . . . 7  |-  ( n  =  N  ->  ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  <->  <. A ,  B >.  e.  ( ( EE `  N )  X.  ( EE `  N ) ) ) )
2422eleq2d 2502 . . . . . . 7  |-  ( n  =  N  ->  ( <. C ,  D >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  <->  <. C ,  D >.  e.  ( ( EE `  N )  X.  ( EE `  N ) ) ) )
2523, 243anbi12d 1255 . . . . . 6  |-  ( n  =  N  ->  (
( <. A ,  B >.  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  <. C ,  D >.  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
)  <->  ( <. A ,  B >.  e.  ( ( EE `  N )  X.  ( EE `  N ) )  /\  <. C ,  D >.  e.  ( ( EE `  N )  X.  ( EE `  N ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
) ) )
2621riotaeqdv 6542 . . . . . . 7  |-  ( n  =  N  ->  ( iota_ r  e.  ( EE
`  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  N ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) )
2726eqeq2d 2446 . . . . . 6  |-  ( n  =  N  ->  (
( iota_ r  e.  ( EE `  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) )  <->  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  N ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) )
2825, 27anbi12d 692 . . . . 5  |-  ( n  =  N  ->  (
( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  <. C ,  D >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
)  /\  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) )  <->  ( ( <. A ,  B >.  e.  ( ( EE `  N )  X.  ( EE `  N ) )  /\  <. C ,  D >.  e.  ( ( EE
`  N )  X.  ( EE `  N
) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. ) )  /\  ( iota_ r  e.  ( EE
`  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  N ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) ) )
2928rspcev 3044 . . . 4  |-  ( ( N  e.  NN  /\  ( ( <. A ,  B >.  e.  ( ( EE `  N )  X.  ( EE `  N ) )  /\  <. C ,  D >.  e.  ( ( EE `  N )  X.  ( EE `  N ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
)  /\  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  N ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) )  ->  E. n  e.  NN  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  <. C ,  D >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
)  /\  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) )
3020, 29sylan2 461 . . 3  |-  ( ( N  e.  NN  /\  ( ( A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D ) )  ->  E. n  e.  NN  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  <. C ,  D >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
)  /\  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) )
31 df-br 4205 . . . . 5  |-  ( <. <. A ,  B >. , 
<. C ,  D >. >.TransportTo (
iota_ r  e.  ( EE `  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) )  <->  <. <. <. A ,  B >. ,  <. C ,  D >. >. ,  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) ) >.  e. TransportTo )
32 df-transport 25956 . . . . . 6  |- TransportTo  =  { <. <. p ,  q
>. ,  x >.  |  E. n  e.  NN  ( ( p  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  q  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  q
)  =/=  ( 2nd `  q ) )  /\  x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  q ) 
Btwn  <. ( 1st `  q
) ,  r >.  /\  <. ( 2nd `  q
) ,  r >.Cgr p ) ) ) }
3332eleq2i 2499 . . . . 5  |-  ( <. <. <. A ,  B >. ,  <. C ,  D >. >. ,  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) ) >.  e. TransportTo  <->  <. <. <. A ,  B >. ,  <. C ,  D >. >. ,  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) ) >.  e.  { <. <. p ,  q
>. ,  x >.  |  E. n  e.  NN  ( ( p  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  q  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  q
)  =/=  ( 2nd `  q ) )  /\  x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  q ) 
Btwn  <. ( 1st `  q
) ,  r >.  /\  <. ( 2nd `  q
) ,  r >.Cgr p ) ) ) } )
34 opex 4419 . . . . . 6  |-  <. A ,  B >.  e.  _V
35 opex 4419 . . . . . 6  |-  <. C ,  D >.  e.  _V
36 riotaex 6545 . . . . . 6  |-  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) )  e.  _V
37 eleq1 2495 . . . . . . . . . 10  |-  ( p  =  <. A ,  B >.  ->  ( p  e.  ( ( EE `  n )  X.  ( EE `  n ) )  <->  <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) ) ) )
38373anbi1d 1258 . . . . . . . . 9  |-  ( p  =  <. A ,  B >.  ->  ( ( p  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  q  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  ( 1st `  q
)  =/=  ( 2nd `  q ) )  <->  ( <. A ,  B >.  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  q  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  q
)  =/=  ( 2nd `  q ) ) ) )
39 breq2 4208 . . . . . . . . . . . 12  |-  ( p  =  <. A ,  B >.  ->  ( <. ( 2nd `  q ) ,  r >.Cgr p  <->  <. ( 2nd `  q ) ,  r
>.Cgr <. A ,  B >. ) )
4039anbi2d 685 . . . . . . . . . . 11  |-  ( p  =  <. A ,  B >.  ->  ( ( ( 2nd `  q ) 
Btwn  <. ( 1st `  q
) ,  r >.  /\  <. ( 2nd `  q
) ,  r >.Cgr p )  <->  ( ( 2nd `  q )  Btwn  <.
( 1st `  q
) ,  r >.  /\  <. ( 2nd `  q
) ,  r >.Cgr <. A ,  B >. ) ) )
4140riotabidv 6543 . . . . . . . . . 10  |-  ( p  =  <. A ,  B >.  ->  ( iota_ r  e.  ( EE `  n
) ( ( 2nd `  q )  Btwn  <. ( 1st `  q ) ,  r >.  /\  <. ( 2nd `  q ) ,  r >.Cgr p ) )  =  ( iota_ r  e.  ( EE `  n
) ( ( 2nd `  q )  Btwn  <. ( 1st `  q ) ,  r >.  /\  <. ( 2nd `  q ) ,  r >.Cgr <. A ,  B >. ) ) )
4241eqeq2d 2446 . . . . . . . . 9  |-  ( p  =  <. A ,  B >.  ->  ( x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  q
)  Btwn  <. ( 1st `  q ) ,  r
>.  /\  <. ( 2nd `  q
) ,  r >.Cgr p ) )  <->  x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  q
)  Btwn  <. ( 1st `  q ) ,  r
>.  /\  <. ( 2nd `  q
) ,  r >.Cgr <. A ,  B >. ) ) ) )
4338, 42anbi12d 692 . . . . . . . 8  |-  ( p  =  <. A ,  B >.  ->  ( ( ( p  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  q  e.  ( ( EE `  n )  X.  ( EE `  n
) )  /\  ( 1st `  q )  =/=  ( 2nd `  q
) )  /\  x  =  ( iota_ r  e.  ( EE `  n
) ( ( 2nd `  q )  Btwn  <. ( 1st `  q ) ,  r >.  /\  <. ( 2nd `  q ) ,  r >.Cgr p ) ) )  <->  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  q  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  q
)  =/=  ( 2nd `  q ) )  /\  x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  q ) 
Btwn  <. ( 1st `  q
) ,  r >.  /\  <. ( 2nd `  q
) ,  r >.Cgr <. A ,  B >. ) ) ) ) )
4443rexbidv 2718 . . . . . . 7  |-  ( p  =  <. A ,  B >.  ->  ( E. n  e.  NN  ( ( p  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  q  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  ( 1st `  q
)  =/=  ( 2nd `  q ) )  /\  x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  q ) 
Btwn  <. ( 1st `  q
) ,  r >.  /\  <. ( 2nd `  q
) ,  r >.Cgr p ) ) )  <->  E. n  e.  NN  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  q  e.  ( ( EE `  n )  X.  ( EE `  n
) )  /\  ( 1st `  q )  =/=  ( 2nd `  q
) )  /\  x  =  ( iota_ r  e.  ( EE `  n
) ( ( 2nd `  q )  Btwn  <. ( 1st `  q ) ,  r >.  /\  <. ( 2nd `  q ) ,  r >.Cgr <. A ,  B >. ) ) ) ) )
45 eleq1 2495 . . . . . . . . . 10  |-  ( q  =  <. C ,  D >.  ->  ( q  e.  ( ( EE `  n )  X.  ( EE `  n ) )  <->  <. C ,  D >.  e.  ( ( EE `  n )  X.  ( EE `  n ) ) ) )
46 fveq2 5720 . . . . . . . . . . 11  |-  ( q  =  <. C ,  D >.  ->  ( 1st `  q
)  =  ( 1st `  <. C ,  D >. ) )
47 fveq2 5720 . . . . . . . . . . 11  |-  ( q  =  <. C ,  D >.  ->  ( 2nd `  q
)  =  ( 2nd `  <. C ,  D >. ) )
4846, 47neeq12d 2613 . . . . . . . . . 10  |-  ( q  =  <. C ,  D >.  ->  ( ( 1st `  q )  =/=  ( 2nd `  q )  <->  ( 1st ` 
<. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
) )
4945, 483anbi23d 1257 . . . . . . . . 9  |-  ( q  =  <. C ,  D >.  ->  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  q  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  q
)  =/=  ( 2nd `  q ) )  <->  ( <. A ,  B >.  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  <. C ,  D >.  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. ) ) ) )
5046opeq1d 3982 . . . . . . . . . . . . 13  |-  ( q  =  <. C ,  D >.  ->  <. ( 1st `  q
) ,  r >.  =  <. ( 1st `  <. C ,  D >. ) ,  r >. )
5147, 50breq12d 4217 . . . . . . . . . . . 12  |-  ( q  =  <. C ,  D >.  ->  ( ( 2nd `  q )  Btwn  <. ( 1st `  q ) ,  r >.  <->  ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >. )
)
5247opeq1d 3982 . . . . . . . . . . . . 13  |-  ( q  =  <. C ,  D >.  ->  <. ( 2nd `  q
) ,  r >.  =  <. ( 2nd `  <. C ,  D >. ) ,  r >. )
5352breq1d 4214 . . . . . . . . . . . 12  |-  ( q  =  <. C ,  D >.  ->  ( <. ( 2nd `  q ) ,  r >.Cgr <. A ,  B >.  <->  <. ( 2nd `  <. C ,  D >. ) ,  r >.Cgr <. A ,  B >. ) )
5451, 53anbi12d 692 . . . . . . . . . . 11  |-  ( q  =  <. C ,  D >.  ->  ( ( ( 2nd `  q ) 
Btwn  <. ( 1st `  q
) ,  r >.  /\  <. ( 2nd `  q
) ,  r >.Cgr <. A ,  B >. )  <-> 
( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) )
5554riotabidv 6543 . . . . . . . . . 10  |-  ( q  =  <. C ,  D >.  ->  ( iota_ r  e.  ( EE `  n
) ( ( 2nd `  q )  Btwn  <. ( 1st `  q ) ,  r >.  /\  <. ( 2nd `  q ) ,  r >.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) )
5655eqeq2d 2446 . . . . . . . . 9  |-  ( q  =  <. C ,  D >.  ->  ( x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  q
)  Btwn  <. ( 1st `  q ) ,  r
>.  /\  <. ( 2nd `  q
) ,  r >.Cgr <. A ,  B >. ) )  <->  x  =  ( iota_ r  e.  ( EE
`  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) )
5749, 56anbi12d 692 . . . . . . . 8  |-  ( q  =  <. C ,  D >.  ->  ( ( (
<. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  q  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  q
)  =/=  ( 2nd `  q ) )  /\  x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  q ) 
Btwn  <. ( 1st `  q
) ,  r >.  /\  <. ( 2nd `  q
) ,  r >.Cgr <. A ,  B >. ) ) )  <->  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  <. C ,  D >.  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. ) )  /\  x  =  ( iota_ r  e.  ( EE `  n
) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r >.Cgr <. A ,  B >. ) ) ) ) )
5857rexbidv 2718 . . . . . . 7  |-  ( q  =  <. C ,  D >.  ->  ( E. n  e.  NN  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  q  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  q
)  =/=  ( 2nd `  q ) )  /\  x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  q ) 
Btwn  <. ( 1st `  q
) ,  r >.  /\  <. ( 2nd `  q
) ,  r >.Cgr <. A ,  B >. ) ) )  <->  E. n  e.  NN  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  <. C ,  D >.  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. ) )  /\  x  =  ( iota_ r  e.  ( EE `  n
) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r >.Cgr <. A ,  B >. ) ) ) ) )
59 eqeq1 2441 . . . . . . . . 9  |-  ( x  =  ( iota_ r  e.  ( EE `  N
) ( D  Btwn  <. C ,  r >.  /\ 
<. D ,  r >.Cgr <. A ,  B >. ) )  ->  ( x  =  ( iota_ r  e.  ( EE `  n
) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r >.Cgr <. A ,  B >. ) )  <->  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) )
6059anbi2d 685 . . . . . . . 8  |-  ( x  =  ( iota_ r  e.  ( EE `  N
) ( D  Btwn  <. C ,  r >.  /\ 
<. D ,  r >.Cgr <. A ,  B >. ) )  ->  ( (
( <. A ,  B >.  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  <. C ,  D >.  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
)  /\  x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) )  <->  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  <. C ,  D >.  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. ) )  /\  ( iota_ r  e.  ( EE
`  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) ) )
6160rexbidv 2718 . . . . . . 7  |-  ( x  =  ( iota_ r  e.  ( EE `  N
) ( D  Btwn  <. C ,  r >.  /\ 
<. D ,  r >.Cgr <. A ,  B >. ) )  ->  ( E. n  e.  NN  (
( <. A ,  B >.  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  <. C ,  D >.  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
)  /\  x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) )  <->  E. n  e.  NN  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  <. C ,  D >.  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. ) )  /\  ( iota_ r  e.  ( EE
`  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) ) )
6244, 58, 61eloprabg 6153 . . . . . 6  |-  ( (
<. A ,  B >.  e. 
_V  /\  <. C ,  D >.  e.  _V  /\  ( iota_ r  e.  ( EE `  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) )  e.  _V )  ->  ( <. <. <. A ,  B >. ,  <. C ,  D >. >. ,  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) ) >.  e.  { <. <. p ,  q
>. ,  x >.  |  E. n  e.  NN  ( ( p  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  q  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  q
)  =/=  ( 2nd `  q ) )  /\  x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  q ) 
Btwn  <. ( 1st `  q
) ,  r >.  /\  <. ( 2nd `  q
) ,  r >.Cgr p ) ) ) }  <->  E. n  e.  NN  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  <. C ,  D >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
)  /\  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) ) )
6334, 35, 36, 62mp3an 1279 . . . . 5  |-  ( <. <. <. A ,  B >. ,  <. C ,  D >. >. ,  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) ) >.  e.  { <. <. p ,  q
>. ,  x >.  |  E. n  e.  NN  ( ( p  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  q  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  q
)  =/=  ( 2nd `  q ) )  /\  x  =  ( iota_ r  e.  ( EE `  n ) ( ( 2nd `  q ) 
Btwn  <. ( 1st `  q
) ,  r >.  /\  <. ( 2nd `  q
) ,  r >.Cgr p ) ) ) }  <->  E. n  e.  NN  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  <. C ,  D >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
)  /\  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) )
6431, 33, 633bitri 263 . . . 4  |-  ( <. <. A ,  B >. , 
<. C ,  D >. >.TransportTo (
iota_ r  e.  ( EE `  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) )  <->  E. n  e.  NN  ( ( <. A ,  B >.  e.  ( ( EE `  n )  X.  ( EE `  n ) )  /\  <. C ,  D >.  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. ) )  /\  ( iota_ r  e.  ( EE
`  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) ) )
65 funtransport 25957 . . . . 5  |-  Fun TransportTo
66 funbrfv 5757 . . . . 5  |-  ( Fun TransportTo  -> 
( <. <. A ,  B >. ,  <. C ,  D >. >.TransportTo ( iota_ r  e.  ( EE `  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) )  ->  (TransportTo ` 
<. <. A ,  B >. ,  <. C ,  D >. >. )  =  (
iota_ r  e.  ( EE `  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) ) ) )
6765, 66ax-mp 8 . . . 4  |-  ( <. <. A ,  B >. , 
<. C ,  D >. >.TransportTo (
iota_ r  e.  ( EE `  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) )  ->  (TransportTo ` 
<. <. A ,  B >. ,  <. C ,  D >. >. )  =  (
iota_ r  e.  ( EE `  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) ) )
6864, 67sylbir 205 . . 3  |-  ( E. n  e.  NN  (
( <. A ,  B >.  e.  ( ( EE
`  n )  X.  ( EE `  n
) )  /\  <. C ,  D >.  e.  ( ( EE `  n
)  X.  ( EE
`  n ) )  /\  ( 1st `  <. C ,  D >. )  =/=  ( 2nd `  <. C ,  D >. )
)  /\  ( iota_ r  e.  ( EE `  N ) ( D 
Btwn  <. C ,  r
>.  /\  <. D ,  r
>.Cgr <. A ,  B >. ) )  =  (
iota_ r  e.  ( EE `  n ) ( ( 2nd `  <. C ,  D >. )  Btwn  <. ( 1st `  <. C ,  D >. ) ,  r >.  /\  <. ( 2nd `  <. C ,  D >. ) ,  r
>.Cgr <. A ,  B >. ) ) )  -> 
(TransportTo `  <. <. A ,  B >. ,  <. C ,  D >. >. )  =  (
iota_ r  e.  ( EE `  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) ) )
6930, 68syl 16 . 2  |-  ( ( N  e.  NN  /\  ( ( A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D ) )  -> 
(TransportTo `  <. <. A ,  B >. ,  <. C ,  D >. >. )  =  (
iota_ r  e.  ( EE `  N ) ( D  Btwn  <. C , 
r >.  /\  <. D , 
r >.Cgr <. A ,  B >. ) ) )
701, 69syl5eq 2479 1  |-  ( ( N  e.  NN  /\  ( ( A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) )  /\  C  =/=  D ) )  -> 
( <. A ,  B >.TransportTo <. C ,  D >. )  =  ( iota_ r  e.  ( EE `  N
) ( D  Btwn  <. C ,  r >.  /\ 
<. D ,  r >.Cgr <. A ,  B >. ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725    =/= wne 2598   E.wrex 2698   _Vcvv 2948   <.cop 3809   class class class wbr 4204    X. cxp 4868   Fun wfun 5440   ` cfv 5446  (class class class)co 6073   {coprab 6074   1stc1st 6339   2ndc2nd 6340   iota_crio 6534   NNcn 9992   EEcee 25819    Btwn cbtwn 25820  Cgrccgr 25821  TransportToctransport 25955
This theorem is referenced by:  transportcl  25959  transportprops  25960
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693  ax-cnex 9038  ax-resscn 9039  ax-1cn 9040  ax-icn 9041  ax-addcl 9042  ax-addrcl 9043  ax-mulcl 9044  ax-mulrcl 9045  ax-mulcom 9046  ax-addass 9047  ax-mulass 9048  ax-distr 9049  ax-i2m1 9050  ax-1ne0 9051  ax-1rid 9052  ax-rnegex 9053  ax-rrecex 9054  ax-cnre 9055  ax-pre-lttri 9056  ax-pre-lttrn 9057  ax-pre-ltadd 9058  ax-pre-mulgt0 9059
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-nel 2601  df-ral 2702  df-rex 2703  df-reu 2704  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4838  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-1st 6341  df-2nd 6342  df-riota 6541  df-recs 6625  df-rdg 6660  df-er 6897  df-map 7012  df-en 7102  df-dom 7103  df-sdom 7104  df-pnf 9114  df-mnf 9115  df-xr 9116  df-ltxr 9117  df-le 9118  df-sub 9285  df-neg 9286  df-nn 9993  df-z 10275  df-uz 10481  df-fz 11036  df-ee 25822  df-transport 25956
  Copyright terms: Public domain W3C validator