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

Theorem funline 24837
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 2720 . . . . . 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 2315 . . . . . . . . 9  |-  ( ( l  =  [ <. a ,  b >. ] `'  Colinear  /\  k  =  [ <. a ,  b >. ] `'  Colinear  )  ->  l  =  k )
32ad2ant2l 726 . . . . . . . 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 10 . . . . . . 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 2685 . . . . . 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 204 . . . . 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 1537 . . . 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 2302 . . . . . . . 8  |-  ( l  =  k  ->  (
l  =  [ <. a ,  b >. ] `'  Colinear  <->  k  =  [ <. a ,  b
>. ] `'  Colinear  ) )
98anbi2d 684 . . . . . . 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 2577 . . . . . 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 5541 . . . . . . . . . 10  |-  ( n  =  m  ->  ( EE `  n )  =  ( EE `  m
) )
1211eleq2d 2363 . . . . . . . . 9  |-  ( n  =  m  ->  (
a  e.  ( EE
`  n )  <->  a  e.  ( EE `  m ) ) )
1311eleq2d 2363 . . . . . . . . 9  |-  ( n  =  m  ->  (
b  e.  ( EE
`  n )  <->  b  e.  ( EE `  m ) ) )
1412, 133anbi12d 1253 . . . . . . . 8  |-  ( n  =  m  ->  (
( a  e.  ( EE `  n )  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  <->  ( a  e.  ( EE `  m
)  /\  b  e.  ( EE `  m )  /\  a  =/=  b
) ) )
1514anbi1d 685 . . . . . . 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 2778 . . . . . 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 252 . . . . 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 2189 . . . 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 200 . . 3  |-  E* l E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  )
2019funoprab 5960 . 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 24832 . . 3  |- Line  =  { <. <. a ,  b
>. ,  l >.  |  E. n  e.  NN  ( ( a  e.  ( EE `  n
)  /\  b  e.  ( EE `  n )  /\  a  =/=  b
)  /\  l  =  [ <. a ,  b
>. ] `'  Colinear  ) }
2221funeqi 5291 . 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 200 1  |-  Fun Line
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    /\ w3a 934   A.wal 1530    = wceq 1632    e. wcel 1696   E*wmo 2157    =/= wne 2459   E.wrex 2557   <.cop 3656   `'ccnv 4704   Fun wfun 5265   ` cfv 5271   {coprab 5875   [cec 6674   NNcn 9762   EEcee 24588    Colinear ccolin 24732  Linecline2 24829
This theorem is referenced by:  fvline  24839
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pr 4230
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-br 4040  df-opab 4094  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-iota 5235  df-fun 5273  df-fv 5279  df-oprab 5878  df-line2 24832
  Copyright terms: Public domain W3C validator