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

Theorem termchom 49472
Description: The hom-set of a terminal category is a singleton of the identity morphism. (Contributed by Zhi Wang, 20-Oct-2025.)
Hypotheses
Ref Expression
termchom.c (𝜑𝐶 ∈ TermCat)
termchom.b 𝐵 = (Base‘𝐶)
termchom.x (𝜑𝑋𝐵)
termchom.y (𝜑𝑌𝐵)
termchom.h 𝐻 = (Hom ‘𝐶)
termchom.i 1 = (Id‘𝐶)
Assertion
Ref Expression
termchom (𝜑 → (𝑋𝐻𝑌) = {( 1𝑋)})

Proof of Theorem termchom
Dummy variable 𝑓 is distinct from all other variables.
StepHypRef Expression
1 termchom.c . . . 4 (𝜑𝐶 ∈ TermCat)
2 termchom.b . . . 4 𝐵 = (Base‘𝐶)
3 termchom.x . . . 4 (𝜑𝑋𝐵)
4 termchom.y . . . 4 (𝜑𝑌𝐵)
5 termchom.h . . . 4 𝐻 = (Hom ‘𝐶)
61, 2, 3, 4, 5termchomn0 49468 . . 3 (𝜑 → ¬ (𝑋𝐻𝑌) = ∅)
7 neq0 4311 . . 3 (¬ (𝑋𝐻𝑌) = ∅ ↔ ∃𝑓 𝑓 ∈ (𝑋𝐻𝑌))
86, 7sylib 218 . 2 (𝜑 → ∃𝑓 𝑓 ∈ (𝑋𝐻𝑌))
93adantr 480 . . . 4 ((𝜑𝑓 ∈ (𝑋𝐻𝑌)) → 𝑋𝐵)
104adantr 480 . . . 4 ((𝜑𝑓 ∈ (𝑋𝐻𝑌)) → 𝑌𝐵)
11 simpr 484 . . . 4 ((𝜑𝑓 ∈ (𝑋𝐻𝑌)) → 𝑓 ∈ (𝑋𝐻𝑌))
121adantr 480 . . . . 5 ((𝜑𝑓 ∈ (𝑋𝐻𝑌)) → 𝐶 ∈ TermCat)
1312termcthind 49462 . . . 4 ((𝜑𝑓 ∈ (𝑋𝐻𝑌)) → 𝐶 ∈ ThinCat)
149, 10, 11, 2, 5, 13thinchom 49411 . . 3 ((𝜑𝑓 ∈ (𝑋𝐻𝑌)) → (𝑋𝐻𝑌) = {𝑓})
15 termchom.i . . . . 5 1 = (Id‘𝐶)
1612, 2, 9, 10, 5, 11, 15termcid 49470 . . . 4 ((𝜑𝑓 ∈ (𝑋𝐻𝑌)) → 𝑓 = ( 1𝑋))
1716sneqd 4597 . . 3 ((𝜑𝑓 ∈ (𝑋𝐻𝑌)) → {𝑓} = {( 1𝑋)})
1814, 17eqtrd 2764 . 2 ((𝜑𝑓 ∈ (𝑋𝐻𝑌)) → (𝑋𝐻𝑌) = {( 1𝑋)})
198, 18exlimddv 1935 1 (𝜑 → (𝑋𝐻𝑌) = {( 1𝑋)})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1540  wex 1779  wcel 2109  c0 4292  {csn 4585  cfv 6500  (class class class)co 7370  Basecbs 17157  Hom chom 17209  Idccid 17608  TermCatctermc 49456
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-rep 5229  ax-sep 5246  ax-nul 5256  ax-pr 5382
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-rmo 3351  df-reu 3352  df-rab 3403  df-v 3446  df-sbc 3751  df-csb 3860  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-nul 4293  df-if 4485  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4868  df-iun 4953  df-br 5103  df-opab 5165  df-mpt 5184  df-id 5526  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-iota 6453  df-fun 6502  df-fn 6503  df-f 6504  df-f1 6505  df-fo 6506  df-f1o 6507  df-fv 6508  df-riota 7327  df-ov 7373  df-cat 17611  df-cid 17612  df-thinc 49402  df-termc 49457
This theorem is referenced by:  termchom2  49473  termcfuncval  49516
  Copyright terms: Public domain W3C validator