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 49492
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 2727 . . . . 5 ({𝐼} = if(𝑥 = 𝑦, {𝐼}, ∅) → (𝑖 ∈ {𝐼} ↔ 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
43mobidv 2544 . . . 4 ({𝐼} = if(𝑥 = 𝑦, {𝐼}, ∅) → (∃*𝑖 𝑖 ∈ {𝐼} ↔ ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
5 eleq2w2 2727 . . . . 5 (∅ = if(𝑥 = 𝑦, {𝐼}, ∅) → (𝑖 ∈ ∅ ↔ 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
65mobidv 2544 . . . 4 (∅ = if(𝑥 = 𝑦, {𝐼}, ∅) → (∃*𝑖 𝑖 ∈ ∅ ↔ ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
7 eqid 2731 . . . . 5 {𝐼} = {𝐼}
8 mosn 48843 . . . . 5 ({𝐼} = {𝐼} → ∃*𝑖 𝑖 ∈ {𝐼})
97, 8mp1i 13 . . . 4 (((𝜑 ∧ (𝑥𝐵𝑦𝐵)) ∧ 𝑥 = 𝑦) → ∃*𝑖 𝑖 ∈ {𝐼})
10 eqid 2731 . . . . 5 ∅ = ∅
11 mo0 48844 . . . . 5 (∅ = ∅ → ∃*𝑖 𝑖 ∈ ∅)
1210, 11mp1i 13 . . . 4 (((𝜑 ∧ (𝑥𝐵𝑦𝐵)) ∧ ¬ 𝑥 = 𝑦) → ∃*𝑖 𝑖 ∈ ∅)
134, 6, 9, 12ifbothda 4514 . . 3 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅))
14 discthing.i . . . . 5 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑥𝐻𝑦) = if(𝑥 = 𝑦, {𝐼}, ∅))
1514eleq2d 2817 . . . 4 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑖 ∈ (𝑥𝐻𝑦) ↔ 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
1615mobidv 2544 . . 3 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (∃*𝑖 𝑖 ∈ (𝑥𝐻𝑦) ↔ ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
1713, 16mpbird 257 . 2 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → ∃*𝑖 𝑖 ∈ (𝑥𝐻𝑦))
18 indcthing.c . 2 (𝜑𝐶 ∈ Cat)
191, 2, 17, 18isthincd 49467 1 (𝜑𝐶 ∈ ThinCat)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1541  wcel 2111  ∃*wmo 2533  c0 4283  ifcif 4475  {csn 4576  cfv 6481  (class class class)co 7346  Basecbs 17117  Hom chom 17169  Catccat 17567  ThinCatcthinc 49448
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 2113  ax-9 2121  ax-10 2144  ax-11 2160  ax-12 2180  ax-ext 2703  ax-sep 5234  ax-nul 5244
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2535  df-eu 2564  df-clab 2710  df-cleq 2723  df-clel 2806  df-nfc 2881  df-ne 2929  df-ral 3048  df-rex 3057  df-rmo 3346  df-reu 3347  df-rab 3396  df-v 3438  df-sbc 3742  df-dif 3905  df-un 3907  df-ss 3919  df-nul 4284  df-if 4476  df-sn 4577  df-pr 4579  df-op 4583  df-uni 4860  df-br 5092  df-iota 6437  df-fv 6489  df-ov 7349  df-thinc 49449
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator