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

Theorem arwhoma 18221
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 18219 . . . . . 6 𝐴 = ∪ ran 𝐻
43eleq2i 2853 . . . . 5 (𝐹 ∈ 𝐴 ↔ 𝐹 ∈ ∪ ran 𝐻)
54biimpi 219 . . . 4 (𝐹 ∈ 𝐴 → 𝐹 ∈ ∪ ran 𝐻)
6 eqid 2761 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
71arwrcl 18220 . . . . . 6 (𝐹 ∈ 𝐴 → 𝐶 ∈ Cat)
82, 6, 7homaf 18206 . . . . 5 (𝐹 ∈ 𝐴 → 𝐻:((Base‘𝐶) × (Base‘𝐶))⟶𝒫 (((Base‘𝐶) × (Base‘𝐶)) × V))
9 ffn 6710 . . . . 5 (𝐻:((Base‘𝐶) × (Base‘𝐶))⟶𝒫 (((Base‘𝐶) × (Base‘𝐶)) × V) → 𝐻 Fn ((Base‘𝐶) × (Base‘𝐶)))
10 fnunirn 7258 . . . . 5 (𝐻 Fn ((Base‘𝐶) × (Base‘𝐶)) → (𝐹 ∈ ∪ ran 𝐻 ↔ ∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻‘𝑧)))
118, 9, 103syl 19 . . . 4 (𝐹 ∈ 𝐴 → (𝐹 ∈ ∪ ran 𝐻 ↔ ∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻‘𝑧)))
125, 11mpbid 235 . . 3 (𝐹 ∈ 𝐴 → ∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻‘𝑧))
13 fveq2 6886 . . . . . 6 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐻‘𝑧) = (𝐻‘⟨𝑥, 𝑦⟩))
14 df-ov 7424 . . . . . 6 (𝑥𝐻𝑦) = (𝐻‘⟨𝑥, 𝑦⟩)
1513, 14eqtr4di 2814 . . . . 5 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐻‘𝑧) = (𝑥𝐻𝑦))
1615eleq2d 2847 . . . 4 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐹 ∈ (𝐻‘𝑧) ↔ 𝐹 ∈ (𝑥𝐻𝑦)))
1716rexxp 5819 . . 3 (∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻‘𝑧) ↔ ∃𝑥 ∈ (Base‘𝐶)∃𝑦 ∈ (Base‘𝐶)𝐹 ∈ (𝑥𝐻𝑦))
1812, 17sylib 221 . 2 (𝐹 ∈ 𝐴 → ∃𝑥 ∈ (Base‘𝐶)∃𝑦 ∈ (Base‘𝐶)𝐹 ∈ (𝑥𝐻𝑦))
19 id 23 . . . . 5 (𝐹 ∈ (𝑥𝐻𝑦) → 𝐹 ∈ (𝑥𝐻𝑦))
202homadm 18216 . . . . . 6 (𝐹 ∈ (𝑥𝐻𝑦) → (doma‘𝐹) = 𝑥)
212homacd 18217 . . . . . 6 (𝐹 ∈ (𝑥𝐻𝑦) → (coda‘𝐹) = 𝑦)
2220, 21oveq12d 7439 . . . . 5 (𝐹 ∈ (𝑥𝐻𝑦) → ((doma‘𝐹)𝐻(coda‘𝐹)) = (𝑥𝐻𝑦))
2319, 22eleqtrrd 2864 . . . 4 (𝐹 ∈ (𝑥𝐻𝑦) → 𝐹 ∈ ((doma‘𝐹)𝐻(coda‘𝐹)))
2423rexlimivw 3160 . . 3 (∃𝑦 ∈ (Base‘𝐶)𝐹 ∈ (𝑥𝐻𝑦) → 𝐹 ∈ ((doma‘𝐹)𝐻(coda‘𝐹)))
2524rexlimivw 3160 . 2 (∃𝑥 ∈ (Base‘𝐶)∃𝑦 ∈ (Base‘𝐶)𝐹 ∈ (𝑥𝐻𝑦) → 𝐹 ∈ ((doma‘𝐹)𝐻(coda‘𝐹)))
2618, 25syl 18 1 (𝐹 ∈ 𝐴 → 𝐹 ∈ ((doma‘𝐹)𝐻(coda‘𝐹)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1570   ∈ wcel 2145  ∃wrex 3087  Vcvv 3451  𝒫 cpw 4557  ⟨cop 4590  ∪ cuni 4867   × cxp 5649  ran crn 5652   Fn wfn 6534  ⟶wf 6535  ‘cfv 6539  (class class class)co 7421  Basecbs 17388  domacdoma 18196  codaccoda 18197  Arrowcarw 18198  Homachoma 18199
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 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7752
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 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3900  df-un 3902  df-in 3904  df-ss 3915  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 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6495  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-ov 7424  df-1st 8002  df-2nd 8003  df-doma 18200  df-coda 18201  df-homa 18202  df-arw 18203
This theorem is used by:  arwdm  18223  arwcd  18224  arwhom  18227  arwdmcd  18228  coapm  18247
  Copyright terms: Public domain W3C validator