MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  2ndconst Unicode version

Theorem 2ndconst 6395
Description: The mapping of a restriction of the  2nd function to a converse constant function. (Contributed by NM, 27-Mar-2008.)
Assertion
Ref Expression
2ndconst  |-  ( A  e.  V  ->  ( 2nd  |`  ( { A }  X.  B ) ) : ( { A }  X.  B ) -1-1-onto-> B )

Proof of Theorem 2ndconst
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 snnzg 3881 . . 3  |-  ( A  e.  V  ->  { A }  =/=  (/) )
2 fo2ndres 6330 . . 3  |-  ( { A }  =/=  (/)  ->  ( 2nd  |`  ( { A }  X.  B ) ) : ( { A }  X.  B ) -onto-> B )
31, 2syl 16 . 2  |-  ( A  e.  V  ->  ( 2nd  |`  ( { A }  X.  B ) ) : ( { A }  X.  B ) -onto-> B )
4 moeq 3070 . . . . . 6  |-  E* x  x  =  <. A , 
y >.
54moani 2306 . . . . 5  |-  E* x
( y  e.  B  /\  x  =  <. A ,  y >. )
6 vex 2919 . . . . . . . 8  |-  y  e. 
_V
76brres 5111 . . . . . . 7  |-  ( x ( 2nd  |`  ( { A }  X.  B
) ) y  <->  ( x 2nd y  /\  x  e.  ( { A }  X.  B ) ) )
8 fo2nd 6326 . . . . . . . . . . 11  |-  2nd : _V -onto-> _V
9 fofn 5614 . . . . . . . . . . 11  |-  ( 2nd
: _V -onto-> _V  ->  2nd 
Fn  _V )
108, 9ax-mp 8 . . . . . . . . . 10  |-  2nd  Fn  _V
11 vex 2919 . . . . . . . . . 10  |-  x  e. 
_V
12 fnbrfvb 5726 . . . . . . . . . 10  |-  ( ( 2nd  Fn  _V  /\  x  e.  _V )  ->  ( ( 2nd `  x
)  =  y  <->  x 2nd y ) )
1310, 11, 12mp2an 654 . . . . . . . . 9  |-  ( ( 2nd `  x )  =  y  <->  x 2nd y )
1413anbi1i 677 . . . . . . . 8  |-  ( ( ( 2nd `  x
)  =  y  /\  x  e.  ( { A }  X.  B
) )  <->  ( x 2nd y  /\  x  e.  ( { A }  X.  B ) ) )
15 elxp7 6338 . . . . . . . . . . 11  |-  ( x  e.  ( { A }  X.  B )  <->  ( x  e.  ( _V  X.  _V )  /\  ( ( 1st `  x )  e.  { A }  /\  ( 2nd `  x )  e.  B ) ) )
16 eleq1 2464 . . . . . . . . . . . . . . 15  |-  ( ( 2nd `  x )  =  y  ->  (
( 2nd `  x
)  e.  B  <->  y  e.  B ) )
1716biimpa 471 . . . . . . . . . . . . . 14  |-  ( ( ( 2nd `  x
)  =  y  /\  ( 2nd `  x )  e.  B )  -> 
y  e.  B )
1817adantrl 697 . . . . . . . . . . . . 13  |-  ( ( ( 2nd `  x
)  =  y  /\  ( ( 1st `  x
)  e.  { A }  /\  ( 2nd `  x
)  e.  B ) )  ->  y  e.  B )
1918adantrl 697 . . . . . . . . . . . 12  |-  ( ( ( 2nd `  x
)  =  y  /\  ( x  e.  ( _V  X.  _V )  /\  ( ( 1st `  x
)  e.  { A }  /\  ( 2nd `  x
)  e.  B ) ) )  ->  y  e.  B )
20 elsni 3798 . . . . . . . . . . . . . 14  |-  ( ( 1st `  x )  e.  { A }  ->  ( 1st `  x
)  =  A )
21 eqopi 6342 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  ( _V 
X.  _V )  /\  (
( 1st `  x
)  =  A  /\  ( 2nd `  x )  =  y ) )  ->  x  =  <. A ,  y >. )
2221ancom2s 778 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  ( _V 
X.  _V )  /\  (
( 2nd `  x
)  =  y  /\  ( 1st `  x )  =  A ) )  ->  x  =  <. A ,  y >. )
2322an12s 777 . . . . . . . . . . . . . 14  |-  ( ( ( 2nd `  x
)  =  y  /\  ( x  e.  ( _V  X.  _V )  /\  ( 1st `  x )  =  A ) )  ->  x  =  <. A ,  y >. )
2420, 23sylanr2 635 . . . . . . . . . . . . 13  |-  ( ( ( 2nd `  x
)  =  y  /\  ( x  e.  ( _V  X.  _V )  /\  ( 1st `  x )  e.  { A }
) )  ->  x  =  <. A ,  y
>. )
2524adantrrr 706 . . . . . . . . . . . 12  |-  ( ( ( 2nd `  x
)  =  y  /\  ( x  e.  ( _V  X.  _V )  /\  ( ( 1st `  x
)  e.  { A }  /\  ( 2nd `  x
)  e.  B ) ) )  ->  x  =  <. A ,  y
>. )
2619, 25jca 519 . . . . . . . . . . 11  |-  ( ( ( 2nd `  x
)  =  y  /\  ( x  e.  ( _V  X.  _V )  /\  ( ( 1st `  x
)  e.  { A }  /\  ( 2nd `  x
)  e.  B ) ) )  ->  (
y  e.  B  /\  x  =  <. A , 
y >. ) )
2715, 26sylan2b 462 . . . . . . . . . 10  |-  ( ( ( 2nd `  x
)  =  y  /\  x  e.  ( { A }  X.  B
) )  ->  (
y  e.  B  /\  x  =  <. A , 
y >. ) )
2827adantl 453 . . . . . . . . 9  |-  ( ( A  e.  V  /\  ( ( 2nd `  x
)  =  y  /\  x  e.  ( { A }  X.  B
) ) )  -> 
( y  e.  B  /\  x  =  <. A ,  y >. )
)
29 fveq2 5687 . . . . . . . . . . . 12  |-  ( x  =  <. A ,  y
>.  ->  ( 2nd `  x
)  =  ( 2nd `  <. A ,  y
>. ) )
30 op2ndg 6319 . . . . . . . . . . . . 13  |-  ( ( A  e.  V  /\  y  e.  _V )  ->  ( 2nd `  <. A ,  y >. )  =  y )
316, 30mpan2 653 . . . . . . . . . . . 12  |-  ( A  e.  V  ->  ( 2nd `  <. A ,  y
>. )  =  y
)
3229, 31sylan9eqr 2458 . . . . . . . . . . 11  |-  ( ( A  e.  V  /\  x  =  <. A , 
y >. )  ->  ( 2nd `  x )  =  y )
3332adantrl 697 . . . . . . . . . 10  |-  ( ( A  e.  V  /\  ( y  e.  B  /\  x  =  <. A ,  y >. )
)  ->  ( 2nd `  x )  =  y )
34 simprr 734 . . . . . . . . . . 11  |-  ( ( A  e.  V  /\  ( y  e.  B  /\  x  =  <. A ,  y >. )
)  ->  x  =  <. A ,  y >.
)
35 snidg 3799 . . . . . . . . . . . . 13  |-  ( A  e.  V  ->  A  e.  { A } )
3635adantr 452 . . . . . . . . . . . 12  |-  ( ( A  e.  V  /\  ( y  e.  B  /\  x  =  <. A ,  y >. )
)  ->  A  e.  { A } )
37 simprl 733 . . . . . . . . . . . 12  |-  ( ( A  e.  V  /\  ( y  e.  B  /\  x  =  <. A ,  y >. )
)  ->  y  e.  B )
38 opelxpi 4869 . . . . . . . . . . . 12  |-  ( ( A  e.  { A }  /\  y  e.  B
)  ->  <. A , 
y >.  e.  ( { A }  X.  B
) )
3936, 37, 38syl2anc 643 . . . . . . . . . . 11  |-  ( ( A  e.  V  /\  ( y  e.  B  /\  x  =  <. A ,  y >. )
)  ->  <. A , 
y >.  e.  ( { A }  X.  B
) )
4034, 39eqeltrd 2478 . . . . . . . . . 10  |-  ( ( A  e.  V  /\  ( y  e.  B  /\  x  =  <. A ,  y >. )
)  ->  x  e.  ( { A }  X.  B ) )
4133, 40jca 519 . . . . . . . . 9  |-  ( ( A  e.  V  /\  ( y  e.  B  /\  x  =  <. A ,  y >. )
)  ->  ( ( 2nd `  x )  =  y  /\  x  e.  ( { A }  X.  B ) ) )
4228, 41impbida 806 . . . . . . . 8  |-  ( A  e.  V  ->  (
( ( 2nd `  x
)  =  y  /\  x  e.  ( { A }  X.  B
) )  <->  ( y  e.  B  /\  x  =  <. A ,  y
>. ) ) )
4314, 42syl5bbr 251 . . . . . . 7  |-  ( A  e.  V  ->  (
( x 2nd y  /\  x  e.  ( { A }  X.  B
) )  <->  ( y  e.  B  /\  x  =  <. A ,  y
>. ) ) )
447, 43syl5bb 249 . . . . . 6  |-  ( A  e.  V  ->  (
x ( 2nd  |`  ( { A }  X.  B
) ) y  <->  ( y  e.  B  /\  x  =  <. A ,  y
>. ) ) )
4544mobidv 2289 . . . . 5  |-  ( A  e.  V  ->  ( E* x  x ( 2nd  |`  ( { A }  X.  B ) ) y  <->  E* x ( y  e.  B  /\  x  =  <. A ,  y
>. ) ) )
465, 45mpbiri 225 . . . 4  |-  ( A  e.  V  ->  E* x  x ( 2nd  |`  ( { A }  X.  B
) ) y )
4746alrimiv 1638 . . 3  |-  ( A  e.  V  ->  A. y E* x  x ( 2nd  |`  ( { A }  X.  B ) ) y )
48 funcnv2 5469 . . 3  |-  ( Fun  `' ( 2nd  |`  ( { A }  X.  B
) )  <->  A. y E* x  x ( 2nd  |`  ( { A }  X.  B ) ) y )
4947, 48sylibr 204 . 2  |-  ( A  e.  V  ->  Fun  `' ( 2nd  |`  ( { A }  X.  B
) ) )
50 dff1o3 5639 . 2  |-  ( ( 2nd  |`  ( { A }  X.  B
) ) : ( { A }  X.  B ) -1-1-onto-> B  <->  ( ( 2nd  |`  ( { A }  X.  B ) ) : ( { A }  X.  B ) -onto-> B  /\  Fun  `' ( 2nd  |`  ( { A }  X.  B
) ) ) )
513, 49, 50sylanbrc 646 1  |-  ( A  e.  V  ->  ( 2nd  |`  ( { A }  X.  B ) ) : ( { A }  X.  B ) -1-1-onto-> B )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359   A.wal 1546    = wceq 1649    e. wcel 1721   E*wmo 2255    =/= wne 2567   _Vcvv 2916   (/)c0 3588   {csn 3774   <.cop 3777   class class class wbr 4172    X. cxp 4835   `'ccnv 4836    |` cres 4839   Fun wfun 5407    Fn wfn 5408   -onto->wfo 5411   -1-1-onto->wf1o 5412   ` cfv 5413   1stc1st 6306   2ndc2nd 6307
This theorem is referenced by:  curry1  6397  xpfi  7337  fsum2dlem  12509  gsum2d  15501  ovoliunlem1  19351  fprod2dlem  25257
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 1662  ax-8 1683  ax-13 1723  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2385  ax-sep 4290  ax-nul 4298  ax-pow 4337  ax-pr 4363  ax-un 4660
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 2258  df-mo 2259  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ne 2569  df-ral 2671  df-rex 2672  df-rab 2675  df-v 2918  df-sbc 3122  df-csb 3212  df-dif 3283  df-un 3285  df-in 3287  df-ss 3294  df-nul 3589  df-if 3700  df-sn 3780  df-pr 3781  df-op 3783  df-uni 3976  df-iun 4055  df-br 4173  df-opab 4227  df-mpt 4228  df-id 4458  df-xp 4843  df-rel 4844  df-cnv 4845  df-co 4846  df-dm 4847  df-rn 4848  df-res 4849  df-ima 4850  df-iota 5377  df-fun 5415  df-fn 5416  df-f 5417  df-f1 5418  df-fo 5419  df-f1o 5420  df-fv 5421  df-1st 6308  df-2nd 6309
  Copyright terms: Public domain W3C validator