Zulip Chat Archive

Stream: Is there code for X?

Topic: Limit over a diagram of a single object and morphism


Junyan Xu (Nov 10 2024 at 19:52):

... is canonically isomorphic to the object. Do we have this?

import Mathlib.CategoryTheory.Limits.IsLimit
open CategoryTheory Limits
variable {C J} [Category C] [Category J] (F : J  C)
theorem ι_isIso_of_subsingleton [Subsingleton J] (j : J) [Subsingleton (j  j)]
    {t : Cocone F} (ht : IsColimit t) : IsIso t.ι := by
  sorry

un- #xy: I'd like to show if you have a presheaf on a topological space and an isolated point x in the space, then the germ map is an isomorphism from the sections on the open set {x} to the stalk at x.

Adam Topaz (Nov 10 2024 at 22:43):

I think you can deduce this from the fact that a colimit of a diagram with a terminal object is just the image of that terminal object, which we do have in mathlib

Adam Topaz (Nov 10 2024 at 22:44):

And showing that your diagram has a terminal object using your sub singleton assumptions should be barely more than inferInstance

Adam Topaz (Nov 10 2024 at 22:53):

It may actually be more direct to show that the poset of nhds of an isolated point has an initial object in your in-xy’d case

Junyan Xu (Nov 11 2024 at 23:46):

Thanks! I didn't end up needing this; my goal is to show if a basic open D(f) in the spectrum of a comm. ring is a singleton {p}, then localization away from f is the same as localization at p. I was able to do it without using the structure sheaf in #18891 because @Andrew Yang has done the preliminary work (correspondence between clopens and idempotents) without using it.

Andrew Yang (Nov 11 2024 at 23:47):

Out of curiosity: what do you need this for?

Andrew Yang (Nov 11 2024 at 23:47):

Ah I see the linked PR

Junyan Xu (Nov 12 2024 at 00:13):

Original motivation was to show the Picard group of Artinian ring is trivial :)


Last updated: May 02 2025 at 03:31 UTC