SchemeTheory.closedDiscreteStalkIsTerminal
Outside a closed support, the actual supported discrete-function sheaf has a terminal stalk. No inhabitedness of the value type is needed.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
noncomputable section
universe u
open CategoryTheory Limits TopCat TopologicalSpace Opposite
namespace SchemeTheoryLean source · statement
def closedDiscreteStalkIsTerminal {X : TopCat.{u}} (C : Set X) (hC : IsClosed C)
(A : Type u) (x : X) (hx : x ∉ C) :
IsTerminal (TopCat.Presheaf.stalk (closedDiscreteSheaf C A).obj x)