Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  discthing Structured version   Visualization version   GIF version

Theorem discthing 49814
Description: A discrete category, i.e., a category where all morphisms are identity morphisms, is thin. Example 3.26(1) of [Adamek] p. 33. (Contributed by Zhi Wang, 11-Nov-2025.)
Hypotheses
Ref Expression
indcthing.b (𝜑𝐵 = (Base‘𝐶))
indcthing.h (𝜑𝐻 = (Hom ‘𝐶))
indcthing.c (𝜑𝐶 ∈ Cat)
discthing.i ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑥𝐻𝑦) = if(𝑥 = 𝑦, {𝐼}, ∅))
Assertion
Ref Expression
discthing (𝜑𝐶 ∈ ThinCat)
Distinct variable groups:   𝑦,𝐵   𝑥,𝐶,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐵(𝑥)   𝐻(𝑥,𝑦)   𝐼(𝑥,𝑦)

Proof of Theorem discthing
Dummy variable 𝑖 is distinct from all other variables.
StepHypRef Expression
1 indcthing.b . 2 (𝜑𝐵 = (Base‘𝐶))
2 indcthing.h . 2 (𝜑𝐻 = (Hom ‘𝐶))
3 eleq2w2 2733 . . . . 5 ({𝐼} = if(𝑥 = 𝑦, {𝐼}, ∅) → (𝑖 ∈ {𝐼} ↔ 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
43mobidv 2550 . . . 4 ({𝐼} = if(𝑥 = 𝑦, {𝐼}, ∅) → (∃*𝑖 𝑖 ∈ {𝐼} ↔ ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
5 eleq2w2 2733 . . . . 5 (∅ = if(𝑥 = 𝑦, {𝐼}, ∅) → (𝑖 ∈ ∅ ↔ 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
65mobidv 2550 . . . 4 (∅ = if(𝑥 = 𝑦, {𝐼}, ∅) → (∃*𝑖 𝑖 ∈ ∅ ↔ ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
7 eqid 2737 . . . . 5 {𝐼} = {𝐼}
8 mosn 49166 . . . . 5 ({𝐼} = {𝐼} → ∃*𝑖 𝑖 ∈ {𝐼})
97, 8mp1i 13 . . . 4 (((𝜑 ∧ (𝑥𝐵𝑦𝐵)) ∧ 𝑥 = 𝑦) → ∃*𝑖 𝑖 ∈ {𝐼})
10 eqid 2737 . . . . 5 ∅ = ∅
11 mo0 49167 . . . . 5 (∅ = ∅ → ∃*𝑖 𝑖 ∈ ∅)
1210, 11mp1i 13 . . . 4 (((𝜑 ∧ (𝑥𝐵𝑦𝐵)) ∧ ¬ 𝑥 = 𝑦) → ∃*𝑖 𝑖 ∈ ∅)
134, 6, 9, 12ifbothda 4520 . . 3 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅))
14 discthing.i . . . . 5 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑥𝐻𝑦) = if(𝑥 = 𝑦, {𝐼}, ∅))
1514eleq2d 2823 . . . 4 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑖 ∈ (𝑥𝐻𝑦) ↔ 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
1615mobidv 2550 . . 3 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (∃*𝑖 𝑖 ∈ (𝑥𝐻𝑦) ↔ ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
1713, 16mpbird 257 . 2 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → ∃*𝑖 𝑖 ∈ (𝑥𝐻𝑦))
18 indcthing.c . 2 (𝜑𝐶 ∈ Cat)
191, 2, 17, 18isthincd 49789 1 (𝜑𝐶 ∈ ThinCat)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1542  wcel 2114  ∃*wmo 2538  c0 4287  ifcif 4481  {csn 4582  cfv 6500  (class class class)co 7368  Basecbs 17148  Hom chom 17200  Catccat 17599  ThinCatcthinc 49770
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-sep 5243  ax-nul 5253
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  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-ral 3053  df-rex 3063  df-rmo 3352  df-reu 3353  df-rab 3402  df-v 3444  df-sbc 3743  df-dif 3906  df-un 3908  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-br 5101  df-iota 6456  df-fv 6508  df-ov 7371  df-thinc 49771
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator