ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  1stconst Unicode version

Theorem 1stconst 6086
Description: The mapping of a restriction of the  1st function to a constant function. (Contributed by NM, 14-Dec-2008.)
Assertion
Ref Expression
1stconst  |-  ( B  e.  V  ->  ( 1st  |`  ( A  X.  { B } ) ) : ( A  X.  { B } ) -1-1-onto-> A )

Proof of Theorem 1stconst
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 snmg 3611 . . 3  |-  ( B  e.  V  ->  E. x  x  e.  { B } )
2 fo1stresm 6027 . . 3  |-  ( E. x  x  e.  { B }  ->  ( 1st  |`  ( A  X.  { B } ) ) : ( A  X.  { B } ) -onto-> A )
31, 2syl 14 . 2  |-  ( B  e.  V  ->  ( 1st  |`  ( A  X.  { B } ) ) : ( A  X.  { B } ) -onto-> A )
4 moeq 2832 . . . . . 6  |-  E* x  x  =  <. y ,  B >.
54moani 2047 . . . . 5  |-  E* x
( y  e.  A  /\  x  =  <. y ,  B >. )
6 vex 2663 . . . . . . . 8  |-  y  e. 
_V
76brres 4795 . . . . . . 7  |-  ( x ( 1st  |`  ( A  X.  { B }
) ) y  <->  ( x 1st y  /\  x  e.  ( A  X.  { B } ) ) )
8 fo1st 6023 . . . . . . . . . . 11  |-  1st : _V -onto-> _V
9 fofn 5317 . . . . . . . . . . 11  |-  ( 1st
: _V -onto-> _V  ->  1st 
Fn  _V )
108, 9ax-mp 5 . . . . . . . . . 10  |-  1st  Fn  _V
11 vex 2663 . . . . . . . . . 10  |-  x  e. 
_V
12 fnbrfvb 5430 . . . . . . . . . 10  |-  ( ( 1st  Fn  _V  /\  x  e.  _V )  ->  ( ( 1st `  x
)  =  y  <->  x 1st y ) )
1310, 11, 12mp2an 422 . . . . . . . . 9  |-  ( ( 1st `  x )  =  y  <->  x 1st y )
1413anbi1i 453 . . . . . . . 8  |-  ( ( ( 1st `  x
)  =  y  /\  x  e.  ( A  X.  { B } ) )  <->  ( x 1st y  /\  x  e.  ( A  X.  { B } ) ) )
15 elxp7 6036 . . . . . . . . . . 11  |-  ( x  e.  ( A  X.  { B } )  <->  ( x  e.  ( _V  X.  _V )  /\  ( ( 1st `  x )  e.  A  /\  ( 2nd `  x
)  e.  { B } ) ) )
16 eleq1 2180 . . . . . . . . . . . . . . 15  |-  ( ( 1st `  x )  =  y  ->  (
( 1st `  x
)  e.  A  <->  y  e.  A ) )
1716biimpa 294 . . . . . . . . . . . . . 14  |-  ( ( ( 1st `  x
)  =  y  /\  ( 1st `  x )  e.  A )  -> 
y  e.  A )
1817adantrr 470 . . . . . . . . . . . . 13  |-  ( ( ( 1st `  x
)  =  y  /\  ( ( 1st `  x
)  e.  A  /\  ( 2nd `  x )  e.  { B }
) )  ->  y  e.  A )
1918adantrl 469 . . . . . . . . . . . 12  |-  ( ( ( 1st `  x
)  =  y  /\  ( x  e.  ( _V  X.  _V )  /\  ( ( 1st `  x
)  e.  A  /\  ( 2nd `  x )  e.  { B }
) ) )  -> 
y  e.  A )
20 elsni 3515 . . . . . . . . . . . . . 14  |-  ( ( 2nd `  x )  e.  { B }  ->  ( 2nd `  x
)  =  B )
21 eqopi 6038 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  ( _V 
X.  _V )  /\  (
( 1st `  x
)  =  y  /\  ( 2nd `  x )  =  B ) )  ->  x  =  <. y ,  B >. )
2221an12s 539 . . . . . . . . . . . . . 14  |-  ( ( ( 1st `  x
)  =  y  /\  ( x  e.  ( _V  X.  _V )  /\  ( 2nd `  x )  =  B ) )  ->  x  =  <. y ,  B >. )
2320, 22sylanr2 402 . . . . . . . . . . . . 13  |-  ( ( ( 1st `  x
)  =  y  /\  ( x  e.  ( _V  X.  _V )  /\  ( 2nd `  x )  e.  { B }
) )  ->  x  =  <. y ,  B >. )
2423adantrrl 477 . . . . . . . . . . . 12  |-  ( ( ( 1st `  x
)  =  y  /\  ( x  e.  ( _V  X.  _V )  /\  ( ( 1st `  x
)  e.  A  /\  ( 2nd `  x )  e.  { B }
) ) )  ->  x  =  <. y ,  B >. )
2519, 24jca 304 . . . . . . . . . . 11  |-  ( ( ( 1st `  x
)  =  y  /\  ( x  e.  ( _V  X.  _V )  /\  ( ( 1st `  x
)  e.  A  /\  ( 2nd `  x )  e.  { B }
) ) )  -> 
( y  e.  A  /\  x  =  <. y ,  B >. )
)
2615, 25sylan2b 285 . . . . . . . . . 10  |-  ( ( ( 1st `  x
)  =  y  /\  x  e.  ( A  X.  { B } ) )  ->  ( y  e.  A  /\  x  =  <. y ,  B >. ) )
2726adantl 275 . . . . . . . . 9  |-  ( ( B  e.  V  /\  ( ( 1st `  x
)  =  y  /\  x  e.  ( A  X.  { B } ) ) )  ->  (
y  e.  A  /\  x  =  <. y ,  B >. ) )
28 simprr 506 . . . . . . . . . . . 12  |-  ( ( B  e.  V  /\  ( y  e.  A  /\  x  =  <. y ,  B >. )
)  ->  x  =  <. y ,  B >. )
2928fveq2d 5393 . . . . . . . . . . 11  |-  ( ( B  e.  V  /\  ( y  e.  A  /\  x  =  <. y ,  B >. )
)  ->  ( 1st `  x )  =  ( 1st `  <. y ,  B >. ) )
30 simprl 505 . . . . . . . . . . . 12  |-  ( ( B  e.  V  /\  ( y  e.  A  /\  x  =  <. y ,  B >. )
)  ->  y  e.  A )
31 simpl 108 . . . . . . . . . . . 12  |-  ( ( B  e.  V  /\  ( y  e.  A  /\  x  =  <. y ,  B >. )
)  ->  B  e.  V )
32 op1stg 6016 . . . . . . . . . . . 12  |-  ( ( y  e.  A  /\  B  e.  V )  ->  ( 1st `  <. y ,  B >. )  =  y )
3330, 31, 32syl2anc 408 . . . . . . . . . . 11  |-  ( ( B  e.  V  /\  ( y  e.  A  /\  x  =  <. y ,  B >. )
)  ->  ( 1st ` 
<. y ,  B >. )  =  y )
3429, 33eqtrd 2150 . . . . . . . . . 10  |-  ( ( B  e.  V  /\  ( y  e.  A  /\  x  =  <. y ,  B >. )
)  ->  ( 1st `  x )  =  y )
35 snidg 3524 . . . . . . . . . . . . 13  |-  ( B  e.  V  ->  B  e.  { B } )
3635adantr 274 . . . . . . . . . . . 12  |-  ( ( B  e.  V  /\  ( y  e.  A  /\  x  =  <. y ,  B >. )
)  ->  B  e.  { B } )
37 opelxpi 4541 . . . . . . . . . . . 12  |-  ( ( y  e.  A  /\  B  e.  { B } )  ->  <. y ,  B >.  e.  ( A  X.  { B }
) )
3830, 36, 37syl2anc 408 . . . . . . . . . . 11  |-  ( ( B  e.  V  /\  ( y  e.  A  /\  x  =  <. y ,  B >. )
)  ->  <. y ,  B >.  e.  ( A  X.  { B }
) )
3928, 38eqeltrd 2194 . . . . . . . . . 10  |-  ( ( B  e.  V  /\  ( y  e.  A  /\  x  =  <. y ,  B >. )
)  ->  x  e.  ( A  X.  { B } ) )
4034, 39jca 304 . . . . . . . . 9  |-  ( ( B  e.  V  /\  ( y  e.  A  /\  x  =  <. y ,  B >. )
)  ->  ( ( 1st `  x )  =  y  /\  x  e.  ( A  X.  { B } ) ) )
4127, 40impbida 570 . . . . . . . 8  |-  ( B  e.  V  ->  (
( ( 1st `  x
)  =  y  /\  x  e.  ( A  X.  { B } ) )  <->  ( y  e.  A  /\  x  = 
<. y ,  B >. ) ) )
4214, 41syl5bbr 193 . . . . . . 7  |-  ( B  e.  V  ->  (
( x 1st y  /\  x  e.  ( A  X.  { B }
) )  <->  ( y  e.  A  /\  x  =  <. y ,  B >. ) ) )
437, 42syl5bb 191 . . . . . 6  |-  ( B  e.  V  ->  (
x ( 1st  |`  ( A  X.  { B }
) ) y  <->  ( y  e.  A  /\  x  =  <. y ,  B >. ) ) )
4443mobidv 2013 . . . . 5  |-  ( B  e.  V  ->  ( E* x  x ( 1st  |`  ( A  X.  { B } ) ) y  <->  E* x ( y  e.  A  /\  x  =  <. y ,  B >. ) ) )
455, 44mpbiri 167 . . . 4  |-  ( B  e.  V  ->  E* x  x ( 1st  |`  ( A  X.  { B }
) ) y )
4645alrimiv 1830 . . 3  |-  ( B  e.  V  ->  A. y E* x  x ( 1st  |`  ( A  X.  { B } ) ) y )
47 funcnv2 5153 . . 3  |-  ( Fun  `' ( 1st  |`  ( A  X.  { B }
) )  <->  A. y E* x  x ( 1st  |`  ( A  X.  { B } ) ) y )
4846, 47sylibr 133 . 2  |-  ( B  e.  V  ->  Fun  `' ( 1st  |`  ( A  X.  { B }
) ) )
49 dff1o3 5341 . 2  |-  ( ( 1st  |`  ( A  X.  { B } ) ) : ( A  X.  { B }
)
-1-1-onto-> A 
<->  ( ( 1st  |`  ( A  X.  { B }
) ) : ( A  X.  { B } ) -onto-> A  /\  Fun  `' ( 1st  |`  ( A  X.  { B }
) ) ) )
503, 48, 49sylanbrc 413 1  |-  ( B  e.  V  ->  ( 1st  |`  ( A  X.  { B } ) ) : ( A  X.  { B } ) -1-1-onto-> A )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104   A.wal 1314    = wceq 1316   E.wex 1453    e. wcel 1465   E*wmo 1978   _Vcvv 2660   {csn 3497   <.cop 3500   class class class wbr 3899    X. cxp 4507   `'ccnv 4508    |` cres 4511   Fun wfun 5087    Fn wfn 5088   -onto->wfo 5091   -1-1-onto->wf1o 5092   ` cfv 5093   1stc1st 6004   2ndc2nd 6005
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-13 1476  ax-14 1477  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099  ax-sep 4016  ax-pow 4068  ax-pr 4101  ax-un 4325
This theorem depends on definitions:  df-bi 116  df-3an 949  df-tru 1319  df-nf 1422  df-sb 1721  df-eu 1980  df-mo 1981  df-clab 2104  df-cleq 2110  df-clel 2113  df-nfc 2247  df-ral 2398  df-rex 2399  df-rab 2402  df-v 2662  df-sbc 2883  df-csb 2976  df-un 3045  df-in 3047  df-ss 3054  df-pw 3482  df-sn 3503  df-pr 3504  df-op 3506  df-uni 3707  df-iun 3785  df-br 3900  df-opab 3960  df-mpt 3961  df-id 4185  df-xp 4515  df-rel 4516  df-cnv 4517  df-co 4518  df-dm 4519  df-rn 4520  df-res 4521  df-ima 4522  df-iota 5058  df-fun 5095  df-fn 5096  df-f 5097  df-f1 5098  df-fo 5099  df-f1o 5100  df-fv 5101  df-1st 6006  df-2nd 6007
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator