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 49936
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 2732 . . . . 5 ({𝐼} = if(𝑥 = 𝑦, {𝐼}, ∅) → (𝑖 ∈ {𝐼} ↔ 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
43mobidv 2549 . . . 4 ({𝐼} = if(𝑥 = 𝑦, {𝐼}, ∅) → (∃*𝑖 𝑖 ∈ {𝐼} ↔ ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
5 eleq2w2 2732 . . . . 5 (∅ = if(𝑥 = 𝑦, {𝐼}, ∅) → (𝑖 ∈ ∅ ↔ 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
65mobidv 2549 . . . 4 (∅ = if(𝑥 = 𝑦, {𝐼}, ∅) → (∃*𝑖 𝑖 ∈ ∅ ↔ ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
7 eqid 2736 . . . . 5 {𝐼} = {𝐼}
8 mosn 49288 . . . . 5 ({𝐼} = {𝐼} → ∃*𝑖 𝑖 ∈ {𝐼})
97, 8mp1i 13 . . . 4 (((𝜑 ∧ (𝑥𝐵𝑦𝐵)) ∧ 𝑥 = 𝑦) → ∃*𝑖 𝑖 ∈ {𝐼})
10 eqid 2736 . . . . 5 ∅ = ∅
11 mo0 49289 . . . . 5 (∅ = ∅ → ∃*𝑖 𝑖 ∈ ∅)
1210, 11mp1i 13 . . . 4 (((𝜑 ∧ (𝑥𝐵𝑦𝐵)) ∧ ¬ 𝑥 = 𝑦) → ∃*𝑖 𝑖 ∈ ∅)
134, 6, 9, 12ifbothda 4505 . . 3 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅))
14 discthing.i . . . . 5 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑥𝐻𝑦) = if(𝑥 = 𝑦, {𝐼}, ∅))
1514eleq2d 2822 . . . 4 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑖 ∈ (𝑥𝐻𝑦) ↔ 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
1615mobidv 2549 . . 3 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (∃*𝑖 𝑖 ∈ (𝑥𝐻𝑦) ↔ ∃*𝑖 𝑖 ∈ if(𝑥 = 𝑦, {𝐼}, ∅)))
1713, 16mpbird 257 . 2 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → ∃*𝑖 𝑖 ∈ (𝑥𝐻𝑦))
18 indcthing.c . 2 (𝜑𝐶 ∈ Cat)
191, 2, 17, 18isthincd 49911 1 (𝜑𝐶 ∈ ThinCat)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1542  wcel 2114  ∃*wmo 2537  c0 4273  ifcif 4466  {csn 4567  cfv 6498  (class class class)co 7367  Basecbs 17179  Hom chom 17231  Catccat 17630  ThinCatcthinc 49892
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 2708  ax-sep 5231  ax-nul 5241
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 2539  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2811  df-nfc 2885  df-ne 2933  df-ral 3052  df-rex 3062  df-rmo 3342  df-reu 3343  df-rab 3390  df-v 3431  df-sbc 3729  df-dif 3892  df-un 3894  df-ss 3906  df-nul 4274  df-if 4467  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4851  df-br 5086  df-iota 6454  df-fv 6506  df-ov 7370  df-thinc 49893
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator