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

Theorem funline 25790
Description: Show that the Line relationship is a function. (Contributed by Scott Fenton, 25-Oct-2013.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
funline  |-  Fun Line

Proof of Theorem funline
Dummy variables  a 
b  k  l  m  n are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 reeanv 2818 . . . . . 6  |-  ( E. n  e.  NN  E. m  e.  NN  (
( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  /\  ( ( a  e.  ( EE `  m
)  /\  b  e.  ( EE `  m )  /\  a  =/=  b
)  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) )  <-> 
( E. n  e.  NN  ( ( a  e.  ( EE `  n )  /\  b  e.  ( EE `  n
)  /\  a  =/=  b )  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  /\  E. m  e.  NN  (
( a  e.  ( EE `  m )  /\  b  e.  ( EE `  m )  /\  a  =/=  b
)  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) ) )
2 eqtr3 2406 . . . . . . . . 9  |-  ( ( l  =  [ <. a ,  b >. ] `'  Colinear  /\  k  =  [ <. a ,  b >. ] `'  Colinear  )  ->  l  =  k )
32ad2ant2l 727 . . . . . . . 8  |-  ( ( ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  /\  ( ( a  e.  ( EE `  m
)  /\  b  e.  ( EE `  m )  /\  a  =/=  b
)  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) )  ->  l  =  k )
43a1i 11 . . . . . . 7  |-  ( ( n  e.  NN  /\  m  e.  NN )  ->  ( ( ( ( a  e.  ( EE
`  n )  /\  b  e.  ( EE `  n )  /\  a  =/=  b )  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  /\  ( ( a  e.  ( EE `  m
)  /\  b  e.  ( EE `  m )  /\  a  =/=  b
)  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) )  ->  l  =  k ) )
54rexlimivv 2778 . . . . . 6  |-  ( E. n  e.  NN  E. m  e.  NN  (
( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  /\  ( ( a  e.  ( EE `  m
)  /\  b  e.  ( EE `  m )  /\  a  =/=  b
)  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) )  ->  l  =  k )
61, 5sylbir 205 . . . . 5  |-  ( ( E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  /\  E. m  e.  NN  (
( a  e.  ( EE `  m )  /\  b  e.  ( EE `  m )  /\  a  =/=  b
)  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) )  ->  l  =  k )
76gen2 1553 . . . 4  |-  A. l A. k ( ( E. n  e.  NN  (
( a  e.  ( EE `  n )  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  /\  E. m  e.  NN  (
( a  e.  ( EE `  m )  /\  b  e.  ( EE `  m )  /\  a  =/=  b
)  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) )  ->  l  =  k )
8 eqeq1 2393 . . . . . . . 8  |-  ( l  =  k  ->  (
l  =  [ <. a ,  b >. ] `'  Colinear  <->  k  =  [ <. a ,  b
>. ] `'  Colinear  ) )
98anbi2d 685 . . . . . . 7  |-  ( l  =  k  ->  (
( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  <->  ( (
a  e.  ( EE
`  n )  /\  b  e.  ( EE `  n )  /\  a  =/=  b )  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) ) )
109rexbidv 2670 . . . . . 6  |-  ( l  =  k  ->  ( 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 )  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) ) )
11 fveq2 5668 . . . . . . . . . 10  |-  ( n  =  m  ->  ( EE `  n )  =  ( EE `  m
) )
1211eleq2d 2454 . . . . . . . . 9  |-  ( n  =  m  ->  (
a  e.  ( EE
`  n )  <->  a  e.  ( EE `  m ) ) )
1311eleq2d 2454 . . . . . . . . 9  |-  ( n  =  m  ->  (
b  e.  ( EE
`  n )  <->  b  e.  ( EE `  m ) ) )
1412, 133anbi12d 1255 . . . . . . . 8  |-  ( n  =  m  ->  (
( a  e.  ( EE `  n )  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  <->  ( a  e.  ( EE `  m
)  /\  b  e.  ( EE `  m )  /\  a  =/=  b
) ) )
1514anbi1d 686 . . . . . . 7  |-  ( n  =  m  ->  (
( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  )  <->  ( (
a  e.  ( EE
`  m )  /\  b  e.  ( EE `  m )  /\  a  =/=  b )  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) ) )
1615cbvrexv 2876 . . . . . 6  |-  ( E. n  e.  NN  (
( a  e.  ( EE `  n )  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  )  <->  E. m  e.  NN  ( ( a  e.  ( EE `  m )  /\  b  e.  ( EE `  m
)  /\  a  =/=  b )  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) )
1710, 16syl6bb 253 . . . . 5  |-  ( l  =  k  ->  ( E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  <->  E. m  e.  NN  ( ( a  e.  ( EE `  m )  /\  b  e.  ( EE `  m
)  /\  a  =/=  b )  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) ) )
1817mo4 2271 . . . 4  |-  ( E* l E. n  e.  NN  ( ( a  e.  ( EE `  n )  /\  b  e.  ( EE `  n
)  /\  a  =/=  b )  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  <->  A. l A. k ( ( E. n  e.  NN  (
( a  e.  ( EE `  n )  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )  /\  E. m  e.  NN  (
( a  e.  ( EE `  m )  /\  b  e.  ( EE `  m )  /\  a  =/=  b
)  /\  k  =  [ <. a ,  b
>. ] `'  Colinear  ) )  ->  l  =  k ) )
197, 18mpbir 201 . . 3  |-  E* l E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )
2019funoprab 6109 . 2  |-  Fun  { <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) }
21 df-line2 25785 . . 3  |- Line  =  { <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) }
2221funeqi 5414 . 2  |-  ( Fun Line  <->  Fun 
{ <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) } )
2320, 22mpbir 201 1  |-  Fun Line
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    /\ w3a 936   A.wal 1546    = wceq 1649    e. wcel 1717   E*wmo 2239    =/= wne 2550   E.wrex 2650   <.cop 3760   `'ccnv 4817   Fun wfun 5388   ` cfv 5394   {coprab 6021   [cec 6839   NNcn 9932   EEcee 25541    Colinear ccolin 25685  Linecline2 25782
This theorem is referenced by:  fvline  25792
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2368  ax-sep 4271  ax-nul 4279  ax-pr 4344
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2242  df-mo 2243  df-clab 2374  df-cleq 2380  df-clel 2383  df-nfc 2512  df-ne 2552  df-ral 2654  df-rex 2655  df-rab 2658  df-v 2901  df-dif 3266  df-un 3268  df-in 3270  df-ss 3277  df-nul 3572  df-if 3683  df-sn 3763  df-pr 3764  df-op 3766  df-uni 3958  df-br 4154  df-opab 4208  df-id 4439  df-xp 4824  df-rel 4825  df-cnv 4826  df-co 4827  df-iota 5358  df-fun 5396  df-fv 5402  df-oprab 6024  df-line2 25785
  Copyright terms: Public domain W3C validator