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

Theorem thincn0eu 47142
Description: In a thin category, a hom-set being non-empty is equivalent to having a unique element. (Contributed by Zhi Wang, 21-Sep-2024.)
Hypotheses
Ref Expression
thincmo.c (𝜑𝐶 ∈ ThinCat)
thincmo.x (𝜑𝑋𝐵)
thincmo.y (𝜑𝑌𝐵)
thincn0eu.b (𝜑𝐵 = (Base‘𝐶))
thincn0eu.h (𝜑𝐻 = (Hom ‘𝐶))
Assertion
Ref Expression
thincn0eu (𝜑 → ((𝑋𝐻𝑌) ≠ ∅ ↔ ∃!𝑓 𝑓 ∈ (𝑋𝐻𝑌)))
Distinct variable groups:   𝐵,𝑓   𝐶,𝑓   𝑓,𝐻   𝑓,𝑋   𝑓,𝑌   𝜑,𝑓

Proof of Theorem thincn0eu
StepHypRef Expression
1 n0 4310 . . . . . 6 ((𝑋𝐻𝑌) ≠ ∅ ↔ ∃𝑓 𝑓 ∈ (𝑋𝐻𝑌))
21biimpi 215 . . . . 5 ((𝑋𝐻𝑌) ≠ ∅ → ∃𝑓 𝑓 ∈ (𝑋𝐻𝑌))
3 thincmo.c . . . . . 6 (𝜑𝐶 ∈ ThinCat)
4 thincmo.x . . . . . 6 (𝜑𝑋𝐵)
5 thincmo.y . . . . . 6 (𝜑𝑌𝐵)
6 thincn0eu.b . . . . . 6 (𝜑𝐵 = (Base‘𝐶))
7 thincn0eu.h . . . . . 6 (𝜑𝐻 = (Hom ‘𝐶))
83, 4, 5, 6, 7thincmod 47141 . . . . 5 (𝜑 → ∃*𝑓 𝑓 ∈ (𝑋𝐻𝑌))
92, 8anim12i 614 . . . 4 (((𝑋𝐻𝑌) ≠ ∅ ∧ 𝜑) → (∃𝑓 𝑓 ∈ (𝑋𝐻𝑌) ∧ ∃*𝑓 𝑓 ∈ (𝑋𝐻𝑌)))
10 df-eu 2563 . . . 4 (∃!𝑓 𝑓 ∈ (𝑋𝐻𝑌) ↔ (∃𝑓 𝑓 ∈ (𝑋𝐻𝑌) ∧ ∃*𝑓 𝑓 ∈ (𝑋𝐻𝑌)))
119, 10sylibr 233 . . 3 (((𝑋𝐻𝑌) ≠ ∅ ∧ 𝜑) → ∃!𝑓 𝑓 ∈ (𝑋𝐻𝑌))
1211expcom 415 . 2 (𝜑 → ((𝑋𝐻𝑌) ≠ ∅ → ∃!𝑓 𝑓 ∈ (𝑋𝐻𝑌)))
13 euex 2571 . . 3 (∃!𝑓 𝑓 ∈ (𝑋𝐻𝑌) → ∃𝑓 𝑓 ∈ (𝑋𝐻𝑌))
1413, 1sylibr 233 . 2 (∃!𝑓 𝑓 ∈ (𝑋𝐻𝑌) → (𝑋𝐻𝑌) ≠ ∅)
1512, 14impbid1 224 1 (𝜑 → ((𝑋𝐻𝑌) ≠ ∅ ↔ ∃!𝑓 𝑓 ∈ (𝑋𝐻𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397   = wceq 1542  wex 1782  wcel 2107  ∃*wmo 2532  ∃!weu 2562  wne 2940  c0 4286  cfv 6500  (class class class)co 7361  Basecbs 17091  Hom chom 17152  ThinCatcthinc 47129
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2703  ax-nul 5267
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-ral 3062  df-rab 3407  df-v 3449  df-sbc 3744  df-csb 3860  df-dif 3917  df-un 3919  df-in 3921  df-ss 3931  df-nul 4287  df-if 4491  df-sn 4591  df-pr 4593  df-op 4597  df-uni 4870  df-br 5110  df-iota 6452  df-fv 6508  df-ov 7364  df-thinc 47130
This theorem is referenced by:  fullthinc  47156  prstchom2  47188
  Copyright terms: Public domain W3C validator