@@ -97,7 +97,6 @@ T \to X \times_Z Y
9797$$
9898making the entire diagram commute.
9999
100- <br >
101100<br >
102101
103102``` tikz
@@ -133,3 +132,190 @@ making the entire diagram commute.
133132
134133\end{document}
135134```
135+
136+ <br >
137+
138+ ### Definition 1.2
139+
140+ Let $\tau$ be a topology and $\mathcal{D}$ a category with products.
141+
142+ A ** presheaf** on $\tau$ with values in $\mathcal{D}$ is a functor
143+
144+ $$ F : \mathcal{C}^{\mathrm{op}} \to \mathcal{D}. $$
145+
146+
147+ A ** sheaf** is a presheaf satisfying the following condition:
148+
149+ If $\{ U_i \to U \} \in \mathrm{Cov}_ \tau$, then the diagram
150+
151+ <br >
152+
153+ ``` tikz
154+ \usepackage{tikz-cd}
155+ \usepackage{xcolor}
156+
157+ \definecolor{mypink}{HTML}{FF69B4}
158+
159+ \begin{document}
160+
161+ % scaled product symbol (no extra packages)
162+ \newcommand{\Bigprod}{\mathop{\scalebox{1.35}{$\prod$}}}
163+
164+ \begin{tikzcd}[
165+ scale=1.2,
166+ transform shape,
167+ row sep=3em,
168+ column sep=3.5em,
169+ text=mypink,
170+ draw=mypink,
171+ every to/.style={draw=mypink, line width=0.9pt},
172+ arrows={-Stealth}
173+ ]
174+ |[font=\huge]| F(U)
175+ \arrow[r, "{\raisebox{3pt}{\small\textit{\(\pi\)}}}"] &
176+ |[font=\huge]| \Bigprod_i F(U_i)
177+ \arrow[r, shift left=0.7ex, "{\raisebox{3pt}{\small\textit{\(\pi_1\)}}}"]
178+ \arrow[r, shift right=0.7ex, "{\raisebox{3pt}{\small\textit{\(\pi_2\)}}}"'] &
179+ |[font=\huge]| \Bigprod_{i,j} F(U_i \times_U U_j)
180+ \end{tikzcd}
181+
182+ \end{document}
183+
184+ ```
185+
186+ <br >
187+
188+ is ** exact** .
189+
190+ (Exactness here means that $\pi$ is the equalizer of $\pi_1$ and $\pi_2$.)
191+
192+
193+ ### Note: Equalizer
194+
195+ ### Definition (Equalizer)
196+
197+ Let $\mathcal{C}$ be a category and let
198+
199+ $$ X \;\substack{\xrightarrow{\ f\ }\\[-0.6em]\xrightarrow[\ g\ ]{}}\; Y $$
200+
201+ be two parallel morphisms in $\mathcal{C}$.
202+ <br >
203+
204+ An ** equalizer** of $f$ and $g$ is an object $E$ together with a morphism
205+
206+ $$ e : E \to X $$
207+
208+ such that
209+
210+ $$ f \circ e = g \circ e, $$
211+
212+ and which is ** universal** with this property:
213+ <br >
214+ for any object $T$ with a morphism $t : T \to X$ satisfying
215+
216+ $$
217+ f \circ t = g \circ t, $$
218+ there exists a unique morphism
219+
220+ $$ u : T \to E $$
221+
222+ such that
223+
224+ $$ e \circ u = t. $$
225+ <br >
226+
227+ ``` tikz
228+ \usepackage{tikz-cd}
229+ \usepackage{xcolor}
230+
231+ \definecolor{mypink}{HTML}{FF69B4}
232+
233+ \begin{document}
234+
235+ \begin{tikzcd}[
236+ scale=1.3,
237+ transform shape,
238+ row sep=3.2em,
239+ column sep=3.5em,
240+ text=mypink,
241+ draw=mypink,
242+ every to/.style={draw=mypink, line width=0.9pt},
243+ arrows={-Stealth}
244+ ]
245+ |[font=\huge]| T \arrow[d, dotted, "u"'] \arrow[r, "t"] & |[font=\huge]| X \arrow[r, shift left=0.7ex, "f"] \arrow[r, shift right=0.7ex, "g"'] & |[font=\huge]| Y \\
246+ |[font=\huge]| E \arrow[ru, "e"'] & &
247+ \end{tikzcd}
248+
249+ \end{document}
250+ ```
251+
252+ ### Back to Sheaves
253+
254+ ## The Sheaf Condition — Intuitive Explanation
255+
256+ Let $U \in \mathcal{C}$ be an object covered by a family of morphisms $\{ U_i \to U\} $, and
257+ $F : \mathcal C^{op} \to \mathcal D$ be a presheaf (assigning data to objects).
258+
259+ Because $F$ is contravariant, each $U_i \to U$ induces a restriction map
260+
261+ $$ F(U) \to F(U_i). $$
262+
263+ Collecting these gives a single map
264+
265+ $$ \pi : F(U) \to \prod_i F(U_i). $$
266+
267+ The pieces $U_i$ overlap pairwise and each overlap is represented in the fiber product
268+
269+ $$ U_i \times_U U_j. $$
270+
271+ From the two projection maps
272+
273+ $$ U_i \times_U U_j \to U_i, \qquad U_i \times_U U_j \to U_j, $$
274+
275+ applying $F$ produces two restriction maps. Bundling these for all $(i,j)$ gives
276+
277+ $$ \pi_1, \pi_2 : \prod_i F(U_i) \rightrightarrows \prod_{i,j} F(U_i \times_U U_j). $$
278+
279+ The sheaf condition says that
280+
281+ $$ F(U) \xrightarrow{\pi} \prod_i F(U_i) $$
282+
283+ is the ** equalizer** of $\pi_1$ and $\pi_2$:
284+ it picks out exactly those families of local data that agree on all overlaps.
285+
286+ In words:
287+ ** local data that is compatible on overlaps comes from a unique global datum.**
288+
289+ ---
290+
291+ ### Final Mental Model
292+
293+ - $F(U)$: ** global data**
294+ - $F(U_i)$: ** data on each patch**
295+ - $F(U_i \times_U U_j)$: ** data on overlaps**
296+
297+ The sheaf condition says:
298+
299+ > ** Global data = families of local data that agree on overlaps.**
300+
301+ This is expressed precisely in the equalizer diagram.
302+
303+ ---
304+
305+ ## Classical Topology Version (Open Sets)
306+
307+ If $U$ is a topological space and $\{ U_i\} $ an open cover, and $F$ assigns
308+ (e.g.) functions, sections, or other data to open sets:
309+
310+ - $F(U)$ is the data on the whole space,
311+ - $F(U_i)$ is the data on each open set,
312+ - $F(U_i \cap U_j)$ is the data on the overlaps.
313+
314+ The sheaf condition becomes:
315+
316+ > If we choose data $s_i \in F(U_i)$ on each $U_i$,
317+ > and if for every pair $(i,j)$ the restrictions of $s_i$ and $s_j$ to
318+ > $U_i \cap U_j$ are equal,
319+ > then there exists a ** unique** $s \in F(U)$ whose restriction to each $U_i$ is $s_i$.
320+
321+ This is the ** gluing condition** from topology.
0 commit comments