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

Theorem cdaf 15234
Description: The codomain function is a function from arrows to objects. (Contributed by Mario Carneiro, 11-Jan-2017.)
Hypotheses
Ref Expression
arwrcl.a  |-  A  =  (Nat `  C )
arwdm.b  |-  B  =  ( Base `  C
)
Assertion
Ref Expression
cdaf  |-  (coda  |`  A ) : A --> B

Proof of Theorem cdaf
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 fo2nd 6805 . . . . . 6  |-  2nd : _V -onto-> _V
2 fofn 5796 . . . . . 6  |-  ( 2nd
: _V -onto-> _V  ->  2nd 
Fn  _V )
31, 2ax-mp 5 . . . . 5  |-  2nd  Fn  _V
4 fo1st 6804 . . . . . 6  |-  1st : _V -onto-> _V
5 fof 5794 . . . . . 6  |-  ( 1st
: _V -onto-> _V  ->  1st
: _V --> _V )
64, 5ax-mp 5 . . . . 5  |-  1st : _V
--> _V
7 fnfco 5749 . . . . 5  |-  ( ( 2nd  Fn  _V  /\  1st : _V --> _V )  ->  ( 2nd  o.  1st )  Fn  _V )
83, 6, 7mp2an 672 . . . 4  |-  ( 2nd 
o.  1st )  Fn  _V
9 df-coda 15209 . . . . 5  |- coda  =  ( 2nd  o. 
1st )
109fneq1i 5674 . . . 4  |-  (coda  Fn  _V  <->  ( 2nd  o.  1st )  Fn  _V )
118, 10mpbir 209 . . 3  |- coda  Fn  _V
12 ssv 3524 . . 3  |-  A  C_  _V
13 fnssres 5693 . . 3  |-  ( (coda  Fn 
_V  /\  A  C_  _V )  ->  (coda  |`  A )  Fn  A
)
1411, 12, 13mp2an 672 . 2  |-  (coda  |`  A )  Fn  A
15 fvres 5879 . . . 4  |-  ( x  e.  A  ->  (
(coda  |`  A ) `  x
)  =  (coda `  x
) )
16 arwrcl.a . . . . 5  |-  A  =  (Nat `  C )
17 arwdm.b . . . . 5  |-  B  =  ( Base `  C
)
1816, 17arwcd 15232 . . . 4  |-  ( x  e.  A  ->  (coda `  x
)  e.  B )
1915, 18eqeltrd 2555 . . 3  |-  ( x  e.  A  ->  (
(coda  |`  A ) `  x
)  e.  B )
2019rgen 2824 . 2  |-  A. x  e.  A  ( (coda  |`  A ) `
 x )  e.  B
21 ffnfv 6046 . 2  |-  ( (coda  |`  A ) : A --> B 
<->  ( (coda  |`  A )  Fn  A  /\  A. x  e.  A  ( (coda  |`  A ) `  x
)  e.  B ) )
2214, 20, 21mpbir2an 918 1  |-  (coda  |`  A ) : A --> B
Colors of variables: wff setvar class
Syntax hints:    = wceq 1379    e. wcel 1767   A.wral 2814   _Vcvv 3113    C_ wss 3476    |` cres 5001    o. ccom 5003    Fn wfn 5582   -->wf 5583   -onto->wfo 5585   ` cfv 5587   1stc1st 6782   2ndc2nd 6783   Basecbs 14489  codaccoda 15205  Natcarw 15206
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-rep 4558  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6575
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-ral 2819  df-rex 2820  df-reu 2821  df-rab 2823  df-v 3115  df-sbc 3332  df-csb 3436  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-nul 3786  df-if 3940  df-pw 4012  df-sn 4028  df-pr 4030  df-op 4034  df-uni 4246  df-iun 4327  df-br 4448  df-opab 4506  df-mpt 4507  df-id 4795  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-res 5011  df-ima 5012  df-iota 5550  df-fun 5589  df-fn 5590  df-f 5591  df-f1 5592  df-fo 5593  df-f1o 5594  df-fv 5595  df-ov 6286  df-1st 6784  df-2nd 6785  df-doma 15208  df-coda 15209  df-homa 15210  df-arw 15211
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator