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 51044
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 51040 . . 3 (𝜑 → ¬ (𝑋𝐻𝑌) = ∅)
7 neq0 4301 . . 3 (¬ (𝑋𝐻𝑌) = ∅ ↔ ∃𝑓 𝑓 ∈ (𝑋𝐻𝑌))
86, 7sylib 221 . 2 (𝜑 → ∃𝑓 𝑓 ∈ (𝑋𝐻𝑌))
93adantr 486 . . . 4 ((𝜑 ∧ 𝑓 ∈ (𝑋𝐻𝑌)) → 𝑋 ∈ 𝐵)
104adantr 486 . . . 4 ((𝜑 ∧ 𝑓 ∈ (𝑋𝐻𝑌)) → 𝑌 ∈ 𝐵)
11 simpr 490 . . . 4 ((𝜑 ∧ 𝑓 ∈ (𝑋𝐻𝑌)) → 𝑓 ∈ (𝑋𝐻𝑌))
121adantr 486 . . . . 5 ((𝜑 ∧ 𝑓 ∈ (𝑋𝐻𝑌)) → 𝐶 ∈ TermCat)
1312termcthind 51034 . . . 4 ((𝜑 ∧ 𝑓 ∈ (𝑋𝐻𝑌)) → 𝐶 ∈ ThinCat)
149, 10, 11, 2, 5, 13thinchom 50983 . . 3 ((𝜑 ∧ 𝑓 ∈ (𝑋𝐻𝑌)) → (𝑋𝐻𝑌) = {𝑓})
15 termchom.i . . . . 5 1 = (Id‘𝐶)
1612, 2, 9, 10, 5, 11, 15termcid 51042 . . . 4 ((𝜑 ∧ 𝑓 ∈ (𝑋𝐻𝑌)) → 𝑓 = ( 1 ‘𝑋))
1716sneqd 4595 . . 3 ((𝜑 ∧ 𝑓 ∈ (𝑋𝐻𝑌)) → {𝑓} = {( 1 ‘𝑋)})
1814, 17eqtrd 2801 . 2 ((𝜑 ∧ 𝑓 ∈ (𝑋𝐻𝑌)) → (𝑋𝐻𝑌) = {( 1 ‘𝑋)})
198, 18exlimddv 1972 1 (𝜑 → (𝑋𝐻𝑌) = {( 1 ‘𝑋)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2150  ∅c0 4280  {csn 4587  ‘cfv 6566  (class class class)co 7451  Basecbs 17434  Hom chom 17486  Idccid 17892  TermCatctermc 51028
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-cat 17895  df-cid 17896  df-thinc 50974  df-termc 51029
This theorem is used by:  termchom2  51045  termcfuncval  51088
  Copyright terms: Public domain W3C validator