Zulip Chat Archive
Stream: Is there code for X?
Topic: Extension by zero Sheaf
Brian Nugent (Jan 22 2026 at 18:55):
I would like to use extension by zero for sheaves of abelian groups on a topological space: https://stacks.math.columbia.edu/tag/00A4. Is there a general version of this for sites in mathlib? Maybe defined as a left adjoint to the restriction functor or something?
Christian Merten (Jan 22 2026 at 19:35):
I don't think we have a definition, but this would be the abstract nonsense version:
import Mathlib
open CategoryTheory
variable {C : Type*} [Category* C] (J : GrothendieckTopology C)
{A : Type*} [Category* A]
noncomputable def extensionByZero (U : C)
-- this assumption will be automatic if `A` has sufficiently large colimits
[((Over.forget U).sheafPushforwardContinuous A (J.over U) J).IsRightAdjoint] :
Sheaf (J.over U) A ⥤ Sheaf J A :=
(Over.forget U).sheafPullback A (J.over U) J
Christian Merten (Jan 22 2026 at 19:45):
That being said, this won't be particularly useful for your use case.
However, It should not be hard to show that this extensionByZero can be more explicitly described (under suitable assumptions) as the sheafification of the presheaf .
From this, it follows that this indeed agrees with the extension by zero for sheaves of abelian groups on a topological space.
Brian Nugent (Jan 23 2026 at 08:58):
I think the abstract nonsense definition is actually exactly what I need, thank you!
Last updated: Feb 28 2026 at 14:05 UTC