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

Theorem 0catg 17314
Description: Any structure with an empty set of objects is a category. (Contributed by Mario Carneiro, 3-Jan-2017.)
Assertion
Ref Expression
0catg ((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) → 𝐶 ∈ Cat)

Proof of Theorem 0catg
Dummy variables 𝑓 𝑔 𝑤 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 484 . 2 ((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) → ∅ = (Base‘𝐶))
2 eqidd 2739 . 2 ((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) → (Hom ‘𝐶) = (Hom ‘𝐶))
3 eqidd 2739 . 2 ((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) → (comp‘𝐶) = (comp‘𝐶))
4 simpl 482 . 2 ((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) → 𝐶𝑉)
5 noel 4261 . . . 4 ¬ 𝑥 ∈ ∅
65pm2.21i 119 . . 3 (𝑥 ∈ ∅ → ∅ ∈ (𝑥(Hom ‘𝐶)𝑥))
76adantl 481 . 2 (((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) ∧ 𝑥 ∈ ∅) → ∅ ∈ (𝑥(Hom ‘𝐶)𝑥))
8 simpr1 1192 . . 3 (((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) ∧ (𝑥 ∈ ∅ ∧ 𝑦 ∈ ∅ ∧ 𝑓 ∈ (𝑦(Hom ‘𝐶)𝑥))) → 𝑥 ∈ ∅)
95pm2.21i 119 . . 3 (𝑥 ∈ ∅ → (∅(⟨𝑦, 𝑥⟩(comp‘𝐶)𝑥)𝑓) = 𝑓)
108, 9syl 17 . 2 (((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) ∧ (𝑥 ∈ ∅ ∧ 𝑦 ∈ ∅ ∧ 𝑓 ∈ (𝑦(Hom ‘𝐶)𝑥))) → (∅(⟨𝑦, 𝑥⟩(comp‘𝐶)𝑥)𝑓) = 𝑓)
11 simpr1 1192 . . 3 (((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) ∧ (𝑥 ∈ ∅ ∧ 𝑦 ∈ ∅ ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑥 ∈ ∅)
125pm2.21i 119 . . 3 (𝑥 ∈ ∅ → (𝑓(⟨𝑥, 𝑥⟩(comp‘𝐶)𝑦)∅) = 𝑓)
1311, 12syl 17 . 2 (((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) ∧ (𝑥 ∈ ∅ ∧ 𝑦 ∈ ∅ ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑓(⟨𝑥, 𝑥⟩(comp‘𝐶)𝑦)∅) = 𝑓)
14 simp21 1204 . . 3 (((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) ∧ (𝑥 ∈ ∅ ∧ 𝑦 ∈ ∅ ∧ 𝑧 ∈ ∅) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧))) → 𝑥 ∈ ∅)
155pm2.21i 119 . . 3 (𝑥 ∈ ∅ → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓) ∈ (𝑥(Hom ‘𝐶)𝑧))
1614, 15syl 17 . 2 (((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) ∧ (𝑥 ∈ ∅ ∧ 𝑦 ∈ ∅ ∧ 𝑧 ∈ ∅) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓) ∈ (𝑥(Hom ‘𝐶)𝑧))
17 simp2ll 1238 . . 3 (((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) ∧ ((𝑥 ∈ ∅ ∧ 𝑦 ∈ ∅) ∧ (𝑧 ∈ ∅ ∧ 𝑤 ∈ ∅)) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧) ∧ ∈ (𝑧(Hom ‘𝐶)𝑤))) → 𝑥 ∈ ∅)
185pm2.21i 119 . . 3 (𝑥 ∈ ∅ → (((⟨𝑦, 𝑧⟩(comp‘𝐶)𝑤)𝑔)(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑤)𝑓) = ((⟨𝑥, 𝑧⟩(comp‘𝐶)𝑤)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓)))
1917, 18syl 17 . 2 (((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) ∧ ((𝑥 ∈ ∅ ∧ 𝑦 ∈ ∅) ∧ (𝑧 ∈ ∅ ∧ 𝑤 ∈ ∅)) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧) ∧ ∈ (𝑧(Hom ‘𝐶)𝑤))) → (((⟨𝑦, 𝑧⟩(comp‘𝐶)𝑤)𝑔)(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑤)𝑓) = ((⟨𝑥, 𝑧⟩(comp‘𝐶)𝑤)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓)))
201, 2, 3, 4, 7, 10, 13, 16, 19iscatd 17299 1 ((𝐶𝑉 ∧ ∅ = (Base‘𝐶)) → 𝐶 ∈ Cat)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  c0 4253  cop 4564  cfv 6418  (class class class)co 7255  Basecbs 16840  Hom chom 16899  compcco 16900  Catccat 17290
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-nul 5225
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-iota 6376  df-fv 6426  df-ov 7258  df-cat 17294
This theorem is referenced by:  0cat  17315  0thincg  46219
  Copyright terms: Public domain W3C validator