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

Theorem dmaf 18142
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 8009 . . . . . 6 1st :V–onto→V
2 fofn 6795 . . . . . 6 (1st :V–onto→V → 1st Fn V)
31, 2ax-mp 5 . . . . 5 1st Fn V
4 fof 6793 . . . . . 6 (1st :V–onto→V → 1st :V⟶V)
51, 4ax-mp 5 . . . . 5 1st :V⟶V
6 fnfco 6744 . . . . 5 ((1st Fn V ∧ 1st :V⟶V) → (1st ∘ 1st ) Fn V)
73, 5, 6mp2an 705 . . . 4 (1st ∘ 1st ) Fn V
8 df-doma 18117 . . . . 5 doma = (1st ∘ 1st )
98fneq1i 6633 . . . 4 (doma Fn V ↔ (1st ∘ 1st ) Fn V)
107, 9mpbir 234 . . 3 doma Fn V
11 ssv 3958 . . 3 𝐴 ⊆ V
12 fnssres 6659 . . 3 ((doma Fn V ∧ 𝐴 ⊆ V) → (doma𝐴) Fn 𝐴)
1310, 11, 12mp2an 705 . 2 (doma𝐴) Fn 𝐴
14 fvres 6901 . . . 4 (𝑥𝐴 → ((doma𝐴)‘𝑥) = (doma𝑥))
15 arwrcl.a . . . . 5 𝐴 = (Arrow‘𝐶)
16 arwdm.b . . . . 5 𝐵 = (Base‘𝐶)
1715, 16arwdm 18140 . . . 4 (𝑥𝐴 → (doma𝑥) ∈ 𝐵)
1814, 17eqeltrd 2862 . . 3 (𝑥𝐴 → ((doma𝐴)‘𝑥) ∈ 𝐵)
1918rgen 3080 . 2 𝑥𝐴 ((doma𝐴)‘𝑥) ∈ 𝐵
20 ffnfv 7115 . 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 3078  Vcvv 3453  wss 3902  cres 5661  ccom 5663   Fn wfn 6532  wf 6533  ontowfo 6535  cfv 6537  1st c1st 7987  Basecbs 17305  domacdoma 18113  Arrowcarw 18115
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 2215  ax-ext 2734  ax-rep 5236  ax-sep 5255  ax-nul 5267  ax-pow 5334  ax-pr 5402  ax-un 7739
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 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-ral 3079  df-rex 3089  df-reu 3368  df-rab 3415  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4283  df-if 4486  df-pw 4562  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4871  df-iun 4956  df-br 5108  df-opab 5172  df-mpt 5191  df-id 5554  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7419  df-1st 7989  df-2nd 7990  df-doma 18117  df-coda 18118  df-homa 18119  df-arw 18120
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator