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

Theorem arwhoma 17676
Description: An arrow is contained in the hom-set corresponding to its domain and codomain. (Contributed by Mario Carneiro, 11-Jan-2017.)
Hypotheses
Ref Expression
arwrcl.a 𝐴 = (Arrow‘𝐶)
arwhoma.h 𝐻 = (Homa𝐶)
Assertion
Ref Expression
arwhoma (𝐹𝐴𝐹 ∈ ((doma𝐹)𝐻(coda𝐹)))

Proof of Theorem arwhoma
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 arwrcl.a . . . . . . 7 𝐴 = (Arrow‘𝐶)
2 arwhoma.h . . . . . . 7 𝐻 = (Homa𝐶)
31, 2arwval 17674 . . . . . 6 𝐴 = ran 𝐻
43eleq2i 2830 . . . . 5 (𝐹𝐴𝐹 ran 𝐻)
54biimpi 215 . . . 4 (𝐹𝐴𝐹 ran 𝐻)
6 eqid 2738 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
71arwrcl 17675 . . . . . 6 (𝐹𝐴𝐶 ∈ Cat)
82, 6, 7homaf 17661 . . . . 5 (𝐹𝐴𝐻:((Base‘𝐶) × (Base‘𝐶))⟶𝒫 (((Base‘𝐶) × (Base‘𝐶)) × V))
9 ffn 6584 . . . . 5 (𝐻:((Base‘𝐶) × (Base‘𝐶))⟶𝒫 (((Base‘𝐶) × (Base‘𝐶)) × V) → 𝐻 Fn ((Base‘𝐶) × (Base‘𝐶)))
10 fnunirn 7108 . . . . 5 (𝐻 Fn ((Base‘𝐶) × (Base‘𝐶)) → (𝐹 ran 𝐻 ↔ ∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻𝑧)))
118, 9, 103syl 18 . . . 4 (𝐹𝐴 → (𝐹 ran 𝐻 ↔ ∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻𝑧)))
125, 11mpbid 231 . . 3 (𝐹𝐴 → ∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻𝑧))
13 fveq2 6756 . . . . . 6 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐻𝑧) = (𝐻‘⟨𝑥, 𝑦⟩))
14 df-ov 7258 . . . . . 6 (𝑥𝐻𝑦) = (𝐻‘⟨𝑥, 𝑦⟩)
1513, 14eqtr4di 2797 . . . . 5 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐻𝑧) = (𝑥𝐻𝑦))
1615eleq2d 2824 . . . 4 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐹 ∈ (𝐻𝑧) ↔ 𝐹 ∈ (𝑥𝐻𝑦)))
1716rexxp 5740 . . 3 (∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻𝑧) ↔ ∃𝑥 ∈ (Base‘𝐶)∃𝑦 ∈ (Base‘𝐶)𝐹 ∈ (𝑥𝐻𝑦))
1812, 17sylib 217 . 2 (𝐹𝐴 → ∃𝑥 ∈ (Base‘𝐶)∃𝑦 ∈ (Base‘𝐶)𝐹 ∈ (𝑥𝐻𝑦))
19 id 22 . . . . 5 (𝐹 ∈ (𝑥𝐻𝑦) → 𝐹 ∈ (𝑥𝐻𝑦))
202homadm 17671 . . . . . 6 (𝐹 ∈ (𝑥𝐻𝑦) → (doma𝐹) = 𝑥)
212homacd 17672 . . . . . 6 (𝐹 ∈ (𝑥𝐻𝑦) → (coda𝐹) = 𝑦)
2220, 21oveq12d 7273 . . . . 5 (𝐹 ∈ (𝑥𝐻𝑦) → ((doma𝐹)𝐻(coda𝐹)) = (𝑥𝐻𝑦))
2319, 22eleqtrrd 2842 . . . 4 (𝐹 ∈ (𝑥𝐻𝑦) → 𝐹 ∈ ((doma𝐹)𝐻(coda𝐹)))
2423rexlimivw 3210 . . 3 (∃𝑦 ∈ (Base‘𝐶)𝐹 ∈ (𝑥𝐻𝑦) → 𝐹 ∈ ((doma𝐹)𝐻(coda𝐹)))
2524rexlimivw 3210 . 2 (∃𝑥 ∈ (Base‘𝐶)∃𝑦 ∈ (Base‘𝐶)𝐹 ∈ (𝑥𝐻𝑦) → 𝐹 ∈ ((doma𝐹)𝐻(coda𝐹)))
2618, 25syl 17 1 (𝐹𝐴𝐹 ∈ ((doma𝐹)𝐻(coda𝐹)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205   = wceq 1539  wcel 2108  wrex 3064  Vcvv 3422  𝒫 cpw 4530  cop 4564   cuni 4836   × cxp 5578  ran crn 5581   Fn wfn 6413  wf 6414  cfv 6418  (class class class)co 7255  Basecbs 16840  domacdoma 17651  codaccoda 17652  Arrowcarw 17653  Homachoma 17654
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-1st 7804  df-2nd 7805  df-doma 17655  df-coda 17656  df-homa 17657  df-arw 17658
This theorem is referenced by:  arwdm  17678  arwcd  17679  arwhom  17682  arwdmcd  17683  coapm  17702
  Copyright terms: Public domain W3C validator