# Grothendieck Tribute — Mathlib Tour

Alexandre Grothendieck (1928-2014).

Grothendieck shifted the object of study: rather than dissecting each structure
in isolation, he built the categories, sites, and sheaves that carry them — and
let theorems fall out as corollaries. This workspace shows that this language
**already lives in Mathlib 4**: a guided tour of the Grothendieckian landscape
as the library formalizes it today.

## The spirit of the tour

This workspace is a **pedagogical homage** — deliberately **not** an attempt to
formalize EGA/SGA. The goal is to give learners a curated entry point into:

- Categories, sieves, and Grothendieck topologies
- Sheaves, separated presheaves, subcanonical topologies
- Coverage generation and sheaf characterization
- The canonical topology and subcanonical sites
- Schemes (locally ringed spaces locally Spec R) and the Zariski site
- What Mathlib has and what it doesn't (yet)

## How to read this workspace

Three paths are offered depending on your goal:

1. **Reader discovering Grothendieck for the first time.** Follow the arc « laying out the site → building the sheaf → letting the points speak ». Parts 1 (categories and sites), 6 (sieves), 8 (order on topologies) lay the foundations; 13 (sheafification) and 14 (left exactness) deliver the key theorem; 15 (points of a site) and 19 (conservative families) tie the theory to its models; 20-23 (cohomology) measure the obstruction. The table of Parts below gives a one-line content summary per module.

2. **Reader interested in the six operations** (direct image / inverse image / exceptional image). The thread runs from Part 33 (`DirectImage`, `f^* ⊣ f_*`) to Part 34 (`ExceptionalDirect`, `f_! ⊣ f^*`), then Part 68 (`ExceptionalTriple`, `f_! ⊣ f^* ⊣ f_*` in full). Three adjunctions, ordered best-known to least-known.

3. **Reader interested in the Lawvere–Tierney ↔ Grothendieck bridge.** Parts 58 (classifier `Ω`), 59 (closure operator `j` on Ω), 60 (the dictionary: Grothendieck topologies = Lawvere–Tierney topologies, the two notions coincide). This is the bridge where categorical logic meets relative geometry.

**Navigation conventions.** Modules are grouped into `Grothendieck/` and `SheafCohomology/` folders; each `Foo.lean` module has a sibling `Foo_en.lean` for the English version (i18n convention, EPIC #4980). The `Grothendieck.lean` umbrella is a **FR-only** reading index: it imports every FR module and never an `_en` one — English siblings remain built by the lakefile `globs` (#16154, invariant held by `scripts/lean/tests/test_grothendieck_umbrella.py`). The table below gives, for each Part, the FR module + the `_en` module + one content line.

## The arc

Les **modules leaf** (0 `sorry`, 0 axiome ajouté) tracent un chemin cohérent,
du site brut jusqu'à la cohomologie :

```mermaid
flowchart LR
    T1["<b>Sites & sieves</b><br/><i>Parts 1·6·8·11·12·16</i><br/>Grothendieck topologies<br/>pullback_id · pullback_monotone"]
    T2["<b>Sheaves & separation</b><br/><i>7·9·10·17</i><br/>separated presheaf<br/>transfer along J₁ ≤ J₂"]
    T3["<b>Sheafification</b><br/><i>13·14</i><br/>associated sheaf functor<br/>left exactness (LeftExact)"]
    T4["<b>Points & conservatives</b><br/><i>15·19</i><br/>fiber functors<br/>conservative families"]
    T5["<b>Cohomology</b><br/><i>20·21·22·23</i><br/>Ext · Mayer-Vietoris · Čech"]
    T1 --> T2 --> T3 --> T4 --> T5
    S["<b>Schemes & Zariski site</b><br/><i>Parts 2·3</i><br/>Spec functor<br/>zariski_topology_eq"] -.->|"geometric anchor"| T1
    MM["<b>Mathlib map</b><br/><i>Part 4</i><br/>#check index"] -.->|"library anchor"| T3
```

**Laying out the site** (Parts 1, 6, 8, 11, 12, 16). Everything starts from a
category equipped with a Grothendieck topology — trivial, discrete, dense,
canonical. Sieves there form a lattice traversed by pullback (`pullback_id`,
`pullback_pullback`, `pullback_monotone`…), and every topology can be compared,
generated, and closed under covering.

**Building the sheaf** (Parts 7, 9, 10, 13, 14, 17, 18). Above the site live
the presheaves; the gluing condition — uniqueness then existence — defines
separation and then the sheaf, transferable along J₁ ≤ J₂. Sheafification (the
associated sheaf functor, left exact) converts any presheaf into a sheaf:

```mermaid
flowchart TD
    SITE["<b>Site</b><br/><i>category + Grothendieck topology</i><br/>(Part 1)"]
    PSH["<b>Presheaf</b><br/><i>objects Cᵒᵖ → Type*</i>"]
    SEP["<b>Separated presheaf</b><br/>uniqueness of gluing"]
    SH["<b>Sheaf</b><br/>existence + uniqueness of gluing"]
    SHIF["<b>Sheafification</b><br/><i>associated sheaf functor</i><br/>Part 13 — left exactness (Part 14)"]
    COH["<b>Sheaf cohomology</b><br/>Parts 20-23<br/>Ext · Mayer-Vietoris · Čech"]
    SITE --> PSH --> SEP --> SH
    SHIF -.->|"produces a sheaf<br/>from a presheaf"| SH
    SH --> COH
    TR["<b>Sheaf transfer</b><br/>along J₁ ≤ J₂<br/>(Part 7)"] -.-> SH
```

**Making the points speak, measuring cohomology** (Parts 15, 19, 20-23). The
points of a site (fiber functors) and their conservative families tie the
theory to its models; sheaf cohomology — via Ext, Mayer-Vietoris, and Čech —
is its measuring instrument.

**The anchors.** On the geometry side, schemes and the Zariski site (Parts 2,
3) tie the tour back to the original algebraic geometry, with the bridge
theorem `zariski_topology_eq`. On the library side, the Mathlib map (Part 4,
a `#check` index) states honestly what exists and what is missing, and
`Calibration.lean` (Part 5) reuses the prover harness calibration taxonomy
(Epic #1453, P1-P4) without being consumed by it: the harness's live targets
live in `calibration_lean/` (HARNESS class, boundary arbitrated in #13212).

**The categorical foundations** (Parts 24-32). Yoneda, adjunctions, monads,
comma categories, (co)limits, equivalences, Kan extensions, monoidal
categories: the bedrock on which everything above is written.

**The two recent veins** (Parts 33-44). The *six operations* thread opens with
`DirectImage.lean` (Part 33, indexing the `f^* ⊣ f_*` adjunction) then
`ExceptionalDirect.lean` (Part 34, #10357) which formalizes `f_! ⊣ f^*` at the
presheaf level — the proper-support direct image as a left Kan extension, the
missing link between `f^*` and `f_*`. In parallel, the *covering* program
(Phase 5 of Epic #2159, waves 2026-08-14..16: #10879 → #11244) systematizes
the arrow and bundled forms of the covering — from `covers_comp_iff` to the
arrow form of the dense topology (Part 44), through the pullback pseudofunctor
laws and the lattice of topologies. A third vein opens with `Classifier.lean` (Part 58, #2159): the **subobject classifier** Ω — literally the presheaf of sieves of Part 6 — which makes presheaves and sheaves of sets over an essentially small site elementary topoi (Lawvere–Tierney). It closes in two steps: `LawvereTierney.lean` (Part 59) installs the closure operator `j` on Ω (three laws + naturality), then `TopologyDictionary.lean` (Part 60) proves the **dictionary** — Grothendieck topologies and Lawvere–Tierney topologies are the same data, the two transports being inverse to each other.

## Code structure

La formalisation couvre **l'ensemble des modules leaf** + **1 umbrella** `Grothendieck.lean`
(imports-only, index de lecture FR-only — #16154). Les trois sous-modules de
`SheafCohomology/` sont les Parties 20, 22 et 23 du tableau.

| Part | File | `_en` | Content | Lines |
|------|------|-------|---------|-------|
| racine | `Grothendieck.lean` | (aucun — FR-only) | **Racine umbrella** (imports-only + commentaire d'invariant FR-only) ; importe **chaque** leaf FR et **jamais** un sibling `_en` (invariant #16154 ; les siblings `_en` restent compilés par les `globs` du lakefile) ; `ExceptionalDirect` importé c.2026-08-15, **fermeture #11286** | 291 |
| 1 | `Grothendieck/CategoryAndSites.lean` | `CategoryAndSites_en.lean` | Sieves, Grothendieck topologies (trivial/discrete/dense), three axioms | 243 |
| 2 | `Grothendieck/SchemesTour.lean` | `SchemesTour_en.lean` | Scheme type, Spec functor, Γ, `homeoOfIso`, fully-faithful | 196 |
| 3 | `Grothendieck/ZariskiSite.lean` | `ZariskiSite_en.lean` | Zariski pretopology, `zariskiTopology_eq` bridge theorem, subcanonical | 139 |
| 4 | `Grothendieck/MathlibMap.lean` | `MathlibMap_en.lean` | `#check` index of Grothendieck-related Mathlib definitions | 124 |
| 5 | `Grothendieck/Calibration.lean` | `Calibration_en.lean` | 4 micro-proof targets in the spirit of the prover harness (Epic #1453, not consumed by it — cf `calibration_lean/`, boundary #13212) | 95 |
| 6 | `Grothendieck/SieveLattice.lean` | `SieveLattice_en.lean` | Sieve pullback identities (7): `pullback_id`, `pullback_pullback`, `pullback_bot`, `pullback_monotone`, `pullback_union` (#7895), `pullback_ofObjects`, `mem_iff_pullback_eq_top` | 253 |
| 7 | `Grothendieck/SheafBasics.lean` | `SheafBasics_en.lean` | Sheaf/separated presheaf basics, sheaf transfer along J₁ ≤ J₂ | 231 |
| 8 | `Grothendieck/SieveOps.lean` | `SieveOps_en.lean` | Topology ordering, covering closure, sieve composition | 208 |
| 9 | `Grothendieck/CoverageGen.lean` | `CoverageGen_en.lean` | Coverage-to-topology, sheaf characterization, sup of coverages | 233 |
| 10 | `Grothendieck/CanonicalProps.lean` | `CanonicalProps_en.lean` | Canonical topology, subcanonicity, representable sheaves | 155 |
| 11 | `Grothendieck/SieveGenerate.lean` | `SieveGenerate_en.lean` | Sieve generation identities | 243 |
| 12 | `Grothendieck/DenseTopology.lean` | `DenseTopology_en.lean` | The dense topology | 218 |
| 13 | `Grothendieck/Sheafification.lean` | `Sheafification_en.lean` | Sheafification (the associated sheaf functor) | 259 |
| 14 | `Grothendieck/LeftExact.lean` | `LeftExact_en.lean` | Left exactness of sheafification | 219 |
| 15 | `Grothendieck/SitePoints.lean` | `SitePoints_en.lean` | Points of a site (fiber functors) | 411 |
| 16 | `Grothendieck/Subcanonical.lean` | `Subcanonical_en.lean` | Subcanonical Grothendieck topologies | 232 |
| 17 | `Grothendieck/SheafHom.lean` | `SheafHom_en.lean` | Internal hom of sheaves | 273 |
| 18 | `Grothendieck/ConstantSheaf.lean` | `ConstantSheaf_en.lean` | The constant sheaf functor (bridges Mathlib `CategoryTheory.Sites.ConstantSheaf`) | 252 |
| 19 | `Grothendieck/Conservative.lean` | `Conservative_en.lean` | Conservative families of points | 501 |
| 20 | `Grothendieck/SheafCohomology/Basic.lean` | `SheafCohomology/Basic_en.lean` | Sheaf cohomology (Ext-based) | 336 |
| 21 | `Grothendieck/MayerVietorisSquare.lean` | `MayerVietorisSquare_en.lean` | Mayer-Vietoris squares | 338 |
| 22 | `Grothendieck/SheafCohomology/MayerVietoris.lean` | `SheafCohomology/MayerVietoris_en.lean` | Mayer-Vietoris long exact sequence | 235 |
| 23 | `Grothendieck/SheafCohomology/Cech.lean` | `SheafCohomology/Cech_en.lean` | Čech cohomology | 203 |
| 24 | `Grothendieck/YonedaLemma.lean` | `YonedaLemma_en.lean` | The Yoneda lemma (embedding, equivalence, naturality, fully-faithful, coyoneda) | 286 |
| 25 | `Grothendieck/Adjunction.lean` | `Adjunction_en.lean` | Adjunction of functors, unit/counit, turtle lemma, left/right adjoints | 335 |
| 26 | `Grothendieck/Monads.lean` | `Monads_en.lean` | Monads in category theory, unit, multiplication, associativity law | 253 |
| 27 | `Grothendieck/Comma.lean` | `Comma_en.lean` | Comma category, projections, functoriality | 239 |
| 28 | `Grothendieck/Limits.lean` | `Limits_en.lean` | Limits and colimits | 421 |
| 29 | `Grothendieck/Equivalences.lean` | `Equivalences_en.lean` | Equivalences of categories, fully-faithful functors, essentially surjective | 338 |
| 30 | `Grothendieck/Construction.lean` | `Construction_en.lean` | Basic categorical constructions | 256 |
| 31 | `Grothendieck/KanExtensions.lean` | `KanExtensions_en.lean` | Kan extensions (generalized limits/colimits) | 481 |
| 32 | `Grothendieck/MonoidalCategories.lean` | `MonoidalCategories_en.lean` | Monoidal categories, tensor, unit, associator | 397 |
| 33 | `Grothendieck/DirectImage.lean` | `DirectImage_en.lean` | `#check` index (8) of the `f^* ⊣ f_*` adjunction — direct/inverse image of module sheaves (#8882) | 325 |
| 34 | `Grothendieck/ExceptionalDirect.lean` | `ExceptionalDirect_en.lean` | Exceptional direct image `f_!` at the presheaf level and its adjunction `f_! ⊣ f^*` — left Kan extension of `f^*` along `f` (#10357, Phase 2 of #2159) | 202 |
| 35 | `Grothendieck/CoversArrow.lean` | `CoversArrow_en.lean` | Arrow form of the covering: `covers_monotone`, `covers_union`, `covers_inf`, `covers_comp_iff` equivalence (#10879, Phase 5 of #2159) | 199 |
| 36 | `Grothendieck/Cover.lean` | `Cover_en.lean` | Bundled covering `J.Cover X`: coe-injective, pullback/top/inf laws, `bind_mem_iff`, base condition (#10912, Phase 5 of #2159) | 284 |
| 37 | `Grothendieck/PullbackFunctor.lean` | `PullbackFunctor_en.lean` | Coherence laws of the pullback pseudofunctor on `J.Cover`: `pullback_triple`, `pullbackComp_assoc`, left/right units (#11023, Phase 5 of #2159) | 149 |
| 38 | `Grothendieck/PullbackFunctorLaws.lean` | `PullbackFunctorLaws_en.lean` | Pullback functor laws: `pullback_functor_id`, `pullback_functor_comp(_assoc)`, `covers_pullback_comp` (#11035, Phase 5 of #2159) | 141 |
| 39 | `Grothendieck/TopologyLattice.lean` | `TopologyLattice_en.lean` | Lattice laws of Grothendieck topologies: `inf/sup_covering`, `sSup_covering`, `le_covers` (#11038, Phase 5 of #2159) | 211 |
| 40 | `Grothendieck/CoversPullback.lean` | `CoversPullback_en.lean` | Arrow-form laws under pullback: `covers_pullback_comp`, `covers_bind`, `covers_iso_covering/cancel`, `covers_mono` (#11057, Phase 5 of #2159) | 202 |
| 41 | `Grothendieck/CoversOrder.lean` | `CoversOrder_en.lean` | Order laws of the arrow form `J.Covers`: `covers_top/bot_iff`, `covers_inter_iff`, `covers_of_covering`, `covers_generate_sieve` (#11068, Phase 5 of #2159) | 164 |
| 42 | `Grothendieck/PullbackCoversLaws.lean` | `PullbackCoversLaws_en.lean` | Arrow-form laws under iterated pullback: `covers_pullback_assoc`, `covers_pullback_id`, `covers_pullback_generate` (#11217, Phase 5 of #2159) | 160 |
| 43 | `Grothendieck/CoversLattice.lean` | `CoversLattice_en.lean` | Indexed lattice laws of the arrow form: `sInf/sSup_covering`, `sInf/sSup_covers` (#11231, Phase 5 of #2159) | 106 |
| 44 | `Grothendieck/CoversTopologies.lean` | `CoversTopologies_en.lean` | Arrow form of the dense topology: `dense_covers_iff`, `dense_covers_precomp` (precomposition stability), `dense_covers_id` (#11244, Phase 5 of #2159) | 115 |
| 45 | `Grothendieck/CoversBind.lean` | `CoversBind_en.lean` | Sequential composition of the arrow form `J.Covers`: `covers_bind`, `covers_bind_assoc`, `covers_bind_id_left/right`, `covers_bind_of_covering` (PR #11285 MERGED 2026-08-16 by po-2025, Part 46 of #2159) | 138 |
| 46 | `Grothendieck/CoversPushforward.lean` | `CoversPushforward_en.lean` | Direct image of the arrow form along a functor: `covers_pushforward`, `covers_pushforward_comp`, `covers_pushforward_iso`, `covers_pushforward_of_covering` (PR #11262 MERGED 2026-08-16 by po-2025, Part 45 of #2159) | 152 |
| 47 | `Grothendieck/CoversExtremal.lean` | `CoversExtremal_en.lean` | Arrow form of the two extremal topologies: `discrete_covers_iff`/`discrete_covers` (⊤, every sieve covers), `trivial_covers_iff`/`trivial_covers_of_top`/`trivial_covers_id_iff`/`trivial_bot_not_covers` (⊥), arrow-to-bundled bridge `extremal_covers`, `covers_of_cover`/`cover_of_covers_coe`/`covers_iff_cover` (Part 47 of #2159) | 204 |
| 48 | `Grothendieck/CoversOfPretopology.lean` | `CoversOfPretopology_en.lean` | Arrow form of the topology generated by a pretopology: bridge `covers_iff_of_pretopology`, members `covers_of_mem_pretopology`/`covers_self_of_mem_pretopology`/`covers_id_of_mem_pretopology`, generation `covers_iff_generate_of_pretopology`, comparison `toGrothendieck_le_iff`/`le_toGrothendieck_toPretopology` (Part 48 of #2159) | 215 |
| 49 | `Grothendieck/CoversInducedTopology.lean` | `CoversInducedTopology_en.lean` | Arrow form of the **restricted topology** `G.restrictedTopology K` (the coarsest one; the file keeps its historical `InducedTopology` name): `covers_iff`, `covers_iff_exists`, `covers_id`, `covers_id_iff`, monotonicity `covers_monotone`, precomposition `covers_precomp` (Part 49 of #2159) | 177 |
| 50 | `Grothendieck/CoversCoverPreserving.lean` | `CoversCoverPreserving_en.lean` | Arrow form of cover-preserving functors (`CoverPreserving`): `covers_pushforward_of_coverPreserving`, `covers_id_of_coverPreserving`, transport `covers_restrictedTopology` (Part 50 of #2159) | 118 |
| 51 | `Grothendieck/CoversCoverPreservingLaws.lean` | `CoversCoverPreservingLaws_en.lean` | Composition laws of cover-preserving functors: `covers_pushforward_of_coverPreserving` (namespace distinct from Part 50), `covers_comp_of_coverPreserving`, units `covers_comp_id_right`/`covers_comp_id_left` (Part 51 of #2159) | 209 |
| 52 | `Grothendieck/CoversCoverageArrow.lean` | `CoversCoverageArrow_en.lean` | Arrow form of the topology generated by a `Coverage` (#11396, Phase 5 of #2159) | 174 |
| 53 | `Grothendieck/CoversPrecoverageArrow.lean` | `CoversPrecoverageArrow_en.lean` | Arrow form of the topology generated by a pre-coverage `Precoverage.toGrothendieck`: bridge `covers_iff_toGrothendieck` with the inductive extension `Saturate` (#11402, Phase 5 of #2159) | 187 |
| 54 | `Grothendieck/CoversPretopologyArrow.lean` | `CoversPretopologyArrow_en.lean` | Arrow form of the **topology generated by a pretopology** (`Pretopology.toGrothendieck`): central bridge `covers_iff_toGrothendieck`, `covers_of_mem_toGrothendieck`, `covers_iff_pullback_toGrothendieck` (Phase 5 of #2159) | 189 |
| 55a | `Grothendieck/CoversCoherentArrow.lean` | `CoversCoherentArrow_en.lean` | Arrow form of the **coherent topology** (`coherentTopology`): instantiation of the `covers_iff_toGrothendieck` / pullback-stability pattern (Phase 5 of #2159) | 183 |
| 55b | `Grothendieck/CoversRegularArrow.lean` | `CoversRegularArrow_en.lean` | Arrow form of the **regular topology** (`regularTopology`, `Preregular` category): same bridge pattern (Phase 5 of #2159) | 175 |
| 55c | `Grothendieck/CoversExtensiveArrow.lean` | `CoversExtensiveArrow_en.lean` | Arrow form of the **extensive topology** (`extensiveTopology`, `FinitaryPreExtensive` category): same bridge pattern (Phase 5 of #2159) | 181 |
| 56 | `Grothendieck/CoversZariskiArrow.lean` | `CoversZariskiArrow_en.lean` | Arrow form of the **Zariski topology** (first named concrete topology of the series): `covers_iff_zariski` + geometric characterization by open covers `covers_iff_exists_cover` (Phase 5 of #2159, standalone on main) | 233 |
| 57 | `Grothendieck/CoversAtomicArrow.lean` | `CoversAtomicArrow_en.lean` | Arrow form of the **atomic topology** (`GrothendieckTopology.atomic`, right Ore condition): pointwise bridge `atomic_covering` (the missing analogue of `dense_covering`), `covers_iff_atomic` (central), `covers_atomic_of_mem`, stability `covers_atomic_precomp`, collapses `covers_atomic_id`/`covers_atomic_top` (Phase 5 of #2159) | 159 |
| 58 | `Grothendieck/Classifier.lean` | `Classifier_en.lean` | **The subobject classifier**: Ω = the presheaf of sieves (`Functor.sieves`), `truth`/`χ`, `Presheaf.classifier`, J-closed sieves (`Sheaf.Ω`), `HasSubobjectClassifier` instances for presheaves + sheaves; 4 own theorems (`truth_picks_top`, `chi_app_mem_iff`, `chi_app_downward_closed`, `chi_app_eq_top_of_app`) (Part 58 of #2159) | 202 |
| 59 | `Grothendieck/LawvereTierney.lean` | `LawvereTierney_en.lean` | **The Lawvere–Tierney topology**: the closure operator on Ω (`LawvereTierney`), 3 laws (extensivity, idempotence, meet preservation) + naturality under pullback; discrete (`j S = S`) and indiscrete (`j S = ⊤`) topologies, `j_top`/`j_monotone`/`closure_isClosed`, closed sieves of the indiscrete (Part 59 of #2159) | 241 |
| 60 | `Grothendieck/TopologyDictionary.lean` | `TopologyDictionary_en.lean` | **The Grothendieck ↔ Lawvere–Tierney dictionary**: the closure `jClosure J S = {f \| S.pullback f ∈ J}` (direction J → j, `grothendieckToLawvereTierney`), the dense sieves `j S = ⊤` (direction j → J, `lawvereTierneyToGrothendieck`), central bridge `covering_iff_jClosure`, and the **two inverse round-trips** — the frontier declared open by Part 59 ("requires an operator absent from Mathlib v4.32.1") is closed by building it from the raw axioms (Part 60 of #2159) | 328 |
| 61 | `Grothendieck/SitesComparison.lean` | `SitesComparison_en.lean` | **Continuous functors and the comparison lemma**: the presheaf→sheaf bridge (`sheafPushforwardContinuous`), functoriality (identity, composition — the sheaf-level mirror of `pullback_pullback`), and the induced adjunction on sheaf categories `adjunction_sheafPushforwardContinuous` (**SGA 4 III.1.6**) — adjunctions descend to sheaves without explicit sheafification (Part 61 of #2159) | 158 |
| 62 | `Grothendieck/PlusConstruction.lean` | `PlusConstruction_en.lean` | **The Plus construction**: the constructive ingredient of the two-pass sheafification (SGA 4 II.3) — functoriality (`plusFunctor`), canonical arrow `toPlus` (naturality), key identity `(P ⟶ P⁺)⁺ = P⁺ ⟶ P⁺⁺`, sheaf fixed point (`isoToPlus`), universal property of the lift (`plusLift`/`plusLift_unique`/`plus_hom_ext`) (Part 62 of #2159) | 196 |
| 63 | `Grothendieck/SheafCondition.lean` | `SheafCondition_en.lean` | **The sheaf condition as equalizer product**: reformulation of `Presheaf.IsSheaf J P` as the equalizer diagram `P(X) → ∏ᵢ P(U_i) ⇉ ∏ᵢⱼ P(U_i ×_X U_j)` — sieve form (`sheaf_iff_equalizer_sieve`), arrow-family form under `HasPullbacks C` (`sheaf_iff_equalizer_arrows`, Stacks 00VM), pretopology bridge (`sheaf_pretopology_iff`, Stacks 00VL, SGA 4 II.1) (Part 63 of #2159) | 129 |
| 64 | `Grothendieck/SheafConditionInvariance.lean` | `SheafConditionInvariance_en.lean` | **Invariance de la condition de faisceau** : stabilité de `Presheaf.IsSheaf` sous changement de site équivalent (morphismes couverts, équivalence de catégories, refinements) — pont avec Partie 61 | — |
| 65 | `Grothendieck/SheafConditionCharacterization.lean` | `SheafConditionCharacterization_en.lean` | **Caractérisations de la condition de faisceau** : reformulations équivalentes de `Presheaf.IsSheaf` sous des hypothèses structurelles (présence de produits fibrés, finitude) — pont direct avec Partie 63 | — |
| 66 | `Grothendieck/SheafTopologySpectrum.lean` | `SheafTopologySpectrum_en.lean` | **Spectre de topologies de Grothendieck** : treillis des topologies sur un site fixé, comparaisons canoniques (discrète, triviale, canonique, sous-canonique, dense) | — |
| 67 | `Grothendieck/LocalSurjectivitySpectrum.lean` | `LocalSurjectivitySpectrum_en.lean` | **Spectre de la surjectivité locale** : treillis des conditions de surjectivité locale (faithfully flat, fppf, étale) et leurs rapports | — |
| 68 | `Grothendieck/Spaces.lean` | `Spaces_en.lean` | **Espaces annelés** : la structure `RingedSpace` revisitée pour le contexte topos-théorique (introduction pédagogique, pré-Partie 2) | — |
| 69 | `Grothendieck/CoversEtaleArrow.lean` | `CoversEtaleArrow_en.lean` | **Forme flèche de la topologie étale** : instanciation du patron `covers_iff_toGrothendieck` sur `GrothendieckTopology.etale` (Phase 5 de #2159, voisinage des Parties 55a-c) | — |
| 70 | `Grothendieck/SpacesMathlib.lean` | `SpacesMathlib_en.lean` | **Espaces Mathlib** : index `#check` des constructions Mathlib liées aux `RingedSpace` / `SheafedSpace` / `PresheafedSpace` — cartographie pédagogique | — |
| 71 | `Grothendieck/SpacesSubcanonical.lean` | `SpacesSubcanonical_en.lean` | **Espaces sous-canoniques** : instanciation du critère de sous-canonicalité (Partie 16) sur les espaces annelés | — |
| 72 | `Grothendieck/Stalks.lean` | `Stalks_en.lean` | **Tige du représentable** : `unique_stalk_yoneda`, `isEmpty_stalk_yoneda` et `nonempty_stalk_yoneda_iff` montrent qu'elle est un singleton si `x ∈ U`, et vide sinon — premier maillon faisceaux ↔ espaces étalés (cf. PR #14903) | 110 |
| 73 | `Grothendieck/StalkPoints.lean` | `StalkPoints_en.lean` | **Le foncteur fibre du point est la tige** : `opensPoint` et l'isomorphisme naturel `stalkFiberIso` réalisent le TODO explicite de Mathlib `Topology/Sheaves/Points.lean` (SGA 4 IV 6.3 ; cf. PR #14919) | 210 |
| 74 | `Grothendieck/StalkSeparated.lean` | `StalkSeparated_en.lean` | **Les tiges détectent l'égalité des sections (préfaisceau séparé)** : `eq_of_germ_eq_of_isSeparated` — relâchement séparé du `section_ext` Mathlib (cf. PR #15416) | 154 |
| 75 | `Grothendieck/StalkGluing.lean` | `StalkGluing_en.lean` | **Recollement des familles de germes** : toute famille localement représentable provient d'une unique section globale ; reformulation comme surjectivité vers le sous-type `GermFamily.IsLocallyRepresentable` | 161 |
| 78 | `Grothendieck/StalkCharacterization.lean` | `StalkCharacterization_en.lean` | **Caractérisation du faisceau par les tiges** : l'équivalence `IsSheaf F ↔ <séparation par les germes> ∧ <recollement des familles localement représentables>` — le capstone des Parties 74-75, et le seul endroit du lake où la condition de faisceau est *dérivée* plutôt que consommée (via `isSheaf_of_isSheafUniqueGluing_types`) | 152 |
| 77 | `Grothendieck/Skyscraper.lean` | `Skyscraper_en.lean` | **Le faisceau gratte-ciel : support et tiges** — `support (skyscraper p₀ A) = closure {p₀}`. Mathlib énonce les **deux** isomorphismes de tige (`skyscraperPresheafStalkOfSpecializes`, `...OfNotSpecializes` / `...IsTerminal`) mais ne pose nulle part la notion de *support* ni le calcul du sien ; cette partie les assemble, nomme l'hypothèse nécessaire `IsEmpty (IsTerminal A)` (sans elle le support est vide), en déduit le corollaire pour `p₀` fermé (`= {p₀}`) et la dichotomie des tiges point par point | 175 |
| 78 | `Grothendieck/SerreMap.lean` | `SerreMap_en.lean` | **Le miroir Serre de la Partie 4** : index `#check` du versant Serre du pont Serre–Grothendieck dans Mathlib — classes de Serre (définition + clôture deux-sur-trois + instance groupes abéliens finis), localisation de Serre + Gabriel–Popescu, perfection au sens de Serre (`PerfectRing`, `PerfectField.ofFinite` instancié sur `ZMod 7`), construction de Serre (`Matrix.ToLieAlgebra`, exceptionnelles), dérivée de Serre, domaine fondamental (*Cours d'arithmétique* VII), DVR (*Corps locaux*) — et la liste honnête des absents (GAGA, dualité, FAC, R1+S2, Quillen–Suslin, Hochschild–Serre, Serre-noethérien). #16334 | 170 |
| 79 | `Grothendieck/Flasque.lean` | `Flasque_en.lean` | **Faisceaux flasques, du topologique au site** — `IsFlasqueSieves P` : toute famille compatible sur **tout** crible (couvrant ou non) s'amalgame, la version *site* de la flasquité que Mathlib ne pose nulle part (`Mathlib.Topology.Sheaves.Flasque` couvre le seul topologique). Conséquences : `nonempty_obj_of_isFlasqueSieves` (le crible vide force des sections sur tout objet — subtilité invisible à la définition topologique), `isSheaf_of_isFlasqueSieves_of_isSeparated` (**flasque + séparé ⇒ faisceau**, chaînage explicite de `IsSeparated.isSheaf` : existence par flasquité, unicité par séparation), `isFlasqueSieves_const_of_subsingleton` (le préfaisceau constant n'est flasque que sur un sous-singulier non vide), deux ponts vers Mathlib (`pushforward_isFlasque_bridge` image directe Partie 33, `isFlasque_skyscraper_bridge` gratte-ciel Partie 77). God58 II.3, SGA 4 II, MM92 II.3 Ex. 9. | 184 |
| 80 | `Grothendieck/FlasqueStability.lean` | `FlasqueStability_en.lean` | **Stabilité de la flasquité : isomorphismes, produits, frontière de l'acyclicité** — `isFlasqueSieves_of_iso` (invariance par isomorphisme : famille transportée par `e.inv`, amalgamation revenue par `e.hom`, compatibilité par naturalité), `isFlasqueSieves_pi` (**tout produit de préfaisceaux flasques est flasque**, Godement II.3.2 : la famille se projette composante par composante via `piObjIso`, chaque composante s'amalgame, le vecteur des amalgamations amalgame — stabilité que Mathlib n'enregistre ni côté topologique ni côté sites), `subsingleton_H_succ_of_flasque_of_injective` (**croisement Partie 20 × Partie 79** : flasque et injectif ⇒ `H^{n+1}` trivial, consommant l'instance Mathlib d'annulation ; le maillon manquant *flasque ⇒ injectif* (II.5.2, par Zorn) explicitement documenté comme frontière du lake). Ligne de lecture : les stabilités sans choix (iso, produit) s'arrêtent exactement là où Zorn devient nécessaire. God58 II.3-II.5, SGA 4 II. | 230 |
| 81 | `Grothendieck/FlasqueRetract.lean` | `FlasqueRetract_en.lean` | **Flasqueness descends to retracts** — `isFlasqueSieves_of_retract`: if `Q` is a retract of `P` (`e : P ⟶ Q`, `s : Q ⟶ P`, `s ≫ e = 𝟙 Q`) and `P` flasque, then `Q` flasque — **one-sided** generalization of invariance under isomorphism (God58 II.3.1, symmetric case): the family pushes along the section, amalgamates in `P`, comes back through `e`; naturalities + `e ≫ s = 𝟙`, no choice. Alias `isFlasqueSieves_of_retract'` (roles exchanged: `e ≫ s = 𝟙 P`, both directions of a split pair), corollary `isFlasqueSieves_of_iso'` (the iso re-derived from the retract in one line), abelian bridge `isFlasqueSieves_of_retract_addCommGrp` (right whiskering by `forget`: stability passes to abelian-group presheaves, the setting of useful retracts). Mathlib records nothing of the kind, not even topologically. Extends the no-choice boundary of Part 80: any retract transports canonically, only the Zorn link `flasque ⇒ injective` (God58 II.5.2) costs a choice. God58 II.3.1, SGA 4 II, crossings P79/P80. | 164 |
| 82 | `Grothendieck/FlasqueExact.lean` | `FlasqueExact_en.lean` | **From the sieve to the epimorphism** — `exists_isAmalgamation_of_sieveTop` (the **maximal** sieve always amalgamates, no hypothesis on `P`: sieve-flasqueness is a condition on proper sieves only), `exists_lift_of_isFlasqueSieves_of_mono` (sieve-flasque ⇒ extension along any **mono**, arbitrary site — the "subobject" reading of section extension), `exists_isAmalgamation_of_isFlasque_generate_singleton` (partial converse: `Presheaf.IsFlasque` ⇒ amalgamation on any sieve **generated by a single arrow**; the residual gap towards `IsFlasqueSieves` = exactly the multi-generator sieves), and `epi_of_shortExact_of_isFlasqueSieves` (**Godement II.3 on the site side**: Mathlib's Zorn proof `epi_of_shortExact` consumes the flasqueness of `X₁` exactly once, at the inclusion `homOfLE inf_le_right` — the local replay substituting this single link by the mono-extension shows that "epi on every arrow" yields to "amalgamation on every sieve": the short exact sequence theorem already lives in the world of sites). Documented frontier: the full converse would require Zorn on multi-arrow families. God58 II.3/II.5, SGA 4 II, MM92 II.3/III.4. | 235 |
| 83 | `Grothendieck/FlasqueQuotient.lean` | `FlasqueQuotient_en.lean` | **The bridge closes** — `isFlasque_of_isFlasqueSieves` (**return** bridge: sieve-flasque ⇒ Mathlib-flasque for every arrow of `Opens X` — the site is thin, every arrow there is mono, the mono lift of Part 82 applies to each restriction, no sheaf hypothesis), `isFlasqueSieves_of_isFlasque_of_isSheaf` (**forward** bridge: sheaf + Mathlib-flasque ⇒ sieve-flasque, **without Zorn** — the multi-generator frontier of Part 82 disappears on `Opens X`: the supremum `V₀` of the sieve's members bounds the family in the lattice of opens, the sheaf condition glues the family there (`presieveOfCovering.mem_grothendieckTopology`), flasqueness extends the section from `V₀` to `U`), and `isFlasqueSieves_of_shortExact_of_isFlasque₁₂` (**Godement II.3.1 second half on the sieve side**: `X₁` and `X₂` sieve-flasque ⇒ `X₃` sieve-flasque, mirror of `TopCat.Sheaf.IsFlasque.of_shortExact_of_isFlasque₁₂` — the epi of `S.g` comes from Part 82, the restrictions of `X₂` from the return bridge, the conclusion from the forward bridge). On `Opens X`, the two flasqueness notions coincide for sheaves. God58 II.3.1, SGA 4 II, MM92 II.3. | 206 |
| 84 | `Grothendieck/Godement.lean` | `Godement_en.lean` | **The Godement sheaf C⁰: discontinuous sections** — `godementPresheaf` (`U ↦ ∏_{x ∈ U} Fₓ`, the product of stalks (P73), with no continuity condition whatsoever), `isFlasque_godementPresheaf` (**C⁰F is flasque with no hypothesis on F**: zero extension outside `U`, the zero of stalks makes the extension always possible — consumes Mathlib's `Presheaf.IsFlasque`), `isSheaf_godementPresheaf` (**C⁰F is a sheaf**: pointwise gluing via `isSheaf_iff_isSheafUniqueGluing`, the per-point choice of index is harmless since compatibility, for sections that ARE functions, is a pointwise equality), `injective_toGodement_of_isSheaf` (**the germ unit `F → C⁰F` is injective when `F` is a sheaf**: `germ_eq` provides a neighbourhood at each point, `⨆ W = U`, unique gluing identifies — all morphism equalities of opens go through `Subsingleton`). Construction absent from Mathlib (checked v4.33.0, 0 hit); opens the way to Godement's canonical resolution (iterating `C⁰` on kernels), the next thread. God58 II.4.1, crossings P73/P79-P83. | 218 |
| 85 | `Grothendieck/GodementFunctor.lean` | `GodementFunctor_en.lean` | **Functoriality of C⁰: the endofunctor and its unit** — the prerequisite that was missing in order to iterate the construction on kernels (Godement's canonical resolution). `godementHomApp` (the action of a morphism `φ : F ⟶ G` on Godement sections, **pointwise in the stalks** via `Presheaf.stalkFunctor`: a section is a freely chosen function, no compatibility to check), `godementFunctor` (**C⁰ is an endofunctor** of `X.Presheaf AddCommGrpCat` — identity and composition are those of the stalks, `map_id`/`map_comp` free, like the flasqueness of Part 84: everything comes from C⁰ being a product of evaluations), `toGodementNatTrans` (**the unit `F → C⁰F` is natural** — `𝟭 ⟶ C⁰`, an instance of `Presheaf.stalkFunctor_map_germ_apply`: the germ of the morphism is the morphism of the germs), which allows writing the first step of the Godement complex. The preservation of monomorphisms by C⁰ is **not** established here. God58 II.4.1, continuation of P84. | 138 |
| 86 | `Grothendieck/GodementMono.lean` | `GodementMono_en.lean` | **C⁰ preserves monomorphisms — the prerequisite named by Part 85 is closed** — `injective_app_of_mono` (a mono `φ : F ⟶ G` of presheaves of abelian groups is **injective on every open**: `NatTrans.mono_iff_mono_app` reads the mono of a natural transformation component by component, and `AddCommGrpCat.mono_iff_injective` identifies mono and injection), `godementHomApp_injective` (**injectivity descends to the stalks**: two Godement sections whose images coincide at every point coincide, the induced map on the stalks being injective — `Presheaf.stalkFunctor_map_injective_of_app_injective`, valid for any presheaf), `godementMapHom_mono` (**C⁰φ is a mono**: the sectionwise injectivity *is* the mono in `AddCommGrpCat`), and the instance `godementFunctor_preservesMonomorphisms` (**C⁰ is a functor that preserves monomorphisms** — `Functor.map_mono` now applies to C⁰). This is the prerequisite that was missing in order to iterate C⁰ on kernels and form the Godement complex `0 → F → C⁰F → C⁰(K) → ⋯`. God58 II.4.1, continuation of P85. | 99 |
| 87 | `Grothendieck/GodementResolution.lean` | `GodementResolution_en.lean` | **The iterated unit sequence `F → C⁰F → C⁰²F` is posed — and it is not the canonical resolution**: `godementUnitIter` (the morphism `C⁰F ⟶ C⁰²F`, the unit `toGodement` re-applied to the presheaf `C⁰F`), the witness `godementUnit_comp_injective` (on sheaves, the composite `μ ≫ μ(C⁰F)` is **injective** — composite of the unit injective on sheaves and the re-applied unit injective without hypothesis — so this sequence of morphisms is **not a complex**: `μ ≫ d⁰ = 0` is **false** for this morphism, not a deferred statement), and `godementUnit_injective_of_isSheaf` (exactness at F of `0 → F → C⁰F`, mono on sheaves — the only exactness fact posed). The true differential of the canonical resolution (cokernel of the unit, God58 II.4.1) and acyclicity `H^n(C⁰F) = 0` for `n ≥ 1` are the named frontier of Part 89. | 110 |
| 88 | `Grothendieck/GodementAcyclicity.lean` | `GodementAcyclicity_en.lean` | **The lengthening of the unit sequence by one link**: the morphism `C⁰²F ⟶ C⁰³F` (`godementUnitIter_at_iterate` = the unit re-applied at the iterated presheaf `C⁰F`), the `rfl` definitional equality (`godementUnitIter_at_iterate_def`) and the structural extension of the sequence from two to three arrows (`godementUnitChain_extends`). **No** complex property, null-composition or **acyclicity** `H^n(C⁰F) = 0` is posed or promised: the unit sequence is not a complex (`godementUnit_comp_injective`, P87), and these questions first require the true differential (cokernel of the unit, God58 II.4.1) — named frontier of Part 89. | ~110 |
| 89 | `Grothendieck/GodementCanonicalDiff.lean` | `GodementCanonicalDiff_en.lean` | **The Godement canonical step: the named frontier is treated** — `godementStep` (for every `f : A ⟶ B`, the composite `B ⟶ C⁰(coker f)`: cokernel projection then unit of the cokernel — the uniform pattern of the canonical resolution), `comp_godementStep_zero` (**the null-composition of the canonical step is proved**: `f ≫ godementStep f = 0` by the universal condition of the cokernel — two rewrites), `godementCanonicalDZero` (the degree-0 differential `d⁰ = godementStep μ : C⁰F ⟶ C⁰(coker μ)`) and `toGodement_comp_godementCanonicalDZero` (**`μ ≫ d⁰ = 0`**: the start of the augmented resolution `0 → F → C⁰F → C⁰(coker μ)` is a complex — the exact opposite of the P87 witness for the iterated unit, which was injective hence nonzero). Exactness at `C⁰F` (`ker d⁰ = im μ`), iteration of the step (`d¹`, `d²`, …) and **acyclicity** `H^n(C⁰F) = 0` remain the named frontier of Part 90. | 109 |
| 90 | `Grothendieck/GodementExactness.lean` | `GodementExactness_en.lean` | **The complex beyond degree 0 and the categorical mono of the unit** — `godementCanonicalDOne` (the degree-1 differential `d¹ = godementStep d⁰ : C¹F ⟶ C⁰(coker d⁰)` — the P89 iteration pattern applied to `d⁰`), `godementCanonicalDZero_comp_godementCanonicalDOne` (**`d⁰ ≫ d¹ = 0`**: the canonical resolution is a complex beyond degree 0, a direct instance of `comp_godementStep_zero` — each subsequent degree is free by the same argument) and `mono_toGodement_of_isSheaf` (**the unit `F → C⁰F` is a categorical monomorphism on sheaves**: the categorical ascent of the section-by-section injectivity of P84 (`godementUnit_injective_of_isSheaf`) via `NatTrans.mono_iff_mono_app` + `AddCommGrpCat.mono_iff_injective` — the exactness of `0 → F → C⁰F` **at F**, now stated in the language of complexes). **Author's note**: the reduction of exactness at `C⁰F` to the mono of the cokernel's unit (`exact_toGodement_godementCanonicalDZero_of_mono`, draft r65) has been **withdrawn** from this Part — its proof required the separatedness of the cokernel for `F` sheaf (gluing of [God58] II.4.1) and a tactical `sorry` that became `sorryAx` transitive at import (`forbidden` §B). The honest frontier is deferred to Part 91, which will proceed by direct construction of the gluing and place the `IsIso`/`Mono` instances at the use site. The complete reduction iteration to higher degrees and **acyclicity** `H^n(C⁰F) = 0` for `n ≥ 1` ([God58] II.5) remain in P91 scope. | 124 |
| 91 | `Grothendieck/GodementExactness.lean` | `GodementExactness_en.lean` | **The separatedness of the cokernel, then exactness at `C⁰F` — Part 91 steps A and B, landed** : `eq_zero_of_locally_zero_cokernel_toGodement` (**step A** : for `F` a sheaf, a section `s` of `coker μ` whose restriction to every open of a covering family vanishes is zero — the cokernel is not a sheaf in general, but it remains separated). The proof transposes the gluing of P84 to the quotient in five steps: lifting of `s` (`surjective_cokernel_app`: `coequalizer_as_cokernel` + `NatTrans.epi_iff_epi_app` + `AddCommGrpCat.epi_iff_surjective`), local liftings via the **quotient-presheaf descent `C⁰F/im μ`** (`unitImageQuotientPresheaf` + `unitImageQuotientπ` + `toGodement_range_le_comap`: the universal property of the cokernel at the presheaf level, applied section by section through `exists_of_cokernelπ_app_eq_zero` — the proper construction replacing the r65-draft `sorry` withdrawn in P90), compatibility on intersections (P84 sectionwise injectivity), gluing (`IsSheafUniqueGluing` in `F` then in the sheaf `C⁰F`, by uniqueness of gluing) and conclusion `s = π(μ t') = 0` (`cokernel.condition`). Then **step B** : `mono_toGodement_cokernel_of_isSheaf` (**the Godement unit of the cokernel `toGodement (coker μ)` is a categorical monomorphism** — P84 locality (`Presheaf.germ_eq`: equal germs yield a neighbourhood where the restrictions coincide), whose conclusion — a locally zero difference — vanishes by step A, with no gluing) and `exact_toGodement_godementCanonicalDZero` (**the exactness reduction withdrawn from draft r65, proved: for `F` a sheaf, `F → C⁰F → C¹F` is exact at `C⁰F`** — a short-complex transfer: exactness of `μ ≫ cokernel.π μ` is the cokernel's own (`ShortComplex.exact_cokernel`), carried from `π` to `π ≫ toGodement (coker μ) = d⁰` by `ShortComplex.exact_iff_of_epi_of_isIso_of_mono` with τ = (𝟙, 𝟙, cokernel unit)). Remaining frontier: the complete reduction iteration to higher degrees and **acyclicity** `H^n(C⁰F) = 0` for `n ≥ 1` ([God58] II.5). | 475 |
| 92 | `Grothendieck/GodementComplex.lean` | `GodementComplex_en.lean` | **The Godement complex as an object** : iterating the canonical step at all degrees, assembled as a `CochainComplex`. `godementDChain` (the chain of differentials by recursion: `d^{n+1} = godementStep dⁿ`, each arrow passing through the cokernel of the previous one — the exact iteration of [God58] II.4.1), `godementCanonicalObj`/`godementCanonicalD` (the degree-`n` term and differential `X n ⟶ X (n+1)` extracted from the chain, with `rfl` lemmas calibrating on the `d⁰`/`d¹` of P89/P90 and the term recurrence `godementCanonicalObj_succ` : `X (n+2) = C⁰(coker dⁿ)`), `godementCanonicalD_comp_zero` (**null-composition at every degree** `dⁿ ≫ d^{n+1} = 0`, an immediate instance of `comp_godementStep_zero` P89 — what makes the canonical-step sequence a complex, where the iterated unit sequence of P87 failed) and `godementCanonicalComplex` (**the assembly as a `CochainComplex … ℕ`** via Mathlib's canonical constructor `CochainComplex.of`, with interface lemmas `godementCanonicalComplex_X_zero`/`_d_zero`/`_d_one`) — the canonical resolution now exists **as a complex object**, not merely as a sequence of arrows pinned degree by degree. **Acyclicity** `Hⁿ(C⁰F) = 0` for `n ≥ 1` ([God58] II Th. 5.2.1), which will require iterating P91's exactness along the chain and then passing to homology, was the named frontier of Part 93. **Part 93(b), assembly landed**: `stalk_exact_godementCanonicalD` — the canonical complex is **exact at every stalk, at every degree** (the stalk sequence `CⁿFₓ₀ ⟶ C^{n+1}Fₓ₀ ⟶ C^{n+2}Fₓ₀` is exact at `C^{n+1}Fₓ₀` for every `n`, with no sheaf hypothesis whatsoever): every degree is the generic lemma `stalk_exact_godementStep` at `f = dⁿ`, the patterns `d^{n+1} = godementStep dⁿ` and `C^{n+2} = C⁰(coker dⁿ)` being definitional (`rfl`) — no recursion over `n` to write, the recurrence promised by P93(a) is the lemma itself. **Part 93(b), homological reading landed**: `isZero_stalk_homology_godementCanonicalComplex` — the homology of the canonical complex is **zero at every stalk, at every degree `n ≥ 1`**, with no sheaf hypothesis. Three gestures: the stalk short complex centered at `n` is exact (the assembly above taken at `n-1`); an exact short complex has zero homology; and the `stalkFunctor_preservesHomology` instance transports this `IsZero` along `ShortComplex.mapHomologyIso`, then `isoSc'` recalibrates the short complex onto the complex — the `next`/`prev` equations of `ComplexShape.up ℕ`, opaque to defeq (`Exists.choose`), being proved by hand. **Why stalks and not the presheaf**: a presheaf all of whose stalks vanish need not vanish itself (non-separated); stalkwise nullity is the unconditional form. The sheaf corollary (nullity of `Hⁿ` in the category of sheaves, [God58] II Th. 5.2.1) remains the next frontier. | 271 |
| 93 | `Grothendieck/GodementExactness.lean` | `GodementExactness_en.lean` | **Exactness of the canonical complex at every stalk — Part 93(a) rescoped, landed in three bricks, with no sheaf hypothesis whatsoever**. The initial Part 93 statement ("homology (n+1) = 0 sectionwise") had been **refuted before writing** (cohomological counterexample: a sectionwise-exact flasque resolution would imply H¹(S¹,ℤ̃)=0; documented on #2159 c.6204115101) and replaced by part (a): exactness of the canonical resolution **at the stalk level**, where [God58] II Th. 5.2.1 reads it on sheaf quotients. **Brick (i) — AB5**: `stalkFunctor_preservesMono` (a mono of presheaves is componentwise injective, and componentwise injectivity passes to stalks — the concrete face of AB5), `stalkFunctor_preservesHomology`/`stalkFunctor_preservesFiniteLimits` (the stalk functor, composite `whiskering ⋙ colim` over the neighbourhoods, preserves homology by exactness of filtered colimits in `AddCommGrpCat` — the same homology pattern as `Topology/Sheaves/Abelian.lean`, lifted to bare presheaves) and `stalkFunctor_map_exact` (**the transport**: a short exact sequence of presheaves remains exact at every stalk). **Local ingredients**: `epi_stalkFunctor_map_of_epi` (stalk ⊣ skyscraper adjunction: epis pass to stalks), `stalkEval`/`toGodement_stalkEval` (**the Godement unit splits at every stalk**: the retraction is the evaluation `σ ↦ σ(x₀)`, well defined because a Godement section is a function — the ingredient that **replaces the sheafification argument** of [God58]) and `mono_stalkFunctor_map_toGodement` (the stalk-level mono of the unit, **unconditional** — where the presheaf-level mono of P90/91 required `F` a sheaf, then separatedness of the cokernel). **Bricks (ii)+(iii) — stalks of the cokernels and splicing, combined into one generic statement**: `stalk_exact_godementStep` (for **every** morphism `f` of presheaves, the sequence of stalks `Aₓ₀ ⟶ Bₓ₀ ⟶ (C⁰(coker f))ₓ₀` is exact at `Bₓ₀` — brick (ii) consumed via `ShortComplex.exact_cokernel` transported by (i), with no explicit isomorphism `(coker f)ₓ₀ ≅ coker(fₓ₀)`; brick (iii) by the transfer `exact_iff_of_epi_of_isIso_of_mono` along (𝟙, 𝟙, stalk of the cokernel's unit), unconditionally mono — the same gesture as step B of P91 but **with no sheaf hypothesis**), of which `stalk_exact_toGodement_godementCanonicalDZero` (degree 0, unconditional — the presheaf version required `F` a sheaf) and `stalk_exact_godementCanonicalDZero_godementCanonicalDOne` (degree 1) are instances: **the recurrence is the lemma itself** — every further degree of the P92 complex is an identical instance via the pattern `d^{n+1} = godementStep dⁿ`. The **assembly** of stalkwise exactness inside the complex object is landed in P92 (`stalk_exact_godementCanonicalD`, every degree, unconditional — each degree an instance of the generic lemma, definitional patterns). The **homological reading** — stalkwise acyclicity, `Hⁿ` zero for `n ≥ 1` — is landed in P92 (`isZero_stalk_homology_godementCanonicalComplex`, unconditional): exactness of the stalk short complexes, zero homology of the exact short complex, transport of the `IsZero` by `stalkFunctor_preservesHomology` and recalibration by `isoSc'`. Remaining: the **sheaf corollary** — nullity of `Hⁿ` in the category of sheaves ([God58] II Th. 5.2.1) — which will require separatedness or sheafification of the quotients. | 861 |
| 94 | `Grothendieck/GodementComplex.lean` | `GodementComplex_en.lean` | **The flabbiness of the canonical tower**: `isFlasque_godementCanonicalComplex` — every stage `CⁿF` of the canonical Godement complex is **flasque, with no hypothesis on `F` whatsoever** (step 1 of the "flabby resolution" reading of [God58] II Th. 5.2.1). The assembly is a three-case `exact`, each case an instance of the existing generic brick `isFlasque_godementPresheaf` (zero-extension of germ families: a family on `V` lifts to any open `U ⊇ V` by extending by `0` outside `V`): degree 0 (`godementPresheaf F`, calibration `godementCanonicalObj_zero`), degree 1 (`godementPresheaf (coker μ)`, definition of the `godementDChain` link at 1), degree `n+2` (`godementPresheaf (coker dⁿ)`, calibration `godementCanonicalObj_succ`) — all three reductions are definitional, no recursion to write. **Calibrating correction**: the #2159 addendum c.6242821964 wrongly claimed `TopCat.Presheaf.IsFlasque` was absent from Mathlib ("sheaf-only") — the Flasque.lean file carries both versions, presheaf and sheaf; the flabbiness brick therefore already existed, and this Part writes no new flabbiness lemma, it assembles. The sheaf corollary (nullity of `Hⁿ` in the category of sheaves) remains behind abelian sheafification (absent from Mathlib at the pinned version: `sheafify` Type-valued only, `HasSheafify`/`HasSheafCompose` with no instance for `(AddCommGrpCat, TopCat)`); the flabby resolution (long exact sequence, Part 95+) will consume the brick landed here. | 309 |
| 95 | `Grothendieck/SheafCohomology/Godement.lean` | `SheafCohomology/Godement_en.lean` | **Godement cohomology: definition and calibrations — brick 1 of the P95 route** (flabby resolution, as arbitrated at rank 94: the direct sheaf corollary remains behind abelian sheafification). `sectionsFunctorAdditive` (the "sections on `U`" functor `F ↦ F(U)`, written by hand with its single-field `Additive` instance `map_add` (by `rfl`) — no dependency on an uncertain generic evaluator at the pin), `godementSectionsComplex` (the complex of sections: the image of the P92 canonical complex under the sections functor via `Functor.mapHomologicalComplex` — each stage the group `CⁿF(U)`, each differential the fieldwise action of `dⁿ`), `godementCohomologyObj` (**`Hⁿ_God(U, F) := Hⁿ(Γ(U, C^●F))`** — the historical definition [God58] II §5.1, prior to any Ext presentation; the comparison theorem with the Ext-based `Hⁿ` of Part 20 is a frontier beyond) and `godementSectionsComplex_X` (definitional `rfl` calibration: the degree-`n` stage is `CⁿF(U)` — a bridge to the notations of Parts 89-92). **Brick 2 landed: `godementZerothCohomologyIso` — `H⁰_God(U, F) ≅ F(U)` for `F` a sheaf** ([God58] II §5.1), **without sheafification** — the wall identified in the P95 plan belongs to brick 3 only. Three moves: `godementSectionsComplex_d_zero` (calibration `(Γ(U, C^●F)).d 0 1 = d⁰(U)`, the `d` field of `mapHomologicalComplex` being definitional); `exact_app_toGodement_godementCanonicalDZero` (**Part 91's step B evaluated at `U`**: the section sequence `F(U) → C⁰F(U) → C¹F(U)` is exact — evaluation at an open set is an exact functor, limits and colimits being pointwise, so exactness transports by `Functor.exact_tfae`: where Part 93(a)'s stalk reading required AB5, the section reading at a fixed open set is free); then the assembly `H⁰ = ker d⁰` (nothing in degree −1: `isoSc'` calibration with hand-proved `prev 0 = 0`/`next 0 = 1` equations, then `homologyIsoCokernelLift` and `cokernelZeroIsoTarget`) and `ker d⁰(U) ≅ F(U)` because the kernel lift `F(U) ⟶ ker d⁰(U)` is epi (`Exact.epi_kernelLift` on the evaluated exactness) and mono (the Godement unit is mono, P90, evaluated at `U`, composed with `kernel.ι`) — an iso in balanced `AddCommGrpCat`. **Not posed, named frontiers**: the long exact sequence (brick 3 — cone or dimension-shift, the one that will require abelian sheafification); functoriality in `F`, the frontier named here when this Part landed, is delivered by Part 96 (`godementCanonicalComplexMap`). | 258 |
| 96 | `Grothendieck/GodementComplex.lean` | `GodementComplex_en.lean` | **Functoriality in `F` of the canonical complex** — the grain named by Part 95: Part 92 had posed the object `godementCanonicalComplex`, not the action on morphisms. `godementCanonicalComplexMap`: for every morphism of presheaves `η : F ⟶ G`, a morphism of complexes `C^●F ⟶ C^●G`. **The difficulty is the definition, not the commutation**: the degree-`n+1` arrow is `C⁰` of a cokernel arrow built by `cokernel.map`, which takes the right vertical arrow **as data** — i.e. the degree-`n+2` arrow one is still defining. The naive recursion is circular; it is broken by carrying **the whole square** as an `Arrow`-morphism `godementDChainMap F G η : godementDChain F n ⟶ godementDChain G n` (the pair of the two verticals `f n`, `f (n+1)` **and** the commutation of the degree-`n` square) — the degree-`n+1` square follows without any self-reference, the right vertical becoming the left vertical of the next one. The generic lemma `godementStep_map` (compatibility of the canonical step with a `cokernel.map` square, bridging `cokernel.π_desc` over the naturality of the Godement unit) factors the same computation for the base square (the unit, via `toGodement_naturality`) and for each iterated square. Then follow `godementCanonicalMap`/`godementCanonicalD_map` (the degree-`n` component and its commutation with the differentials), the calibration `godementCanonicalComplexMap_f` (`rfl`), and `godementCanonicalComplexMap_id` (**identity is respected** — by induction on the two verticals of the carried square, via `cokernel_map_self_id` which routes around the dependent rewrite of `cokernel.map_id`). Composition `map_comp`, the frontier named here, is delivered by Part 97 (`godementCanonicalComplexMap_comp`); the long exact sequence (Part 95, brick 3) remains. | 504 |
| 97 | `Grothendieck/GodementComplex.lean` | `GodementComplex_en.lean` | **Composition of canonical complex morphisms** — the second half of functoriality in `F`: with Part 96, `F ↦ godementCanonicalComplex F`, `η ↦ godementCanonicalComplexMap η` is now **a functor** from `X.Presheaf AddCommGrpCat` to cochain complexes. `cokernel_map_comp` — the generic lemma: two stacked commutative cokernel squares induce the composite square, and `cokernel.map` of the composite is the composite of the `cokernel.map`s; the composite verticals are **data** equipped with their defining equations, substituted by `subst` (the scheme of `cokernel_map_self_id`), and the proof closes by `Cofork.IsColimit.hom_ext` — two arrows out of a cokernel are equal once their composites with `cokernel.π` are, the pattern of Mathlib's `cokernel.map_desc` (bare `ext` would descend here to elements — concrete category — and leave the morphism-level rewrites inapplicable). `godementCanonicalMap_comp` — the action of `η ≫ θ` is the composite of the actions, degree by degree: Part 96's paired induction reused verbatim (the induction hypothesis carries both verticals `.left`/`.right` of the square), `cokernel_map_comp` playing exactly the role `cokernel_map_self_id` plays for the identity — the zero step on the unit square, the succ step by definition on the `.left` projection. `godementCanonicalComplexMap_comp` — the complex-level assembly (`ext n`, rewrite by the degree lemma, `rfl`). **Not posed** (named frontier): the long exact sequence (Part 95, brick 3), the one remaining piece for the functoriality of Godement cohomology. | 627 |
| 98 | `Grothendieck/GodementComplex.lean` | `GodementComplex_en.lean` | **The exactness of `C⁰`: epi, exactness and short exactness at every open** — tranche 1 of brick 3 of Part 95 (the long exact sequence). The mono face was already closed (P86 `godementMapHom_mono`); this Part closes the remaining faces, **evaluated at every open `U`**: `godementHomApp_zero_mor` + `godementMapHom_zero` + the instance `godementFunctor_preservesZeroMorphisms` (unlocks `ShortComplex.map godementFunctor`, tranche 2, via the pin's `Presheaf.stalkFunctor.Additive`); `godementHomApp_surjective_of_epi` (surjectivity descends to Godement sections, `epi_stalkFunctor_map_of_epi` P93, freeness of the product); `epi_godementMapHom_of_epi` (`NatTrans.epi_iff_epi_app`); `exact_godementHomApp` (the elementwise core: germ-by-germ lifting via `stalkFunctor_map_exact` P93); `exact_app_godementMapHom` (`ShortComplex.ab_exact_iff` closes the transfer); the headline `shortExact_app_godementMapHom` (mono P86 + epi + exactness, `ShortComplex.ShortExact.mk'`). Nothing depends on abelian sheafification. P84 disclaimer updated (mono P86, epi and exactness P98). **Not posed**, named frontier: the degreewise SES of the canonical complexes themselves (a `ShortExact` of complexes) — flabby lifting (`epi_of_shortExact_of_isFlasqueSieves`, P94) or the separatedness ladder, tranche 2 for Part 99. | 749 |
| 99 | `Grothendieck/GodementComplex.lean` | `GodementComplex_en.lean` | **The pointwise exactness bridge, then `C⁰` preserves short exact sequences (rank 0)** — `shortComplex_exact_iff_app` proves `S.Exact ↔ ∀ U, (S.f(U) ⟶ S.g(U)).Exact` by homology: `exact_iff_isZero_homology`, the `mapHomologyIso` isomorphism (evaluation preserves finite (co)limits), and `Functor.isZero_iff`, transporting `IsZero` along isomorphisms rather than rewriting a dependent diagram. `shortExact_map_godementFunctor` assembles the short exact sequence `S.map godementFunctor` at the level of natural transformations: mono from P86, epi and pointwise exactness from P98. **Not posed**: rank `n + 1`, which requires vanishing of the snake connecting morphism for cokernels — flabby lifting (P94) or the separatedness ladder. | 798 |
| 100 | `Grothendieck/GodementComplex.lean` | `GodementComplex_en.lean` | **The degreewise SES of the canonical complexes, by two-time recursion** — the frontier named by Parts 98-99 (a `ShortExact` *of complexes*, not of evaluated sections). `godementDChainMap` carries the whole square state (the two verticals and their commutation), breaking the circularity of `cokernel.map`, which takes the right vertical as data; `godementCanonicalMap` is its left vertical and `godementCokernelMap` the degree-`n` cokernel arrow. **Easy target `godementCanonicalMap_comp_zero` (the `zero` field of the stage SESs) — PROVED at every degree with no hypothesis at all**: degree `0` by `godementMapHom_comp` of a null composite; generic link `P (n+1) → Q n → P (n+2)` by `cancel_epi` on `cokernel.π` (an epimorphism by construction) with `cokernel.π_desc` transport (`godementCokernelMap_comp`); rank `1` (shape `μ`) by the same mechanism on the unit cokernel arrows — `π₁ ≫ c₁μ ≫ c₂μ = C⁰(S.f) ≫ C⁰(S.g) ≫ π₃ = C⁰(S.f ≫ S.g) ≫ π₃ = 0` via `godementMapHom_comp`/`S.zero`/`godementMapHom_zero`, then `cancel_epi` (`godementCokernelMap_comp_rank_one`) — **the snake does not enter**; the full induction `n = 0 \| 1 \| m + 2` closes the statement. **Hard target `shortExact_godementCanonicalObj`** (mono/epi of the stages and SES of cokernels): statement **withdrawn from compiled code** (ai-01 arbitration 2026-11-19 on #25661 — mothers #25599/#25605 require `distinct_code_sorry` 0 → 0), documented as a module comment for verbatim resurrection; organ `SnakeInput` with connector `δ` killed by `hsep` (`Mono (toGodement S.X₃)`) and `hres` (exactness of the resolution); 0 `sorry`, the lake's `sorry-baseline` unchanged at 0. | 1050 |
| 101 | `Grothendieck/GodementComplex.lean` | `GodementComplex_en.lean` | **The `C⁰`-image SES categorified, and degree zero at the stalks** — the categorical and stalkwise angle, complementing Parts 98-100. `shortExact_godementMapHom`: if `S` is short exact, the sequence of `C⁰`-images is short exact **in the category of presheaves** — Part 98 had it open by open; the evaluation functors preserve finite limits and colimits (instances of `Limits.FunctorCategory.Finite`) and jointly reflect isomorphisms (`jointlyReflectIsomorphisms_evaluationPresheaf`, one line per `NatTrans.isIso_iff_isIso_app`), so `JointlyReflectIsomorphisms.shortExact_iff` transports the evaluated statement to the categorical one. `shortExact_stalk_godementMapHom`: the stalk version, by exactness of the stalk functor (`exact_tfae.out 2 0`, instance `stalkFunctor_preservesHomology` P93). `shortExact_stalk_godementCanonicalMap_zero`: the degree-`0` row of the canonical complexes, read at every stalk, is short exact — the `n = 0` base of the degreewise SES, `godementCanonicalMap_zero` being `rfl` (the degree-0 row **is** the row of `C⁰`-images). **Not posed**, named frontier: degrees `n + 1` (snake lemma at the stalks, vanishing of the connecting morphism via `isZero_stalk_homology_godementCanonicalComplex` P93b) and the assembly `shortExact_iff_degreewise_shortExact` towards the SES of canonical complexes. | 1252 |
| 102 | `Grothendieck/FlasqueAcyclic.lean` | `FlasqueAcyclic_en.lean` | **L'acyclicité des faisceaux flasques — et la correction d'une glose** : la Partie 80 créditait Godement d'un « flasque ⇒ injectif » (II.5.2), énoncé **faux** (espace discret à deux points : tous les faisceaux sont flasques, le constant (ℤ,ℤ) n'est pas injectif dans Ab×Ab) ; l'énoncé vrai est **flasque ⇒ Γ-acyclique** (II.5.1). Livrés : `shortExact_of_injectivePresentation` (le pont présentation injective ⇒ suite exacte courte, que Mathlib ne fournit pas sous la forme `ShortComplex.ShortExact`), `subsingleton_H_one_of_flasque` (**le degré 1, inconditionnel** — aucune hypothèse sur le quotient : Ext, identification H⁰ ≃ Γ, surjectivité Γ de la Partie 82 par Zorn, nullité par `comp_extClass`), le corollaire inconditionnel sur présentation injective, `subsingleton_H_succ_of_flasque_decalage` (**le décalage** : Hⁿ(X₃)=0 ⇒ H^{n+1}(X₁)=0) et le **capstone conditionnel** `subsingleton_H_succ_of_flasque_all` (Γ-acyclicité pour tout n sous l'unique hypothèse « injectif ⇒ flasque »). **Frontière nommée** : `injectif ⇒ flasque` exige l'extension par zéro `j_!` des faisceaux ouverts, absente de Mathlib. *Numéro de tranche assigné par extension de cette table : l'en-tête du module portait 94, numéro déjà tenu par la tranche 94 (`GodementComplex`, flascuité de la tour canonique).* | 361 |
| 103 | `Grothendieck/GodementComplex.lean` | `GodementComplex_en.lean` | **Rank `n = 0` of the degreewise SES of the canonical stages — PROVED and COMPILED** : `shortExact_godementCanonicalObj_zero` — for every short exact sequence `S` of `AddCommGrpCat` presheaves, the stage complex at degree `0` is `ShortExact`, in the **exact** shape of the statement withdrawn from compiled code in Part 100 (neither reworded nor weakened). The difficulty of rank `0` is not the proof : it is the **identity**. At degree `0`, the canonical stage `C⁰(S.Xᵢ)` **is** `godementPresheaf S.Xᵢ` (calibration `godementCanonicalObj_zero`, `rfl`) and the stage arrow `C⁰(S.f)` **is** `godementMapHom S.f` (`godementFunctor.obj`/`.map` by `rfl`, `godementCanonicalMap_zero` by `rfl`) — the stage SES at rank `0` **is therefore** the SES `S.map godementFunctor` of Part 99, transported by proof irrelevance : mono P86 (`godementMapHom_mono`), epi P98 (`epi_godementMapHom_of_epi`), exactness P99 (`shortExact_map_godementFunctor`). **No snake, no separatedness hypothesis, no recursion.** **Honest residual** : ranks `n ≥ 1` remain open — they require the SES of the cokernels, hence annihilation of the connector `δ` by the snake lemma (`SnakeInput` instance, `hsep` killing `ker μ_{X₃}` at the priming rank, `hres` killing `ker dⁿ` at the later ranks) **and** monicity of the cokernel arrows (`mono_cokernel_map_of_isPullback` : the square of the units must be a pullback) ; the full statement stays documented outside compiled code, for verbatim resurrection once the proof is ready. The lake's `distinct_code_sorry` : 0 → 0. | 1220 |
| 104 | `Grothendieck/GodementComplex.lean` | `GodementComplex_en.lean` | **The square of the units is a pullback — the separatedness of the LEFT term is NOT required** : `godementUnits_pullback` + `godementUnits_pullback_unique` — for a short exact sequence `0 → X₁ → X₂ → X₃ → 0` of `AddCommGrpCat` presheaves, if `X₃` is **separated** (`Mono (toGodement S.X₃)`), every Godement section `z` of `C⁰X₁` whose image by `C⁰f` is a unit of `C⁰X₂` comes from a section of `X₁` ; and two sections of `X₁` with the same image by `f` are equal — the fibre of the square is therefore **bijective**. **This tranche REFUTES the frontier announced in Part 103** : the separatedness of the left term was not a hypothesis to be established. Only the separatedness of the **right** term is used (it gives the injectivity of the unit of `X₃`, hence `g(y) = 0`) ; uniqueness asks only the monicity of `f`. The argument is **local** : stalk facts (`stalkFunctor_map_germ_apply`) and exactness (`shortComplex_exact_iff_app`) — no passage through the snake. This is the brick that unlocks rank `n = 1` : the `IsPullback` shape of the same square, through `mono_cokernel_map_of_isPullback`, will give the monicity of `coker μ₁ → coker μ₂` **without any hypothesis on `X₁`**. The lake's `distinct_code_sorry` : 0 → 0. | 1362 |
| 105 | `Grothendieck/GodementComplex.lean` | `GodementComplex_en.lean` | **The fibre of the units square is compatible with restriction** : `godementUnits_pullback_res` + `godementUnits_pullback_res_unique` — Part 104's fibre bijectivity becomes a **global** construction : if `x` is a fibre element over `V` (`f(x) = y` and `unit(x) = z`), its restriction to `U ⊆ V` is again a fibre element over `U` — **both** fibre equations are carried over, the first by the **naturality** of `S.f` (a morphism of presheaves commutes with restriction), the second by the fact that **the germ commutes with restriction** (`TopCat.Presheaf.germ_res_apply`) ; and the fibre element over `U` is not *a* fibre element, it is **the** restriction of the one over `V` (Part 104's uniqueness applied at `U`). This is the **uniqueness** half of the gluing of the fibres into a morphism of presheaves — the condition for stating the `IsPullback` shape of the units square, and drawing the monicity of `coker μ₁ → coker μ₂` from it. The first lemma uses **no short-exactness hypothesis** at all (it is a fact of naturality) ; the second uses one, but **none** on `X₁` : the separatedness of the left term stays unused, as in Part 104. **Honest residual** : the **existence** half of the gluing (making sure that the restricted datum does have, at the level of `U`, the shape Part 104 consumes) remains to be established — a descent on stalks, not an algebraic difficulty. The lake's `distinct_code_sorry` : 0 → 0. | 1470 |
| hors-série | `Grothendieck/Monodromie.lean` | `Monodromie_en.lean` | **La monodromie, première marche du plan épointé** — la transformation subie par une fibre transportée le long d'un lacet, maniée quatre fois dans la série sans jamais y être définie (mesure du 18/10/2026). Sur l'exemple calculable de bout en bout, la couverture `z ↦ z²` de `ℂ*` : la boucle générateur `t ↦ exp(2πi·t)` se relève depuis `1` en `t ↦ exp(πi·t)` et finit en `-1` ; la monodromie est la transposition `x ↦ -x` de la fibre `{1, -1}`, d'ordre 2, de valeur propre non triviale `-1`, racine de l'unité (`finiteOrderEigenvaluesRootsOfUnity`, `Prop` documentaire). La quasi-unipotence de Grothendieck (SGA 7, XII) n'est pas formalisée par Mathlib et ce module ne la remplace pas. Volet de la distillation #19333-G.beta (issue #21308) — module sans numéro de Partie déclaré. | 166 |
| 35 (complément) | `Grothendieck/ExceptionalTriple.lean` | `ExceptionalTriple_en.lean` | **Triade d'images exceptionnelles** : `f_! ⊣ f^* ⊣ f_*` au niveau préfaisceau — complément à la Partie 35, autour de l'image réciproque (pont avec Partie 34 `ExceptionalDirect` et Partie 33 `DirectImage`) | — |
| hors-série | `Grothendieck/Fppf.lean` | `Fppf_en.lean` | **Topologie fppf** : forme flèche de la topologie fidèlement plate de présentation finie — module sans numéro de Partie déclaré | — |

*The `Lines` column is a **dated reading**, not a live measurement: each value is
the size of the FR file at the commit that landed the row, and it is not
re-measured as the module grows. A file serving several Parts (96 to 105 on
`GodementComplex.lean`) therefore carries one value per row, smaller than the
current size; the current size is read on the file itself. A row whose reading
was taken while the PR was being written may differ by a few lines from the
landed state. The `_en` sibling adds roughly as much again.*

## Build & status

- **Toolchain**: `leanprover/lean4:v4.33.0` (cf. `lean-toolchain` of the lake; migration v4.32.1 → v4.33.0 happened post-#11294, attested by `git log -- lean-toolchain`)
- **Build** : `lake build` (WSL requis). La cible par défaut (`globs := #[`Grothendieck.*]` dans `lakefile.lean`) compile **tous** les modules FR et `_en` (1 umbrella + les leaf FR, plus les modules `_en` ; les comptes exacts sont mesurés par `git ls-tree -r HEAD`). Dernier build vérifié sur la branche de cette PR : `lake build Grothendieck` SUCCESS local (preuve jointe dans le body de PR, §Validation). Le compte disque (leaf FR, leaf `_en`, umbrella) est contrôlé par `scripts/lean/check_grothendieck_readme.py` (sortie JSON, code non nul en cas de dérive).
- **Proofs**: **0 `sorry`, 0 axiom added** — every module is complete at creation. (A naive `grep sorry` matches prose mentions in the bilingual docstrings, notably two in `ExceptionalDirect.lean`; CI counts in `real` mode — after comment stripping — and reads 0.)
- **Dependencies**: Mathlib 4 (via `lakefile.lean`)
- **i18n** (EPIC #4980, convention Option A ratifiée le 2026-07-04) : couverture bilingue complète — **les fichiers FR** (1 umbrella `Grothendieck.lean` + les leaf canoniques, mesurés par `git ls-tree -r HEAD`) et **leurs siblings `_en.lean`**, ratio 1:1 intégral (vérifié par `scripts/lean/check_i18n_siblings.py`). Le gap historique `PullbackFunctor.lean` sans `_en` est fermé depuis c.2026-08-18 : `PullbackFunctor_en.lean` est sur disque, et les modules FR ont leur sibling `_en`. Les namespaces `_en` évitent les collisions et le contenu hors docstrings reste byte-identique, vérifiable par CI. L'umbrella est un index FR-only : il importe chaque leaf FR et jamais un `_en` (invariant #16154, tenu par l'organe always-on `scripts/ci/check_grothendieck_umbrella.py`). **[`README.md`](./README.md)** est le sibling FR canonique. Hors scope : `.lake/packages/`, bibliothèques vendored.

*Note de cohérence* : couverture 1:1 intégrale — les leaf FR canoniques et leurs siblings `_en` (le gap historique `PullbackFunctor` sans `_en`, nommé dans d'anciennes révisions, est fermé sur disque). Le `globs` du lakefile auto-découvre chaque module présent, FR comme `_en`. Vérification reproductible : `python scripts/lean/check_grothendieck_readme.py` — code non nul à la moindre dérive entre la prose et le disque.

## References

The language toured here — Grothendieck topologies, sites, sheaves, and schemes — originates in Grothendieck's algebraic geometry. These are the canonical entry points; this workspace is a tour indexed against Mathlib, **not** a formalization of EGA/SGA.

- **Mac Lane, S.; Moerdijk, I.** *Sheaves in Geometry and Logic: A First Introduction to Topos Theory*. Springer Universitext, 1992. — Standard reference for Grothendieck topologies, sieves, sites, and sheaves (Parts 1, 6-8, 10, 13-14).
- **Artin, M.; Grothendieck, A.; Verdier, J. L.**, eds. *Théorie des topos et cohomologie étale des schémas* (SGA 4). Springer Lecture Notes in Mathematics 269, 270, 305, 1972-1973. — Origin of sites, Grothendieck topologies, and points of a topos (Parts 1, 15, 19).
- **Grothendieck, A.; Dieudonné, J.** *Éléments de géométrie algébrique* (EGA). Publications Mathématiques de l'IHÉS, 1960-1967. — Origin of schemes and the Zariski site (Parts 2-3).
- **Vakil, R.** *The Rising Sea: Foundations of Algebraic Geometry*. — Widely used pedagogical notes in the Grothendieckian spirit.
- **The Stacks Project.** [stacks.math.columbia.edu](https://stacks.math.columbia.edu) — Reference for schemes, sheafification, and sheaf cohomology (Parts 13, 20-23).
- **The Mathlib Community.** *Mathlib4, Category Theory and Sites*. [mathlib4 docs](https://leanprover-community.github.io/mathlib4_docs/) — The library this tour indexes (Part 4); see de Moura & Ullrich, "The Lean 4 Theorem Prover" (2021).
- **nLab.** [ncatlab.org](https://ncatlab.org) — Entries on Grothendieck topology, sieve, site, sheaf, and sheafification.

## State of the art — AxiomMath's Stacks repository

This lake is not the only Lean formalization of the Grothendieckian language. The
[AxiomMath/Stacks](https://github.com/AxiomMath/Stacks) repository (public, **Apache-2.0**, `main`
branch, its `lean-toolchain` file: `leanprover/lean4:` followed by version `v4.35.0`, recorded on
2026-11-19; found via #26786) develops it on
a different scale, in two layers `StacksCore` and `StacksFrontier`, and carries in particular a
dedicated formalization of the Godement resolution: code search `Godement repo:AxiomMath/Stacks`
confirms that this work covers a substantial set of files. Since reading the tree
`git/trees/main?recursive=1` is truncated (`truncated: true`), this qualitative confirmation
relies on the search and the paths cited below, not on an exhaustive path enumeration.

| What this lake proves | Where AxiomMath/Stacks treats it |
|---|---|
| `Grothendieck/GodementComplex.lean` — `godementCanonicalComplex` (the canonical complex), `isZero_stalk_homology_godementCanonicalComplex` (degree-wise stalk vanishing), `isFlasque_godementCanonicalComplex` | `StacksFrontier/Topology/Sheaves/Cohomology/GodementResolution/Basic.lean`, `Stalk.lean`, `StalkHomotopy.lean`; `StacksFrontier/AlgebraicGeometry/Cohomology/GodementBoundedBelowResolution.lean` |
| … including the same anchor as ours, in a stronger form | `StalkHomotopy.lean:520` proves, under [Stacks tag 0FKS](https://stacks.math.columbia.edu/tag/0FKS), `homotopyEquivalences_stalk_godementAugmentation` (the augmentation `F[0] ⟶ G(F)` is a **homotopy equivalence** on each stalk), then `:558` `quasiIso_godementAugmentation` (the augmented complex is exact), whereas our `isZero_stalk_homology_godementCanonicalComplex` establishes degree-wise stalk vanishing |

`shortExact_stalk_godementMapHom` does not appear in this table: no named statement of
Stacks says that `f_* f^*` preserves short exact sequences (an "absent" verdict in the
"Stacks correspondence" section). `singleConstantHomotopyEquiv` (`Stalk.lean:156`) is a
generic fact about the constant cosimplicial object; it carries no tag.

**What we take from it, honestly.** The homotopy equivalence above subsumes the stalk vanishing:
a degree-by-degree reconstruction of that vanishing would reimplement a special case of their
comparison. The sequel of issue #2159 therefore builds on that work (citation, alignment of
statements where the APIs differ, presentation) rather than redoing it.

**Real constraint, not resolved here**: the two lakes are separate — the Mathlib version of
§Build & status here, the toolchain recorded above and the `StacksCore`/`StacksFrontier` layout on
their side. Direct
import is not mechanical; adding `StacksFrontier` as a dependency of this lake is a structural
decision for the coordinator and the maintainer, not for a lane. This section builds on the work by
**citation and presentation**; it changes no dependency.

## See also

- Epic #1646 (hommage à Grothendieck) — Issue #2159 (profondeur de formalisation : Phase 1 livrée, Phase 2 = #10357, Phase 5 = Parties 35-44, puis Parties 64-77)
- EPIC #4980 — convention i18n Lean (Option A sibling pair ; les paires `_en` dans ce lake, ratio 1:1)
- Epic #1453 (prover harness calibration) — Issue #8960 (reconciling the two `Part` numberings)
- ~~#11286~~ — **CLOSED** 2026-08-16 (PR #11294 MERGED): umbrella import of `ExceptionalDirect` realized; the #10357 orphan lived 6 weeks before this merge
- Conway tribute workspace (`../conway_lean/`) — Lean notebook series (`../README.md`)
- **[`README.md`](./README.md)** — FR canonical sibling of this file

## Scope, honestly

Every result is fully proven (0 `sorry`, 0 axiom added), and Part 4's `#check`
index documents explicitly the boundary between what Mathlib has and what it
does not (yet) — the tour exposes that boundary rather than papering over it.
The companion `Calibration.lean` (Part 5) ties the formalization to the
broader proving effort.

This tribute is a **curated index** that lets learners see the library through
Grothendieckian eyes; Issue #2159 / Epic #1646 track further formalization —
this tour is the foundation, not the ceiling. To go further: `conway_lean/`
and the Lean notebook series as companions; Mac Lane–Moerdijk and SGA 4 for
the topos-theoretic core; Vakil and the Stacks Project for schemes and
cohomology.

## Digestion (grid #13106)

First-level digestion of the lake against the mandatory grid of [#13106](https://github.com/jsboige/CoursIA/issues/13106) (digestion & canonicalisation EPIC). Verdicts based on the README, module docstrings and formalisation issues — marked PRESENT/PARTIAL/ABSENT with the verified `file:line` evidence. A finer digestion (reconstructing each `Partie`'s path) remains for dedicated grains.

| # | Grid point | Verdict | Evidence / status |
|---|---|---|---|
| 1 | Exact statement + guarantee level | **PRESENT** | modules `Grothendieck/*.lean` ; guarantee "0 `sorry`, 0 added axiom" (`README.md` §Build & status, `lakefile.lean` `globs`) |
| 2 | Provenance, literature, priority, attribution | **PARTIAL** | §References (`README.md`: Mac Lane–Moerdijk, SGA 4, EGA, Vakil, Stacks, Mathlib, nLab) + docstrings citing SGA 4 I/II (§ `CategoryAndSites.lean:1-20`) ; attribution **per `Partie`** (which author, which snippet) is not systematic |
| 3 | Real novelty vs dependencies | **PARTIAL** | "already lives in Mathlib 4", boundary indexed by Partie 4 (`#check`) ; no explicit claim "what this lake adds to Mathlib" |
| 4 | Dependency / toolchain / axioms map | **PRESENT** | §Build & status (`README.md`): v4.32.1 toolchain, Mathlib dependency, 0 added axiom ; i18n #4980 |
| 5 | Trivial vs new developed | **PARTIAL** | the arc (sites→sheaves→cohomology) stratifies, but trivial/new is not declared party-by-party |
| 6 | Natural friction (obstacles, failed tries, debt) | **ABSENT→filled below** | §Scope, honestly + `Classifier.lean:190` (`ElementaryTopos` "not yet available"), `#11286` (pending umbrella import of `ExceptionalDirect`), phases #2159/#10357 |
| 7 | Discovery path vs reconstruction | **ABSENT→filled below** | the arc is pedagogical but doesn't spell out "why this order / what was discarded" |
| 8 | Limits, unestablished claims, review reservations | **PRESENT** | §Scope, honestly: "foundation, not ceiling", Mathlib boundary exposed |
| 9 | Corpus connection + prerequisites | **PRESENT** | navlinks `GROTH-02-Tribut-Python.ipynb` / `GROTH-03-Atelier-Python.ipynb` / `GROTH-04-Companion-Lean.ipynb` (re-link the lake) ; §See also |

### Point 6 — natural friction (fill)

Four real frictions, documented at source:

1. **Self-imposed anti-regression constraint**: every module complete at creation (0 `sorry`, 0 added axiom) — the lake's ceiling is bounded by what Mathlib already exposes, not by a choice of sub-formalisation. This is a **scope** friction: when a concept is missing from Mathlib, it is either reconstructed locally or deferred.
2. **Living Mathlib boundary**: `Classifier.lean:190` — `ElementaryTopos` "not yet available in this revision": the lake's bound moves with Mathlib.
3. **Reconnection debt resolved**: `#11286` — umbrella import of `ExceptionalDirect` **CLOSED 2026-08-16** (PR #11294, cf §See also); the umbrella now imports every FR leaf and never an `_en` (#16154), while the lakefile `globs` also build the `_en` siblings.
4. **Historical i18n friction**: a missing `_en` sibling for `PullbackFunctor` (filled since, cf §Build & status) — the bilingual pair is a maintenance constraint, not just a format.

### Point 7 — discovery path (fill)

The path is not a reconstruction — it is an **indexed tour**, and this fact is the central discovery: "the Grothendieckian language already lives in Mathlib 4". The pedagogical order (sites → sieves/topologies → sheaves → sheafification → cohomology, anchored by Spec/Zariski and by the `#check` index) is a **reading path**, not the trace of a development. A learner's entry point: README → companions (`GROTH-02` to `GROTH-04`) → modules, with Mac Lane–Moerdijk and SGA 4 as background reading. What was **discarded** and why (the "hommage, not an EGA/SGA formalisation" choice) is explicit in §The spirit of the tour and §Scope, honestly — but the trace of the real development (which attempts were abandoned) is not recorded per `Partie`; that is this digestion's limit, to be completed by a grain that interviews the authors.

## State of the art — Stacks correspondence (measured statement by statement)

Survey for issue #28537: the position of Stacks (`AxiomMath/Stacks`) towards the statements
of the twelve modules of the survey, cited from both sides (`file:line` of the lake,
`file:line` of Stacks), in four classes — **covered**: Stacks states the same fact;
**partial**: same content, other setting or other route; **absent**: no named statement in
Stacks; **divergent**: same word, two objects.

**Method.** Stacks paths are relative to `StacksFrontier/Topology/Sheaves/`; `Basic.lean` and
`StalkHomotopy.lean` written without a directory designate `Cohomology/GodementResolution/`.
The first measurements were taken file by file, through the `contents` API — the recursive GitHub tree is truncated and `Topology/Sheaves` does not
appear in it. An "absent" verdict is the absence of a **named statement** in the Stacks
files cited for its group, not an absence of content. Every anchor given in this section was
verified in a local clone of the repository, at commit `f56a316d` (2026-11-18).

### Ranking of the statements

| # | Lake module | Statements | Covered | Partial | Absent | Divergent | Statement-level references |
|---|---|---|---|---|---|---|---|
| 1 | `GodementComplex.lean` | 68 | 5 | 16 | 47 | 0 | #29220 |
| 2 | `Godement.lean` | 10 | 2 | 7 | 1 | 0 | #28700 |
| 3 | `GodementResolution.lean` | 3 | 0 | 3 | 0 | 0 | #28700 |
| 4 | `GodementExactness.lean` | 23 | 4 | 13 | 6 | 0 | #28792 |
| 5 | `GodementFunctor.lean` | 11 | 1 | 3 | 7 | 0 | #28700 |
| 6 | `GodementMono.lean` | 4 | 0 | 0 | 4 | 0 | #28700 |
| 7 | `GodementAcyclicity.lean` | 3 | 0 | 1 | 2 | 0 | #28700 |
| 8 | `GodementCanonicalDiff.lean` | 4 | 0 | 4 | 0 | 0 | #28700 |
| 9 | `Flasque.lean` | 7 | 1 | 2 | 4 | 0 | #28714 |
| 10 | `FlasqueAcyclic.lean` | 5 | 0 | 2 | 3 | 0 | #28714 |
| 11 | `Stalks.lean` | 3 | 0 | 0 | 3 | 0 | #28717 |
| 11 | `StalkSeparated.lean` | 3 | 2 | 1 | 0 | 0 | #28717 |
| 11 | `StalkGluing.lean` | 6 | 1 | 1 | 4 | 0 | #28717 |
| 12 | `SheafCohomology/Basic.lean` | 12 | 9 | 1 | 2 | 0 | #28711 |
| 12 | `SheafCohomology/Cech.lean` | 8 | 5 | 2 | 1 | 0 | #28711 |
| 12 | `SheafCohomology/Godement.lean` | 7 | 0 | 1 | 4 | 2 | #28711 |
| 12 | `SheafCohomology/MayerVietoris.lean` | 8 | 8 | 0 | 0 | 0 | #28711 |
| **Total of classified statements (rows 1 to 12)** | | **185** | **38** | **57** | **88** | **2** | |

### Anchors and gaps of setting

| # | Lake module | Main Stacks anchor | Gap of setting |
|---|---|---|---|
| 1 | `GodementComplex.lean` | `StalkHomotopy.lean:520` `homotopyEquivalences_stalk_godementAugmentation` (0FKS); `StalkHomotopy.lean:558` `quasiIso_godementAugmentation` (0FKS); `Basic.lean:499` `isFlasque_godementComplex` (0FKS); `Basic.lean:466` `godementComplex`; outside `Topology/Sheaves/`: `AlgebraicGeometry/Cohomology/GodementBoundedBelowResolution.lean:64` `preservesZeroMorphisms_godementComplex` | Stacks: `SheafOfModules` on a ringed space, and the complex of the iterate `(f_* f^*)^{n+1}`; here: presheaves of abelian groups, and the canonical step `godementStep`; clauses (3) and (5) of tag 0FKS bear on the augmented complex of a **single** sheaf — that `C⁰` preserves epimorphisms and short exact sequences is not stated in Stacks |
| 2 | `Godement.lean` | `Basic.lean:499` `isFlasque_godementComplex` (0FKS); `Sheaf/Abelian.lean:149` `restrict_eq_zero_of_germ_eq_zero` | Stacks: sheaves of modules on a ringed space; here: presheaves of abelian groups on a topological space |
| 3 | `GodementResolution.lean` | `Basic.lean:429` `godementSimplicial_left_obj` (0G5N); `StalkHomotopy.lean:558` `quasiIso_godementAugmentation` | there the iteration goes through the standard resolution of the comonad, not through the unit of our construction |
| 4 | `GodementExactness.lean` | `StalkHomotopy.lean:558` `quasiIso_godementAugmentation` (0FKS); `Modules/Exactness.lean:77` `exact_iff_stalkShortComplex_exact` (01AG); `Stalk/Separated.lean:78` `IsSeparated'` (007A) | the two "Godement complexes" are not the same object: the iterate `(f_* f^*)^{n+1}` at Stacks, the canonical step `godementStep` here |
| 5 | `GodementFunctor.lean` | `Basic.lean:416` `godementComonad`; `Basic.lean:475` `godementAugmentation` | the action of `C⁰` on **germs** has no named statement; Stacks has it on sections |
| 6 | `GodementMono.lean` | — | "`C⁰` preserves monomorphisms" is not stated in Stacks; nor is the neighbouring fact (`f_*` is right exact) |
| 7 | `GodementAcyclicity.lean` | `StalkHomotopy.lean:558` `quasiIso_godementAugmentation`; `StalkHomotopy.lean:370` `hasNaturalStalkHomotopy_godementAugmentation` | Stacks carries the acyclicity on the **complex**, not on the sequence of units |
| 8 | `GodementCanonicalDiff.lean` | `Basic.lean:329` `resolutionComplex`; `Basic.lean:337` `resolutionAugmentationCondition` | Stacks builds the differential through the alternating coface-map complex, we do it through the cokernel of the unit |
| 9 | `Flasque.lean` | `Basic.lean:291` (use of `pushforward_isFlasque`); `Cohomology/CechToCohomology/DegreeOneFlasqueVanishing.lean:211` `isFlasque_of_injective` | Stacks only has `TopCat.Sheaf.IsFlasque`, for a sheaf on a topological space; flaqueness by sieves, on a site, belongs to this lake |
| 10 | `FlasqueAcyclic.lean` | `Cohomology/CechToCohomology/DegreeOneFlasqueVanishing.lean:167` `exists_cechD_eq_of_isFlasque`; `:230` `cls_eq_zero_of_isFlasque` (tag 09SZ cited at the head of the file) | same content — degree 1 of a flasque sheaf vanishes — by the Čech route at Stacks, by Ext and an injective presentation here; acyclicity is unconditional there, here under the hypothesis `hInjFlasque` |
| 11 | `Stalks.lean` | `Skyscraper/Stalk.lean:36` `skyscraperPresheafStalkOfSpecializes` (009B); `:41` `skyscraperPresheafStalkOfNotSpecializes` (009B) | the nearest statement at Stacks computes the stalk of the skyscraper sheaf according to specialisation; our version adds the uniqueness and the description of the element — the germ of the identity of `U` |
| 11 | `StalkSeparated.lean` | `Stalk/Separated.lean:78` `IsSeparated'` (007A); `:86` `isSeparated'_iff` | Stacks reads separatedness on the germs of a presheaf of sets on a space; our corollary "sheaf ⇒ separated" requires no limit hypothesis |
| 11 | `StalkGluing.lean` | `Stalk/Separated.lean:65` `toStalkProduct`; `Glueing/Sheaf.lean:240` `gluedPresheaf_isSheaf`; `:278` `glued` (00AL) | Stacks glues sections; here a family of germs, from which the section is rebuilt |
| 12 | `SheafCohomology/Basic.lean` | `Cohomology/MayerVietoris/LongExactSequence.lean:120` `cohomology_map_app`; `Cohomology/CechDegreeZero/Evaluation.lean:136` `existsUnique_cechRestrictionHomologyMap` (01EP) | the same Mathlib base on both sides, cohomology by Ext; the `H⁰` at Stacks is that of the Čech complex of a covering, described compatibly with restrictions, ours is the `H⁰` by Ext, without that compatibility |
| 12 | `SheafCohomology/Cech.lean` | `Cohomology/CechDerivedEffaceability/GodementAtFourUniverses.lean:43` (01EJ); `Cohomology/Cech/DegreeZeroAndTheSheafCondition.lean:237` `cech_d01`; `Cohomology/CechDegreeZero/Augmentation.lean:126` `existsUnique_augHomologyMap` | Stacks identifies its Čech complex (01EJ) with the functor of Mathlib: the bridge is a reference, not a construction; it does not name the cochain complex, and its degree 0 is a result, a `rfl` here |
| 12 | `SheafCohomology/Godement.lean` | `Cohomology/CechDerivedEffaceability/GodementResolution.lean:149` `god`; `:594` `isZero_cechCohomology_god` | same word, two objects: at Stacks `god R M (V) = ∏_{W ≤ V} M(W)`, a product of sections over the sub-opens; here degree 0 is the product of the stalks |
| 12 | `SheafCohomology/MayerVietoris.lean` | `Cohomology/MayerVietoris/LongExactSequence.lean:141` (01EB) | the same Mathlib statement, `MayerVietorisSquare.sequence_exact`, to which Stacks attaches tag 01EB |

The verdict of every classified statement is written in the docstring of its declaration, with
the name of the Stacks theorem and the gap — the two tables give only the count and the
leading anchor.

**What the classification of `GodementComplex.lean` adds.** Its 68 public statements are
classified one by one (#29220); the table of their verdicts is written in the header of the
module and of its English twin. Five are covered: three by tag 0FKS — clauses (3) and (5) for
the exactness and the vanishing on stalks, flaqueness of every term for the tower — and two by
the preservation of the zero morphism, stated outside `Topology/Sheaves/`. Ten bear on a fact
that no named statement of Stacks gives: that `C⁰` preserves epimorphisms, exactness through
a short complex and short exact sequences. The other absences are bricks internal to the lake
— `rfl` calibrations, the cokernel route, readings of definitions, evaluation at an open —
the recursion formula of the differentials, applied forms of the preservation of the zero
morphism and the square of units. The twelve modules of the survey are classified.
