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

Theorem arwhoma 18235
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 18233 . . . . . 6 𝐴 = ∪ ran 𝐻
43eleq2i 2856 . . . . 5 (𝐹 ∈ 𝐴 ↔ 𝐹 ∈ ∪ ran 𝐻)
54biimpi 219 . . . 4 (𝐹 ∈ 𝐴 → 𝐹 ∈ ∪ ran 𝐻)
6 eqid 2763 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
71arwrcl 18234 . . . . . 6 (𝐹 ∈ 𝐴 → 𝐶 ∈ Cat)
82, 6, 7homaf 18220 . . . . 5 (𝐹 ∈ 𝐴 → 𝐻:((Base‘𝐶) × (Base‘𝐶))⟶𝒫 (((Base‘𝐶) × (Base‘𝐶)) × V))
9 ffn 6720 . . . . 5 (𝐻:((Base‘𝐶) × (Base‘𝐶))⟶𝒫 (((Base‘𝐶) × (Base‘𝐶)) × V) → 𝐻 Fn ((Base‘𝐶) × (Base‘𝐶)))
10 fnunirn 7267 . . . . 5 (𝐻 Fn ((Base‘𝐶) × (Base‘𝐶)) → (𝐹 ∈ ∪ ran 𝐻 ↔ ∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻‘𝑧)))
118, 9, 103syl 19 . . . 4 (𝐹 ∈ 𝐴 → (𝐹 ∈ ∪ ran 𝐻 ↔ ∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻‘𝑧)))
125, 11mpbid 235 . . 3 (𝐹 ∈ 𝐴 → ∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻‘𝑧))
13 fveq2 6896 . . . . . 6 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐻‘𝑧) = (𝐻‘⟨𝑥, 𝑦⟩))
14 df-ov 7433 . . . . . 6 (𝑥𝐻𝑦) = (𝐻‘⟨𝑥, 𝑦⟩)
1513, 14eqtr4di 2816 . . . . 5 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐻‘𝑧) = (𝑥𝐻𝑦))
1615eleq2d 2850 . . . 4 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐹 ∈ (𝐻‘𝑧) ↔ 𝐹 ∈ (𝑥𝐻𝑦)))
1716rexxp 5824 . . 3 (∃𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝐹 ∈ (𝐻‘𝑧) ↔ ∃𝑥 ∈ (Base‘𝐶)∃𝑦 ∈ (Base‘𝐶)𝐹 ∈ (𝑥𝐻𝑦))
1812, 17sylib 221 . 2 (𝐹 ∈ 𝐴 → ∃𝑥 ∈ (Base‘𝐶)∃𝑦 ∈ (Base‘𝐶)𝐹 ∈ (𝑥𝐻𝑦))
19 id 23 . . . . 5 (𝐹 ∈ (𝑥𝐻𝑦) → 𝐹 ∈ (𝑥𝐻𝑦))
202homadm 18230 . . . . . 6 (𝐹 ∈ (𝑥𝐻𝑦) → (doma‘𝐹) = 𝑥)
212homacd 18231 . . . . . 6 (𝐹 ∈ (𝑥𝐻𝑦) → (coda‘𝐹) = 𝑦)
2220, 21oveq12d 7448 . . . . 5 (𝐹 ∈ (𝑥𝐻𝑦) → ((doma‘𝐹)𝐻(coda‘𝐹)) = (𝑥𝐻𝑦))
2319, 22eleqtrrd 2867 . . . 4 (𝐹 ∈ (𝑥𝐻𝑦) → 𝐹 ∈ ((doma‘𝐹)𝐻(coda‘𝐹)))
2423rexlimivw 3163 . . 3 (∃𝑦 ∈ (Base‘𝐶)𝐹 ∈ (𝑥𝐻𝑦) → 𝐹 ∈ ((doma‘𝐹)𝐻(coda‘𝐹)))
2524rexlimivw 3163 . 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 1569   ∈ wcel 2146  ∃wrex 3090  Vcvv 3454  𝒫 cpw 4560  ⟨cop 4838  ∪ cuni 4870   × cxp 5653  ran crn 5656   Fn wfn 6542  ⟶wf 6543  ‘cfv 6547  (class class class)co 7430  Basecbs 17402  domacdoma 18210  codaccoda 18211  Arrowcarw 18212  Homachoma 18213
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7761
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  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 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-ov 7433  df-1st 8011  df-2nd 8012  df-doma 18214  df-coda 18215  df-homa 18216  df-arw 18217
This theorem is used by:  arwdm  18237  arwcd  18238  arwhom  18241  arwdmcd  18242  coapm  18261
  Copyright terms: Public domain W3C validator