我們說
是拓撲空間
上的預層,如果
- (i)
是每個開子集
的阿貝爾群
- (ii) 對於每個包含關係
,我們有群態射
使得
是恆等式,並且
對於任何包含關係 
如果滿足以下“粘合公理”,則預層稱為層
- 對於每個開子集
及其開覆蓋
,如果
滿足
在
上,則存在一個唯一的
使得
對於所有的
都成立。
請注意,唯一性意味著如果
並且
對於所有的
都成立,則
。特別是,
對於所有的
都成立,意味著
。
4 例子:設
為一個拓撲群(例如,
)。設
是從開子集
到
的所有連續對映的集合。那麼
構成一個層。特別地,假設
的拓撲是離散的。那麼
被稱為常數層。
給定層
和
,一個層態射
是群態射的集合
,滿足:對於每一個開子集
,

其中第一個
是來自
的,第二個
。
對於每個開子集
,定義
。
因此是一個層。事實上,假設
。那麼存在
使得
。但是,由於

對於所有
,我們有
。不幸的是,
如果以相同的方式定義,它不會成為一個層。因此,我們定義
為所有
的集合,使得存在
的開覆蓋
,使得
在
的像中。這是一個層。事實上,與之前一樣,設
使得
。那麼我們有
的開覆蓋,使得
限制在覆蓋的每個成員
上都在
的像中。
設
是同一個拓撲空間上的層。
如果一個在
上的層
滿足
是滿射的,則稱該層為鬆弛層。 令
,對於每個
,定義
。
是閉集,因為
意味著
在
中存在一個鄰域,使得對於每個
有
。 定義
。 特別地,如果
是一個閉子集,並且
,則自然對映
是一個同構。
4 定理 假設

是精確的。那麼,對於任何開集

是精確的。此外,
是滿射的,如果
是軟化的。
Proof: That the kernel of
is trivial means that
has trivial kernel for any
. Thus the first map is clear. Next, denoting
by
, suppose
with
. Then there exists an open cover
of
and
such that
. Since
in
and
is injective by the early part of the proof, we have
in
and so we get
such that
. Finally, to show that the last map is surjective, let
, and
. If
is totally ordered, then let
. Since
agree on overlaps by totally ordered-ness, there is
with
. Thus,
is an upper bound of the collection
. By Zorn's Lemma, we then find a maximal element
. We claim
. Suppose not. Then there exists
with
. Since
in
, by the early part of the proof, there exists
with
. Then
(so
) while
in
. This contradicts the maximality of
. Hence, we conclude
and so
. 
4 推論

是精確的當且僅當

對於每個
都是精確的。
假設
是一個連續對映。層
(稱為
的正向像,由
推進)由
定義,其中
是一個開子集。假設
是一個連續對映。層
然後由
預層的層化定義
,其中
是
的一個開子集。兩者以如下方式相關。令
為一個開子集。那麼
由元素
組成
,其中
。由於
,我們找到一個對映

透過將
對映到
來實現。該對映是定義良好的,因為它不依賴於
的選擇。