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

Theorem dmaf 18138
Description: The domain 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
dmaf (doma𝐴):𝐴𝐵

Proof of Theorem dmaf
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 fo1st 8006 . . . . . 6 1st :V–onto→V
2 fofn 6791 . . . . . 6 (1st :V–onto→V → 1st Fn V)
31, 2ax-mp 5 . . . . 5 1st Fn V
4 fof 6789 . . . . . 6 (1st :V–onto→V → 1st :V⟶V)
51, 4ax-mp 5 . . . . 5 1st :V⟶V
6 fnfco 6740 . . . . 5 ((1st Fn V ∧ 1st :V⟶V) → (1st ∘ 1st ) Fn V)
73, 5, 6mp2an 705 . . . 4 (1st ∘ 1st ) Fn V
8 df-doma 18113 . . . . 5 doma = (1st ∘ 1st )
98fneq1i 6629 . . . 4 (doma Fn V ↔ (1st ∘ 1st ) Fn V)
107, 9mpbir 234 . . 3 doma Fn V
11 ssv 3955 . . 3 𝐴 ⊆ V
12 fnssres 6655 . . 3 ((doma Fn V ∧ 𝐴 ⊆ V) → (doma𝐴) Fn 𝐴)
1310, 11, 12mp2an 705 . 2 (doma𝐴) Fn 𝐴
14 fvres 6897 . . . 4 (𝑥𝐴 → ((doma𝐴)‘𝑥) = (doma𝑥))
15 arwrcl.a . . . . 5 𝐴 = (Arrow‘𝐶)
16 arwdm.b . . . . 5 𝐵 = (Base‘𝐶)
1715, 16arwdm 18136 . . . 4 (𝑥𝐴 → (doma𝑥) ∈ 𝐵)
1814, 17eqeltrd 2860 . . 3 (𝑥𝐴 → ((doma𝐴)‘𝑥) ∈ 𝐵)
1918rgen 3078 . 2 𝑥𝐴 ((doma𝐴)‘𝑥) ∈ 𝐵
20 ffnfv 7112 . 2 ((doma𝐴):𝐴𝐵 ↔ ((doma𝐴) Fn 𝐴 ∧ ∀𝑥𝐴 ((doma𝐴)‘𝑥) ∈ 𝐵))
2113, 19, 20mpbir2an 724 1 (doma𝐴):𝐴𝐵
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  wcel 2145  wral 3076  Vcvv 3450  wss 3899  cres 5657  ccom 5659   Fn wfn 6528  wf 6529  ontowfo 6531  cfv 6533  1st c1st 7984  Basecbs 17301  domacdoma 18109  Arrowcarw 18111
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-rep 5232  ax-sep 5251  ax-nul 5263  ax-pow 5330  ax-pr 5398  ax-un 7736
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6489  df-fun 6535  df-fn 6536  df-f 6537  df-f1 6538  df-fo 6539  df-f1o 6540  df-fv 6541  df-ov 7416  df-1st 7986  df-2nd 7987  df-doma 18113  df-coda 18114  df-homa 18115  df-arw 18116
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator