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

Theorem fuchom 17886
Description: The morphisms in the functor category are natural transformations. (Contributed by Mario Carneiro, 6-Jan-2017.) (Proof shortened by AV, 14-Oct-2024.)
Hypotheses
Ref Expression
fucbas.q 𝑄 = (𝐶 FuncCat 𝐷)
fuchom.n 𝑁 = (𝐶 Nat 𝐷)
Assertion
Ref Expression
fuchom 𝑁 = (Hom ‘𝑄)

Proof of Theorem fuchom
Dummy variables 𝑎 𝑏 𝑓 𝑔 𝑣 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fucbas.q . . . . 5 𝑄 = (𝐶 FuncCat 𝐷)
2 eqid 2734 . . . . 5 (𝐶 Func 𝐷) = (𝐶 Func 𝐷)
3 fuchom.n . . . . 5 𝑁 = (𝐶 Nat 𝐷)
4 eqid 2734 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
5 eqid 2734 . . . . 5 (comp‘𝐷) = (comp‘𝐷)
6 simpl 482 . . . . 5 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝐶 ∈ Cat)
7 simpr 484 . . . . 5 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝐷 ∈ Cat)
8 eqid 2734 . . . . . 6 (comp‘𝑄) = (comp‘𝑄)
91, 2, 3, 4, 5, 6, 7, 8fuccofval 17884 . . . . 5 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (comp‘𝑄) = (𝑣 ∈ ((𝐶 Func 𝐷) × (𝐶 Func 𝐷)), ∈ (𝐶 Func 𝐷) ↦ (1st𝑣) / 𝑓(2nd𝑣) / 𝑔(𝑏 ∈ (𝑔𝑁), 𝑎 ∈ (𝑓𝑁𝑔) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏𝑥)(⟨((1st𝑓)‘𝑥), ((1st𝑔)‘𝑥)⟩(comp‘𝐷)((1st)‘𝑥))(𝑎𝑥))))))
101, 2, 3, 4, 5, 6, 7, 9fucval 17883 . . . 4 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑄 = {⟨(Base‘ndx), (𝐶 Func 𝐷)⟩, ⟨(Hom ‘ndx), 𝑁⟩, ⟨(comp‘ndx), (comp‘𝑄)⟩})
11 catstr 17882 . . . 4 {⟨(Base‘ndx), (𝐶 Func 𝐷)⟩, ⟨(Hom ‘ndx), 𝑁⟩, ⟨(comp‘ndx), (comp‘𝑄)⟩} Struct ⟨1, 15⟩
12 homid 17330 . . . 4 Hom = Slot (Hom ‘ndx)
13 snsstp2 4771 . . . 4 {⟨(Hom ‘ndx), 𝑁⟩} ⊆ {⟨(Base‘ndx), (𝐶 Func 𝐷)⟩, ⟨(Hom ‘ndx), 𝑁⟩, ⟨(comp‘ndx), (comp‘𝑄)⟩}
143ovexi 7390 . . . . 5 𝑁 ∈ V
1514a1i 11 . . . 4 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑁 ∈ V)
16 eqid 2734 . . . 4 (Hom ‘𝑄) = (Hom ‘𝑄)
1710, 11, 12, 13, 15, 16strfv3 17129 . . 3 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (Hom ‘𝑄) = 𝑁)
1817eqcomd 2740 . 2 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑁 = (Hom ‘𝑄))
1912str0 17114 . . 3 ∅ = (Hom ‘∅)
203natffn 17874 . . . . 5 𝑁 Fn ((𝐶 Func 𝐷) × (𝐶 Func 𝐷))
21 funcrcl 17785 . . . . . . . . . 10 (𝑓 ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
2221con3i 154 . . . . . . . . 9 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → ¬ 𝑓 ∈ (𝐶 Func 𝐷))
2322eq0rdv 4357 . . . . . . . 8 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 Func 𝐷) = ∅)
2423xpeq2d 5652 . . . . . . 7 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → ((𝐶 Func 𝐷) × (𝐶 Func 𝐷)) = ((𝐶 Func 𝐷) × ∅))
25 xp0 5722 . . . . . . 7 ((𝐶 Func 𝐷) × ∅) = ∅
2624, 25eqtrdi 2785 . . . . . 6 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → ((𝐶 Func 𝐷) × (𝐶 Func 𝐷)) = ∅)
2726fneq2d 6584 . . . . 5 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝑁 Fn ((𝐶 Func 𝐷) × (𝐶 Func 𝐷)) ↔ 𝑁 Fn ∅))
2820, 27mpbii 233 . . . 4 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑁 Fn ∅)
29 fn0 6621 . . . 4 (𝑁 Fn ∅ ↔ 𝑁 = ∅)
3028, 29sylib 218 . . 3 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑁 = ∅)
31 fnfuc 17870 . . . . . . 7 FuncCat Fn (Cat × Cat)
3231fndmi 6594 . . . . . 6 dom FuncCat = (Cat × Cat)
3332ndmov 7540 . . . . 5 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 FuncCat 𝐷) = ∅)
341, 33eqtrid 2781 . . . 4 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑄 = ∅)
3534fveq2d 6836 . . 3 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (Hom ‘𝑄) = (Hom ‘∅))
3619, 30, 353eqtr4a 2795 . 2 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑁 = (Hom ‘𝑄))
3718, 36pm2.61i 182 1 𝑁 = (Hom ‘𝑄)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 395   = wceq 1541  wcel 2113  Vcvv 3438  c0 4283  {ctp 4582  cop 4584   × cxp 5620   Fn wfn 6485  cfv 6490  (class class class)co 7356  1c1 11025  5c5 12201  cdc 12605  ndxcnx 17118  Basecbs 17134  Hom chom 17186  compcco 17187  Catccat 17585   Func cfunc 17776   Nat cnat 17866   FuncCat cfuc 17867
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2706  ax-rep 5222  ax-sep 5239  ax-nul 5249  ax-pow 5308  ax-pr 5375  ax-un 7678  ax-cnex 11080  ax-resscn 11081  ax-1cn 11082  ax-icn 11083  ax-addcl 11084  ax-addrcl 11085  ax-mulcl 11086  ax-mulrcl 11087  ax-mulcom 11088  ax-addass 11089  ax-mulass 11090  ax-distr 11091  ax-i2m1 11092  ax-1ne0 11093  ax-1rid 11094  ax-rnegex 11095  ax-rrecex 11096  ax-cnre 11097  ax-pre-lttri 11098  ax-pre-lttrn 11099  ax-pre-ltadd 11100  ax-pre-mulgt0 11101
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2809  df-nfc 2883  df-ne 2931  df-nel 3035  df-ral 3050  df-rex 3059  df-reu 3349  df-rab 3398  df-v 3440  df-sbc 3739  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4579  df-pr 4581  df-tp 4583  df-op 4585  df-uni 4862  df-iun 4946  df-br 5097  df-opab 5159  df-mpt 5178  df-tr 5204  df-id 5517  df-eprel 5522  df-po 5530  df-so 5531  df-fr 5575  df-we 5577  df-xp 5628  df-rel 5629  df-cnv 5630  df-co 5631  df-dm 5632  df-rn 5633  df-res 5634  df-ima 5635  df-pred 6257  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6446  df-fun 6492  df-fn 6493  df-f 6494  df-f1 6495  df-fo 6496  df-f1o 6497  df-fv 6498  df-riota 7313  df-ov 7359  df-oprab 7360  df-mpo 7361  df-om 7807  df-1st 7931  df-2nd 7932  df-frecs 8221  df-wrecs 8252  df-recs 8301  df-rdg 8339  df-1o 8395  df-er 8633  df-ixp 8834  df-en 8882  df-dom 8883  df-sdom 8884  df-fin 8885  df-pnf 11166  df-mnf 11167  df-xr 11168  df-ltxr 11169  df-le 11170  df-sub 11364  df-neg 11365  df-nn 12144  df-2 12206  df-3 12207  df-4 12208  df-5 12209  df-6 12210  df-7 12211  df-8 12212  df-9 12213  df-n0 12400  df-z 12487  df-dec 12606  df-uz 12750  df-fz 13422  df-struct 17072  df-slot 17107  df-ndx 17119  df-base 17135  df-hom 17199  df-cco 17200  df-func 17780  df-nat 17868  df-fuc 17869
This theorem is referenced by:  fuccatid  17894  fucsect  17897  fuciso  17900  evlfcllem  18142  evlfcl  18143  curfcl  18153  uncf2  18158  curfuncf  18159  diag2cl  18167  curf2ndf  18168  yonedalem21  18194  yonedalem22  18199  yonedalem3b  18200  yonedalem3  18201  yonffthlem  18203  xpcfuchomfval  49440  xpcfuchom  49441  xpcfuchom2  49442  xpcfucco2  49443  diag2f1  49496  fucoid  49535  fucofunc  49546  postcofval  49551  precofval  49554  precofvalALT  49555  fucoppcco  49596  fucoppc  49597  oppfdiag  49603  diagffth  49725  funcsn  49728  0fucterm  49730  lanrcl5  49822  ranrcl5  49827  lanup  49828  ranup  49829  islmd  49852  iscmd  49853  lmddu  49854
  Copyright terms: Public domain W3C validator