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

Theorem fvline 24767
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 2283 . . . . 5  |-  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear
2 fveq2 5525 . . . . . . . . 9  |-  ( n  =  N  ->  ( EE `  n )  =  ( EE `  N
) )
32eleq2d 2350 . . . . . . . 8  |-  ( n  =  N  ->  ( A  e.  ( EE `  n )  <->  A  e.  ( EE `  N ) ) )
42eleq2d 2350 . . . . . . . 8  |-  ( n  =  N  ->  ( B  e.  ( EE `  n )  <->  B  e.  ( EE `  N ) ) )
53, 43anbi12d 1253 . . . . . . 7  |-  ( n  =  N  ->  (
( A  e.  ( EE `  n )  /\  B  e.  ( EE `  n )  /\  A  =/=  B
)  <->  ( A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N )  /\  A  =/=  B
) ) )
65anbi1d 685 . . . . . 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 2884 . . . . 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 665 . . . 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 961 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  A  =/=  B ) )  ->  A  e.  ( EE `  N ) )
10 simpr2 962 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  A  =/=  B ) )  ->  B  e.  ( EE `  N ) )
11 colinearex 24683 . . . . . . . 8  |-  Colinear  e.  _V
1211cnvex 5209 . . . . . . 7  |-  `'  Colinear  e. 
_V
13 ecexg 6664 . . . . . . 7  |-  ( `'  Colinear 
e.  _V  ->  [ <. A ,  B >. ] `'  Colinear  e. 
_V )
1412, 13ax-mp 8 . . . . . 6  |-  [ <. A ,  B >. ] `'  Colinear  e. 
_V
15 eleq1 2343 . . . . . . . . . 10  |-  ( a  =  A  ->  (
a  e.  ( EE
`  n )  <->  A  e.  ( EE `  n ) ) )
16 neeq1 2454 . . . . . . . . . 10  |-  ( a  =  A  ->  (
a  =/=  b  <->  A  =/=  b ) )
1715, 163anbi13d 1254 . . . . . . . . 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 3796 . . . . . . . . . . 11  |-  ( a  =  A  ->  <. a ,  b >.  =  <. A ,  b >. )
19 eceq1 6696 . . . . . . . . . . 11  |-  ( <.
a ,  b >.  =  <. A ,  b
>.  ->  [ <. a ,  b >. ] `'  Colinear  =  [ <. A ,  b
>. ] `'  Colinear  )
2018, 19syl 15 . . . . . . . . . 10  |-  ( a  =  A  ->  [ <. a ,  b >. ] `'  Colinear  =  [ <. A ,  b
>. ] `'  Colinear  )
2120eqeq2d 2294 . . . . . . . . 9  |-  ( a  =  A  ->  (
l  =  [ <. a ,  b >. ] `'  Colinear  <->  l  =  [ <. A ,  b
>. ] `'  Colinear  ) )
2217, 21anbi12d 691 . . . . . . . 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 2564 . . . . . . 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 2343 . . . . . . . . . 10  |-  ( b  =  B  ->  (
b  e.  ( EE
`  n )  <->  B  e.  ( EE `  n ) ) )
25 neeq2 2455 . . . . . . . . . 10  |-  ( b  =  B  ->  ( A  =/=  b  <->  A  =/=  B ) )
2624, 253anbi23d 1255 . . . . . . . . 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 3797 . . . . . . . . . . 11  |-  ( b  =  B  ->  <. A , 
b >.  =  <. A ,  B >. )
28 eceq1 6696 . . . . . . . . . . 11  |-  ( <. A ,  b >.  = 
<. A ,  B >.  ->  [ <. A ,  b
>. ] `'  Colinear  =  [ <. A ,  B >. ] `' 
Colinear  )
2927, 28syl 15 . . . . . . . . . 10  |-  ( b  =  B  ->  [ <. A ,  b >. ] `'  Colinear  =  [ <. A ,  B >. ] `'  Colinear  )
3029eqeq2d 2294 . . . . . . . . 9  |-  ( b  =  B  ->  (
l  =  [ <. A ,  b >. ] `'  Colinear  <->  l  =  [ <. A ,  B >. ] `'  Colinear  ) )
3126, 30anbi12d 691 . . . . . . . 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 2564 . . . . . . 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 2289 . . . . . . . . 9  |-  ( l  =  [ <. A ,  B >. ] `'  Colinear  -> 
( l  =  [ <. A ,  B >. ] `' 
Colinear  <->  [ <. A ,  B >. ] `'  Colinear  =  [ <. A ,  B >. ] `' 
Colinear  ) )
3433anbi2d 684 . . . . . . . 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 2564 . . . . . . 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 5935 . . . . . 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 1266 . . . . 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 642 . . . 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 223 . . 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 5861 . . . 4  |-  ( ALine B )  =  (Line `  <. A ,  B >. )
41 df-br 4024 . . . . . 6  |-  ( <. A ,  B >.Line [
<. A ,  B >. ] `' 
Colinear  <->  <. <. A ,  B >. ,  [ <. A ,  B >. ] `'  Colinear  >.  e. Line
)
42 df-line2 24760 . . . . . . 7  |- Line  =  { <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) }
4342eleq2i 2347 . . . . . 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 240 . . . . 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 24765 . . . . . 6  |-  Fun Line
46 funbrfv 5561 . . . . . 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 204 . . . 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 2327 . . 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 15 . 2  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  A  =/=  B ) )  -> 
( ALine B )  =  [ <. A ,  B >. ] `'  Colinear  )
51 opex 4237 . . . 4  |-  <. A ,  B >.  e.  _V
52 dfec2 6663 . . . 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 2791 . . . . 5  |-  x  e. 
_V
5551, 54brcnv 4864 . . . 4  |-  ( <. A ,  B >. `'  Colinear  x  <->  x  Colinear  <. A ,  B >. )
5655abbii 2395 . . 3  |-  { x  |  <. A ,  B >. `' 
Colinear  x }  =  {
x  |  x  Colinear  <. A ,  B >. }
5753, 56eqtri 2303 . 2  |-  [ <. A ,  B >. ] `'  Colinear  =  { x  |  x 
Colinear 
<. A ,  B >. }
5850, 57syl6eq 2331 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 176    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684   {cab 2269    =/= wne 2446   E.wrex 2544   _Vcvv 2788   <.cop 3643   class class class wbr 4023   `'ccnv 4688   Fun wfun 5249   ` cfv 5255  (class class class)co 5858   {coprab 5859   [cec 6658   NNcn 9746   EEcee 24516    Colinear ccolin 24660  Linecline2 24757
This theorem is referenced by:  liness  24768  fvline2  24769  ellines  24775
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-i2m1 8805  ax-1ne0 8806  ax-rrecex 8809  ax-cnre 8810
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-reu 2550  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-recs 6388  df-rdg 6423  df-ec 6662  df-nn 9747  df-colinear 24664  df-line2 24760
  Copyright terms: Public domain W3C validator