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

Theorem cdaf 18300
Description: The codomain function is a function from arrows to objects. (Contributed by Mario Carneiro, 11-Jan-2017.)
Hypotheses
Ref Expression
arwrcl.a 𝐴 = (Arrow‘𝐶)
arwdm.b 𝐵 = (Base‘𝐶)
Assertion
Ref Expression
cdaf (coda ↾ 𝐴):𝐴⟶𝐵

Proof of Theorem cdaf
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 fo2nd 8072 . . . . . 6 2nd :V⟶ontoV
2 fofn 6843 . . . . . 6 (2nd :V⟶ontoV → 2nd Fn V)
31, 2ax-mp 5 . . . . 5 2nd Fn V
4 fo1st 8071 . . . . . 6 1st :V⟶ontoV
5 fof 6841 . . . . . 6 (1st :V⟶ontoV → 1st :V⟶V)
64, 5ax-mp 5 . . . . 5 1st :V⟶V
7 fnfco 6792 . . . . 5 ((2nd Fn V ∧ 1st :V⟶V) → (2nd ∘ 1st ) Fn V)
83, 6, 7mp2an 705 . . . 4 (2nd ∘ 1st ) Fn V
9 df-coda 18275 . . . . 5 coda = (2nd ∘ 1st )
109fneq1i 6681 . . . 4 (coda Fn V ↔ (2nd ∘ 1st ) Fn V)
118, 10mpbir 234 . . 3 coda Fn V
12 ssv 3944 . . 3 𝐴 ⊆ V
13 fnssres 6707 . . 3 ((coda Fn V ∧ 𝐴 ⊆ V) → (coda ↾ 𝐴) Fn 𝐴)
1411, 12, 13mp2an 705 . 2 (coda ↾ 𝐴) Fn 𝐴
15 fvres 6950 . . . 4 (𝑥 ∈ 𝐴 → ((coda ↾ 𝐴)‘𝑥) = (coda‘𝑥))
16 arwrcl.a . . . . 5 𝐴 = (Arrow‘𝐶)
17 arwdm.b . . . . 5 𝐵 = (Base‘𝐶)
1816, 17arwcd 18298 . . . 4 (𝑥 ∈ 𝐴 → (coda‘𝑥) ∈ 𝐵)
1915, 18eqeltrd 2875 . . 3 (𝑥 ∈ 𝐴 → ((coda ↾ 𝐴)‘𝑥) ∈ 𝐵)
2019rgen 3093 . 2 ∀𝑥 ∈ 𝐴 ((coda ↾ 𝐴)‘𝑥) ∈ 𝐵
21 ffnfv 7166 . 2 ((coda ↾ 𝐴):𝐴⟶𝐵 ↔ ((coda ↾ 𝐴) Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 ((coda ↾ 𝐴)‘𝑥) ∈ 𝐵))
2214, 20, 21mpbir2an 724 1 (coda ↾ 𝐴):𝐴⟶𝐵
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572   ∈ wcel 2156  ∀wral 3091  Vcvv 3461   ⊆ wss 3907   ↾ cres 5668   ∘ ccom 5670   Fn wfn 6573  ⟶wf 6574  ⟶ontowfo 6576  ‘cfv 6578  1st c1st 8049  2nd c2nd 8050  Basecbs 17452  codaccoda 18271  Arrowcarw 18272
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-ov 7470  df-1st 8051  df-2nd 8052  df-doma 18274  df-coda 18275  df-homa 18276  df-arw 18277
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator