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

Theorem fuchom 17925
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 2737 . . . . 5 (𝐶 Func 𝐷) = (𝐶 Func 𝐷)
3 fuchom.n . . . . 5 𝑁 = (𝐶 Nat 𝐷)
4 eqid 2737 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
5 eqid 2737 . . . . 5 (comp‘𝐷) = (comp‘𝐷)
6 simpl 482 . . . . 5 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝐶 ∈ Cat)
7 simpr 484 . . . . 5 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝐷 ∈ Cat)
8 eqid 2737 . . . . . 6 (comp‘𝑄) = (comp‘𝑄)
91, 2, 3, 4, 5, 6, 7, 8fuccofval 17923 . . . . 5 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (comp‘𝑄) = (𝑣 ∈ ((𝐶 Func 𝐷) × (𝐶 Func 𝐷)), ∈ (𝐶 Func 𝐷) ↦ (1st𝑣) / 𝑓(2nd𝑣) / 𝑔(𝑏 ∈ (𝑔𝑁), 𝑎 ∈ (𝑓𝑁𝑔) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏𝑥)(⟨((1st𝑓)‘𝑥), ((1st𝑔)‘𝑥)⟩(comp‘𝐷)((1st)‘𝑥))(𝑎𝑥))))))
101, 2, 3, 4, 5, 6, 7, 9fucval 17922 . . . 4 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑄 = {⟨(Base‘ndx), (𝐶 Func 𝐷)⟩, ⟨(Hom ‘ndx), 𝑁⟩, ⟨(comp‘ndx), (comp‘𝑄)⟩})
11 catstr 17921 . . . 4 {⟨(Base‘ndx), (𝐶 Func 𝐷)⟩, ⟨(Hom ‘ndx), 𝑁⟩, ⟨(comp‘ndx), (comp‘𝑄)⟩} Struct ⟨1, 15⟩
12 homid 17369 . . . 4 Hom = Slot (Hom ‘ndx)
13 snsstp2 4761 . . . 4 {⟨(Hom ‘ndx), 𝑁⟩} ⊆ {⟨(Base‘ndx), (𝐶 Func 𝐷)⟩, ⟨(Hom ‘ndx), 𝑁⟩, ⟨(comp‘ndx), (comp‘𝑄)⟩}
143ovexi 7395 . . . . 5 𝑁 ∈ V
1514a1i 11 . . . 4 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑁 ∈ V)
16 eqid 2737 . . . 4 (Hom ‘𝑄) = (Hom ‘𝑄)
1710, 11, 12, 13, 15, 16strfv3 17168 . . 3 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (Hom ‘𝑄) = 𝑁)
1817eqcomd 2743 . 2 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑁 = (Hom ‘𝑄))
1912str0 17153 . . 3 ∅ = (Hom ‘∅)
203natffn 17913 . . . . 5 𝑁 Fn ((𝐶 Func 𝐷) × (𝐶 Func 𝐷))
21 funcrcl 17824 . . . . . . . . . 10 (𝑓 ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
2221con3i 154 . . . . . . . . 9 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → ¬ 𝑓 ∈ (𝐶 Func 𝐷))
2322eq0rdv 4348 . . . . . . . 8 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 Func 𝐷) = ∅)
2423xpeq2d 5655 . . . . . . 7 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → ((𝐶 Func 𝐷) × (𝐶 Func 𝐷)) = ((𝐶 Func 𝐷) × ∅))
25 xp0 5725 . . . . . . 7 ((𝐶 Func 𝐷) × ∅) = ∅
2624, 25eqtrdi 2788 . . . . . 6 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → ((𝐶 Func 𝐷) × (𝐶 Func 𝐷)) = ∅)
2726fneq2d 6587 . . . . 5 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝑁 Fn ((𝐶 Func 𝐷) × (𝐶 Func 𝐷)) ↔ 𝑁 Fn ∅))
2820, 27mpbii 233 . . . 4 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑁 Fn ∅)
29 fn0 6624 . . . 4 (𝑁 Fn ∅ ↔ 𝑁 = ∅)
3028, 29sylib 218 . . 3 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑁 = ∅)
31 fnfuc 17909 . . . . . . 7 FuncCat Fn (Cat × Cat)
3231fndmi 6597 . . . . . 6 dom FuncCat = (Cat × Cat)
3332ndmov 7545 . . . . 5 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 FuncCat 𝐷) = ∅)
341, 33eqtrid 2784 . . . 4 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑄 = ∅)
3534fveq2d 6839 . . 3 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (Hom ‘𝑄) = (Hom ‘∅))
3619, 30, 353eqtr4a 2798 . 2 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑁 = (Hom ‘𝑄))
3718, 36pm2.61i 182 1 𝑁 = (Hom ‘𝑄)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 395   = wceq 1542  wcel 2114  Vcvv 3430  c0 4274  {ctp 4572  cop 4574   × cxp 5623   Fn wfn 6488  cfv 6493  (class class class)co 7361  1c1 11033  5c5 12233  cdc 12638  ndxcnx 17157  Basecbs 17173  Hom chom 17225  compcco 17226  Catccat 17624   Func cfunc 17815   Nat cnat 17905   FuncCat cfuc 17906
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-rep 5213  ax-sep 5232  ax-nul 5242  ax-pow 5303  ax-pr 5371  ax-un 7683  ax-cnex 11088  ax-resscn 11089  ax-1cn 11090  ax-icn 11091  ax-addcl 11092  ax-addrcl 11093  ax-mulcl 11094  ax-mulrcl 11095  ax-mulcom 11096  ax-addass 11097  ax-mulass 11098  ax-distr 11099  ax-i2m1 11100  ax-1ne0 11101  ax-1rid 11102  ax-rnegex 11103  ax-rrecex 11104  ax-cnre 11105  ax-pre-lttri 11106  ax-pre-lttrn 11107  ax-pre-ltadd 11108  ax-pre-mulgt0 11109
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-nel 3038  df-ral 3053  df-rex 3063  df-reu 3344  df-rab 3391  df-v 3432  df-sbc 3730  df-csb 3839  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-pss 3910  df-nul 4275  df-if 4468  df-pw 4544  df-sn 4569  df-pr 4571  df-tp 4573  df-op 4575  df-uni 4852  df-iun 4936  df-br 5087  df-opab 5149  df-mpt 5168  df-tr 5194  df-id 5520  df-eprel 5525  df-po 5533  df-so 5534  df-fr 5578  df-we 5580  df-xp 5631  df-rel 5632  df-cnv 5633  df-co 5634  df-dm 5635  df-rn 5636  df-res 5637  df-ima 5638  df-pred 6260  df-ord 6321  df-on 6322  df-lim 6323  df-suc 6324  df-iota 6449  df-fun 6495  df-fn 6496  df-f 6497  df-f1 6498  df-fo 6499  df-f1o 6500  df-fv 6501  df-riota 7318  df-ov 7364  df-oprab 7365  df-mpo 7366  df-om 7812  df-1st 7936  df-2nd 7937  df-frecs 8225  df-wrecs 8256  df-recs 8305  df-rdg 8343  df-1o 8399  df-er 8637  df-ixp 8840  df-en 8888  df-dom 8889  df-sdom 8890  df-fin 8891  df-pnf 11175  df-mnf 11176  df-xr 11177  df-ltxr 11178  df-le 11179  df-sub 11373  df-neg 11374  df-nn 12169  df-2 12238  df-3 12239  df-4 12240  df-5 12241  df-6 12242  df-7 12243  df-8 12244  df-9 12245  df-n0 12432  df-z 12519  df-dec 12639  df-uz 12783  df-fz 13456  df-struct 17111  df-slot 17146  df-ndx 17158  df-base 17174  df-hom 17238  df-cco 17239  df-func 17819  df-nat 17907  df-fuc 17908
This theorem is referenced by:  fuccatid  17933  fucsect  17936  fuciso  17939  evlfcllem  18181  evlfcl  18182  curfcl  18192  uncf2  18197  curfuncf  18198  diag2cl  18206  curf2ndf  18207  yonedalem21  18233  yonedalem22  18238  yonedalem3b  18239  yonedalem3  18240  yonffthlem  18242  xpcfuchomfval  49743  xpcfuchom  49744  xpcfuchom2  49745  xpcfucco2  49746  diag2f1  49799  fucoid  49838  fucofunc  49849  postcofval  49854  precofval  49857  precofvalALT  49858  fucoppcco  49899  fucoppc  49900  oppfdiag  49906  diagffth  50028  funcsn  50031  0fucterm  50033  lanrcl5  50125  ranrcl5  50130  lanup  50131  ranup  50132  islmd  50155  iscmd  50156  lmddu  50157
  Copyright terms: Public domain W3C validator