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

Theorem fucbas 18118
Description: The objects of the functor category are functors from 𝐶 to 𝐷. (Contributed by Mario Carneiro, 6-Jan-2017.) (Revised by Mario Carneiro, 12-Jan-2017.)
Hypothesis
Ref Expression
fucbas.q 𝑄 = (𝐶 FuncCat 𝐷)
Assertion
Ref Expression
fucbas (𝐶 Func 𝐷) = (Base‘𝑄)

Proof of Theorem fucbas
Dummy variables 𝑎 𝑏 𝑓 𝑔 ℎ 𝑣 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fucbas.q . . . . 5 𝑄 = (𝐶 FuncCat 𝐷)
2 eqid 2761 . . . . 5 (𝐶 Func 𝐷) = (𝐶 Func 𝐷)
3 eqid 2761 . . . . 5 (𝐶 Nat 𝐷) = (𝐶 Nat 𝐷)
4 eqid 2761 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
5 eqid 2761 . . . . 5 (comp‘𝐷) = (comp‘𝐷)
6 simpl 488 . . . . 5 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝐶 ∈ Cat)
7 simpr 490 . . . . 5 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝐷 ∈ Cat)
8 eqid 2761 . . . . . 6 (comp‘𝑄) = (comp‘𝑄)
91, 2, 3, 4, 5, 6, 7, 8fuccofval 18117 . . . . 5 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (comp‘𝑄) = (𝑣 ∈ ((𝐶 Func 𝐷) × (𝐶 Func 𝐷)), ℎ ∈ (𝐶 Func 𝐷) ↦ ⦋(1st ‘𝑣) / 𝑓⦌⦋(2nd ‘𝑣) / 𝑔⦌(𝑏 ∈ (𝑔(𝐶 Nat 𝐷)ℎ), 𝑎 ∈ (𝑓(𝐶 Nat 𝐷)𝑔) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘𝑥)(⟨((1st ‘𝑓)‘𝑥), ((1st ‘𝑔)‘𝑥)⟩(comp‘𝐷)((1st ‘ℎ)‘𝑥))(𝑎‘𝑥))))))
101, 2, 3, 4, 5, 6, 7, 9fucval 18116 . . . 4 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑄 = {⟨(Base‘ndx), (𝐶 Func 𝐷)⟩, ⟨(Hom ‘ndx), (𝐶 Nat 𝐷)⟩, ⟨(comp‘ndx), (comp‘𝑄)⟩})
11 catstr 18115 . . . 4 {⟨(Base‘ndx), (𝐶 Func 𝐷)⟩, ⟨(Hom ‘ndx), (𝐶 Nat 𝐷)⟩, ⟨(comp‘ndx), (comp‘𝑄)⟩} Struct ⟨1, 15⟩
12 baseid 17370 . . . 4 Base = Slot (Base‘ndx)
13 snsstp1 4777 . . . 4 {⟨(Base‘ndx), (𝐶 Func 𝐷)⟩} ⊆ {⟨(Base‘ndx), (𝐶 Func 𝐷)⟩, ⟨(Hom ‘ndx), (𝐶 Nat 𝐷)⟩, ⟨(comp‘ndx), (comp‘𝑄)⟩}
14 ovexd 7447 . . . 4 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 Func 𝐷) ∈ V)
15 eqid 2761 . . . 4 (Base‘𝑄) = (Base‘𝑄)
1610, 11, 12, 13, 14, 15strfv3 17362 . . 3 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (Base‘𝑄) = (𝐶 Func 𝐷))
1716eqcomd 2767 . 2 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 Func 𝐷) = (Base‘𝑄))
18 base0 17372 . . 3 ∅ = (Base‘∅)
19 funcrcl 18018 . . . . 5 (𝑓 ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
2019con3i 155 . . . 4 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → ¬ 𝑓 ∈ (𝐶 Func 𝐷))
2120eq0rdv 4365 . . 3 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 Func 𝐷) = ∅)
22 fnfuc 18103 . . . . . . 7 FuncCat Fn (Cat × Cat)
2322fndmi 6635 . . . . . 6 dom FuncCat = (Cat × Cat)
2423ndmov 7597 . . . . 5 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 FuncCat 𝐷) = ∅)
251, 24eqtrid 2808 . . . 4 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → 𝑄 = ∅)
2625fveq2d 6881 . . 3 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (Base‘𝑄) = (Base‘∅))
2718, 21, 263eqtr4a 2822 . 2 (¬ (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 Func 𝐷) = (Base‘𝑄))
2817, 27pm2.61i 184 1 (𝐶 Func 𝐷) = (Base‘𝑄)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451  ∅c0 4279  {ctp 4588  ⟨cop 4590   × cxp 5649  ‘cfv 6531  (class class class)co 7412  1c1 11182  5c5 12381  cdc 12795  ndxcnx 17351  Basecbs 17367  Hom chom 17419  compcco 17420  Catccat 17818   Func cfunc 18009   Nat cnat 18099   FuncCat cfuc 18100
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 7740  ax-cnex 11237  ax-resscn 11238  ax-1cn 11239  ax-icn 11240  ax-addcl 11241  ax-addrcl 11242  ax-mulcl 11243  ax-mulrcl 11244  ax-mulcom 11245  ax-addass 11246  ax-mulass 11247  ax-distr 11248  ax-i2m1 11249  ax-1ne0 11250  ax-1rid 11251  ax-rnegex 11252  ax-rrecex 11253  ax-cnre 11254  ax-pre-lttri 11255  ax-pre-lttrn 11256  ax-pre-ltadd 11257  ax-pre-mulgt0 11258
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  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-nel 3063  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  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-pred 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7867  df-1st 7990  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-1o 8460  df-er 8701  df-en 8958  df-dom 8959  df-sdom 8960  df-fin 8961  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11524  df-neg 11525  df-nn 12317  df-2 12386  df-3 12387  df-4 12388  df-5 12389  df-6 12390  df-7 12391  df-8 12392  df-9 12393  df-n0 12588  df-z 12675  df-dec 12796  df-uz 12947  df-fz 13621  df-struct 17305  df-slot 17340  df-ndx 17352  df-base 17368  df-hom 17432  df-cco 17433  df-func 18013  df-fuc 18102
This theorem is used by:  fuccatid  18127  fucsect  18130  fucinv  18131  fuciso  18133  evlfcllem  18375  evlfcl  18376  curfcl  18386  uncf1  18390  uncf2  18391  curfuncf  18392  diag1cl  18396  curf2ndf  18401  yon1cl  18417  oyon1cl  18425  yonedalem21  18427  yonedalem22  18432  yonedalem3b  18433  yonedalem3  18434  yonedainv  18435  yonffthlem  18436  yoneda  18437  yoniso  18439  xpcfucbas  50304  xpcfuchom2  50307  xpcfucco2  50308  diag1f1  50359  fucoid  50400  fucofunc  50411  postcofval  50416  postcofcl  50417  precofval  50419  precofvalALT  50420  precofcl  50422  fucoppcco  50461  fucoppc  50462  oppfdiag1  50466  oppfdiag  50468  diagciso  50591  funcsn  50593  0fucterm  50595  termfucterm  50596  cofuterm  50597  lanval2  50679  ranval2  50682  ranval3  50683  lanrcl4  50686  ranrcl4  50691  lanup  50693  ranup  50694  lmdfval2  50707  cmdfval2  50708  islmd  50717  iscmd  50718  lmddu  50719  cmddu  50720  initocmd  50721  lmdran  50723  cmdlan  50724
  Copyright terms: Public domain W3C validator