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

Theorem fvline 26078
Description: Calculate the value of the Line function. (Contributed by Scott Fenton, 25-Oct-2013.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
fvline  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  A  =/=  B ) )  -> 
( ALine B )  =  { x  |  x  Colinear  <. A ,  B >. } )
Distinct variable groups:    x, A    x, B
Allowed substitution hint:    N( x)

Proof of Theorem fvline
Dummy variables  a 
b  l  n are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2436 . . . . 5  |-  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear
2 fveq2 5728 . . . . . . . . 9  |-  ( n  =  N  ->  ( EE `  n )  =  ( EE `  N
) )
32eleq2d 2503 . . . . . . . 8  |-  ( n  =  N  ->  ( A  e.  ( EE `  n )  <->  A  e.  ( EE `  N ) ) )
42eleq2d 2503 . . . . . . . 8  |-  ( n  =  N  ->  ( B  e.  ( EE `  n )  <->  B  e.  ( EE `  N ) ) )
53, 43anbi12d 1255 . . . . . . 7  |-  ( n  =  N  ->  (
( A  e.  ( EE `  n )  /\  B  e.  ( EE `  n )  /\  A  =/=  B
)  <->  ( A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N )  /\  A  =/=  B
) ) )
65anbi1d 686 . . . . . 6  |-  ( n  =  N  ->  (
( ( A  e.  ( EE `  n
)  /\  B  e.  ( EE `  n )  /\  A  =/=  B
)  /\  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  )  <->  ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
)  /\  A  =/=  B )  /\  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  ) ) )
76rspcev 3052 . . . . 5  |-  ( ( N  e.  NN  /\  ( ( A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N )  /\  A  =/=  B
)  /\  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  ) )  ->  E. n  e.  NN  ( ( A  e.  ( EE `  n
)  /\  B  e.  ( EE `  n )  /\  A  =/=  B
)  /\  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  ) )
81, 7mpanr2 666 . . . 4  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  A  =/=  B ) )  ->  E. n  e.  NN  ( ( A  e.  ( EE `  n
)  /\  B  e.  ( EE `  n )  /\  A  =/=  B
)  /\  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  ) )
9 simpr1 963 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  A  =/=  B ) )  ->  A  e.  ( EE `  N ) )
10 simpr2 964 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  A  =/=  B ) )  ->  B  e.  ( EE `  N ) )
11 colinearex 25994 . . . . . . . 8  |-  Colinear  e.  _V
1211cnvex 5406 . . . . . . 7  |-  `'  Colinear  e. 
_V
13 ecexg 6909 . . . . . . 7  |-  ( `'  Colinear 
e.  _V  ->  [ <. A ,  B >. ] `'  Colinear  e. 
_V )
1412, 13ax-mp 8 . . . . . 6  |-  [ <. A ,  B >. ] `'  Colinear  e. 
_V
15 eleq1 2496 . . . . . . . . . 10  |-  ( a  =  A  ->  (
a  e.  ( EE
`  n )  <->  A  e.  ( EE `  n ) ) )
16 neeq1 2609 . . . . . . . . . 10  |-  ( a  =  A  ->  (
a  =/=  b  <->  A  =/=  b ) )
1715, 163anbi13d 1256 . . . . . . . . 9  |-  ( a  =  A  ->  (
( a  e.  ( EE `  n )  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  <->  ( A  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  A  =/=  b
) ) )
18 opeq1 3984 . . . . . . . . . . 11  |-  ( a  =  A  ->  <. a ,  b >.  =  <. A ,  b >. )
19 eceq1 6941 . . . . . . . . . . 11  |-  ( <.
a ,  b >.  =  <. A ,  b
>.  ->  [ <. a ,  b >. ] `'  Colinear  =  [ <. A ,  b
>. ] `'  Colinear  )
2018, 19syl 16 . . . . . . . . . 10  |-  ( a  =  A  ->  [ <. a ,  b >. ] `'  Colinear  =  [ <. A ,  b
>. ] `'  Colinear  )
2120eqeq2d 2447 . . . . . . . . 9  |-  ( a  =  A  ->  (
l  =  [ <. a ,  b >. ] `'  Colinear  <->  l  =  [ <. A ,  b
>. ] `'  Colinear  ) )
2217, 21anbi12d 692 . . . . . . . 8  |-  ( a  =  A  ->  (
( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  <->  ( ( A  e.  ( EE `  n )  /\  b  e.  ( EE `  n
)  /\  A  =/=  b )  /\  l  =  [ <. A ,  b
>. ] `'  Colinear  ) ) )
2322rexbidv 2726 . . . . . . 7  |-  ( a  =  A  ->  ( E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  <->  E. n  e.  NN  ( ( A  e.  ( EE `  n )  /\  b  e.  ( EE `  n
)  /\  A  =/=  b )  /\  l  =  [ <. A ,  b
>. ] `'  Colinear  ) ) )
24 eleq1 2496 . . . . . . . . . 10  |-  ( b  =  B  ->  (
b  e.  ( EE
`  n )  <->  B  e.  ( EE `  n ) ) )
25 neeq2 2610 . . . . . . . . . 10  |-  ( b  =  B  ->  ( A  =/=  b  <->  A  =/=  B ) )
2624, 253anbi23d 1257 . . . . . . . . 9  |-  ( b  =  B  ->  (
( A  e.  ( EE `  n )  /\  b  e.  ( EE `  n )  /\  A  =/=  b
)  <->  ( A  e.  ( EE `  n
)  /\  B  e.  ( EE `  n )  /\  A  =/=  B
) ) )
27 opeq2 3985 . . . . . . . . . . 11  |-  ( b  =  B  ->  <. A , 
b >.  =  <. A ,  B >. )
28 eceq1 6941 . . . . . . . . . . 11  |-  ( <. A ,  b >.  = 
<. A ,  B >.  ->  [ <. A ,  b
>. ] `'  Colinear  =  [ <. A ,  B >. ] `' 
Colinear  )
2927, 28syl 16 . . . . . . . . . 10  |-  ( b  =  B  ->  [ <. A ,  b >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  )
3029eqeq2d 2447 . . . . . . . . 9  |-  ( b  =  B  ->  (
l  =  [ <. A ,  b >. ] `'  Colinear  <->  l  =  [ <. A ,  B >. ] `'  Colinear  ) )
3126, 30anbi12d 692 . . . . . . . 8  |-  ( b  =  B  ->  (
( ( A  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  A  =/=  b
)  /\  l  =  [ <. A ,  b
>. ] `'  Colinear  )  <->  ( ( A  e.  ( EE `  n )  /\  B  e.  ( EE `  n
)  /\  A  =/=  B )  /\  l  =  [ <. A ,  B >. ] `'  Colinear  ) ) )
3231rexbidv 2726 . . . . . . 7  |-  ( b  =  B  ->  ( E. n  e.  NN  ( ( A  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  A  =/=  b
)  /\  l  =  [ <. A ,  b
>. ] `'  Colinear  )  <->  E. n  e.  NN  ( ( A  e.  ( EE `  n )  /\  B  e.  ( EE `  n
)  /\  A  =/=  B )  /\  l  =  [ <. A ,  B >. ] `'  Colinear  ) ) )
33 eqeq1 2442 . . . . . . . . 9  |-  ( l  =  [ <. A ,  B >. ] `'  Colinear  -> 
( l  =  [ <. A ,  B >. ] `' 
Colinear  <->  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `' 
Colinear  ) )
3433anbi2d 685 . . . . . . . 8  |-  ( l  =  [ <. A ,  B >. ] `'  Colinear  -> 
( ( ( A  e.  ( EE `  n )  /\  B  e.  ( EE `  n
)  /\  A  =/=  B )  /\  l  =  [ <. A ,  B >. ] `'  Colinear  )  <->  ( ( A  e.  ( EE `  n )  /\  B  e.  ( EE `  n
)  /\  A  =/=  B )  /\  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  ) ) )
3534rexbidv 2726 . . . . . . 7  |-  ( l  =  [ <. A ,  B >. ] `'  Colinear  -> 
( E. n  e.  NN  ( ( A  e.  ( EE `  n )  /\  B  e.  ( EE `  n
)  /\  A  =/=  B )  /\  l  =  [ <. A ,  B >. ] `'  Colinear  )  <->  E. n  e.  NN  ( ( A  e.  ( EE `  n )  /\  B  e.  ( EE `  n
)  /\  A  =/=  B )  /\  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  ) ) )
3623, 32, 35eloprabg 6161 . . . . . 6  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  [ <. A ,  B >. ] `' 
Colinear  e.  _V )  -> 
( <. <. A ,  B >. ,  [ <. A ,  B >. ] `'  Colinear  >.  e. 
{ <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) }  <->  E. n  e.  NN  ( ( A  e.  ( EE `  n
)  /\  B  e.  ( EE `  n )  /\  A  =/=  B
)  /\  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  ) ) )
3714, 36mp3an3 1268 . . . . 5  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N ) )  -> 
( <. <. A ,  B >. ,  [ <. A ,  B >. ] `'  Colinear  >.  e. 
{ <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) }  <->  E. n  e.  NN  ( ( A  e.  ( EE `  n
)  /\  B  e.  ( EE `  n )  /\  A  =/=  B
)  /\  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  ) ) )
389, 10, 37syl2anc 643 . . . 4  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  A  =/=  B ) )  -> 
( <. <. A ,  B >. ,  [ <. A ,  B >. ] `'  Colinear  >.  e. 
{ <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) }  <->  E. n  e.  NN  ( ( A  e.  ( EE `  n
)  /\  B  e.  ( EE `  n )  /\  A  =/=  B
)  /\  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  ) ) )
398, 38mpbird 224 . . 3  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  A  =/=  B ) )  ->  <. <. A ,  B >. ,  [ <. A ,  B >. ] `'  Colinear  >.  e. 
{ <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) } )
40 df-ov 6084 . . . 4  |-  ( ALine B )  =  (Line `  <. A ,  B >. )
41 df-br 4213 . . . . . 6  |-  ( <. A ,  B >.Line [
<. A ,  B >. ] `' 
Colinear  <->  <. <. A ,  B >. ,  [ <. A ,  B >. ] `'  Colinear  >.  e. Line
)
42 df-line2 26071 . . . . . . 7  |- Line  =  { <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) }
4342eleq2i 2500 . . . . . 6  |-  ( <. <. A ,  B >. ,  [ <. A ,  B >. ] `'  Colinear  >.  e. Line  <->  <. <. A ,  B >. ,  [ <. A ,  B >. ] `'  Colinear  >.  e.  { <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) } )
4441, 43bitri 241 . . . . 5  |-  ( <. A ,  B >.Line [
<. A ,  B >. ] `' 
Colinear  <->  <. <. A ,  B >. ,  [ <. A ,  B >. ] `'  Colinear  >.  e. 
{ <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) } )
45 funline 26076 . . . . . 6  |-  Fun Line
46 funbrfv 5765 . . . . . 6  |-  ( Fun Line  ->  ( <. A ,  B >.Line [ <. A ,  B >. ] `'  Colinear  ->  (Line ` 
<. A ,  B >. )  =  [ <. A ,  B >. ] `'  Colinear  ) )
4745, 46ax-mp 8 . . . . 5  |-  ( <. A ,  B >.Line [
<. A ,  B >. ] `' 
Colinear  ->  (Line `  <. A ,  B >. )  =  [ <. A ,  B >. ] `'  Colinear  )
4844, 47sylbir 205 . . . 4  |-  ( <. <. A ,  B >. ,  [ <. A ,  B >. ] `'  Colinear  >.  e.  { <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) }  ->  (Line `  <. A ,  B >. )  =  [ <. A ,  B >. ] `'  Colinear  )
4940, 48syl5eq 2480 . . 3  |-  ( <. <. A ,  B >. ,  [ <. A ,  B >. ] `'  Colinear  >.  e.  { <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) }  ->  ( ALine B
)  =  [ <. A ,  B >. ] `'  Colinear  )
5039, 49syl 16 . 2  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  A  =/=  B ) )  -> 
( ALine B )  =  [ <. A ,  B >. ] `'  Colinear  )
51 opex 4427 . . . 4  |-  <. A ,  B >.  e.  _V
52 dfec2 6908 . . . 4  |-  ( <. A ,  B >.  e. 
_V  ->  [ <. A ,  B >. ] `'  Colinear  =  { x  |  <. A ,  B >. `'  Colinear  x } )
5351, 52ax-mp 8 . . 3  |-  [ <. A ,  B >. ] `'  Colinear  =  { x  |  <. A ,  B >. `'  Colinear  x }
54 vex 2959 . . . . 5  |-  x  e. 
_V
5551, 54brcnv 5055 . . . 4  |-  ( <. A ,  B >. `'  Colinear  x  <->  x  Colinear  <. A ,  B >. )
5655abbii 2548 . . 3  |-  { x  |  <. A ,  B >. `' 
Colinear  x }  =  {
x  |  x  Colinear  <. A ,  B >. }
5753, 56eqtri 2456 . 2  |-  [ <. A ,  B >. ] `'  Colinear  =  { x  |  x 
Colinear 
<. A ,  B >. }
5850, 57syl6eq 2484 1  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  A  =/=  B ) )  -> 
( ALine B )  =  { x  |  x  Colinear  <. A ,  B >. } )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725   {cab 2422    =/= wne 2599   E.wrex 2706   _Vcvv 2956   <.cop 3817   class class class wbr 4212   `'ccnv 4877   Fun wfun 5448   ` cfv 5454  (class class class)co 6081   {coprab 6082   [cec 6903   NNcn 10000   EEcee 25827    Colinear ccolin 25971  Linecline2 26068
This theorem is referenced by:  liness  26079  fvline2  26080  ellines  26086
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-rep 4320  ax-sep 4330  ax-nul 4338  ax-pow 4377  ax-pr 4403  ax-un 4701  ax-cnex 9046  ax-resscn 9047  ax-1cn 9048  ax-icn 9049  ax-addcl 9050  ax-addrcl 9051  ax-mulcl 9052  ax-mulrcl 9053  ax-i2m1 9058  ax-1ne0 9059  ax-rrecex 9062  ax-cnre 9063
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-ral 2710  df-rex 2711  df-reu 2712  df-rab 2714  df-v 2958  df-sbc 3162  df-csb 3252  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-pss 3336  df-nul 3629  df-if 3740  df-pw 3801  df-sn 3820  df-pr 3821  df-tp 3822  df-op 3823  df-uni 4016  df-iun 4095  df-br 4213  df-opab 4267  df-mpt 4268  df-tr 4303  df-eprel 4494  df-id 4498  df-po 4503  df-so 4504  df-fr 4541  df-we 4543  df-ord 4584  df-on 4585  df-lim 4586  df-suc 4587  df-om 4846  df-xp 4884  df-rel 4885  df-cnv 4886  df-co 4887  df-dm 4888  df-rn 4889  df-res 4890  df-ima 4891  df-iota 5418  df-fun 5456  df-fn 5457  df-f 5458  df-f1 5459  df-fo 5460  df-f1o 5461  df-fv 5462  df-ov 6084  df-oprab 6085  df-recs 6633  df-rdg 6668  df-ec 6907  df-nn 10001  df-colinear 25975  df-line2 26071
  Copyright terms: Public domain W3C validator