Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

docs(R-3): read the rational cohomology H^n(X; ℚ)
Browse filesAdd docs/readings/R-3.md, a source-by-source reading of the constant-sheaf cohomology H^n(X; ℚ), of the sheaf-to-singular comparison in the frozen library, and of whether the statement depends on it. Claim R-3 in the route notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
build Program · lake build and Comparator
Details
+141 −0 docs/readings/R-3.md added View file
| @@ -0,0 +1,141 @@ | ||
| 1 | +unread by a person | |
| 2 | + | |
| 3 | +# R-3: The rational cohomology `H^n(X; ℚ)` | |
| 4 | + | |
| 5 | +Piece R-3 of <https://shoal.club/shoal/hodge-conjecture/issues/21>. Read from source in the | |
| 6 | +frozen library; no `#print` was run (no Lean on the reading machine). All paths are relative to | |
| 7 | +`ComparatorChallenges/HodgeConjectureCMAbelianVarieties/`. | |
| 8 | + | |
| 9 | +## What the definition says | |
| 10 | + | |
| 11 | +`H^n(X; K)` is a scoped notation for Mathlib's sheaf cohomology `Sheaf.H` of the constant | |
| 12 | +sheaf `K` on the analytic space `X(ℂ)`, in degree `n` | |
| 13 | +(`HodgeConjecture/Definitions/AlgebraicGeometry/Hodge/Filtration.lean:338-344`). The docstring | |
| 14 | +says "as defined in Mathlib" and records the convention it departs from: "The literature writes | |
| 15 | +`H^n(X; K)` for the variety `X.left` alone; here the variety is presented by its structure | |
| 16 | +morphism `X`" (same file, 341-342). So the group is sheaf cohomology of the constant sheaf, not | |
| 17 | +the cohomology of a singular-cochain complex. | |
| 18 | + | |
| 19 | +The same file also defines: | |
| 20 | + | |
| 21 | +- `ComplexConstantCohomology n = ℍ^n(X; ℂ[0])`, the hypercohomology of the constant complex | |
| 22 | + sheaf complex (`Filtration.lean:346-350`); | |
| 23 | +- `H_dR^n(X) = ℍ^n(X; Ω•(X))`, the hypercohomology of the holomorphic de Rham complex | |
| 24 | + (`Filtration.lean:376-384`); | |
| 25 | +- `complexConstantCohomologyDeRhamEquiv : H^n(X; ℂ) ≃ H_dR^n(X)`, induced by the inclusion of | |
| 26 | + locally constant complex functions into holomorphic zero-forms, a quasi-isomorphism by the | |
| 27 | + holomorphic Poincaré lemma (`Filtration.lean:386-397`). | |
| 28 | + | |
| 29 | +The Hodge classes `Hdg^p(X; K)` are a submodule of `H^(2 * p)(X; K)` (`Filtration.lean:953-958`), | |
| 30 | +cut out by `fieldToDeRhamCohomologyLinear : H^n(X; K) →ₗ[K] H_dR^n(X)` | |
| 31 | +(`Filtration.lean:754-760`). The algebraic span `algebraicCycleClassSpan p` is a submodule of | |
| 32 | +`H^(2 * p)(X; ℚ)` (`HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/FundamentalClass.lean:157-158`). | |
| 33 | +The statement compares these two submodules of the one group (`HodgeConjecture/Statement.lean:48-51`). | |
| 34 | + | |
| 35 | +## Which theorem identifies it with singular cohomology | |
| 36 | + | |
| 37 | +For a complex manifold the identifying theorem is the sheaf–singular comparison: the constant | |
| 38 | +sheaf is resolved by the sheafified singular-cochain complex, because the space is locally | |
| 39 | +contractible, so sheaf cohomology with constant coefficients equals singular cohomology (this is | |
| 40 | +the sheaf-theoretic small-simplices theorem). The frozen library's form of it is | |
| 41 | +`constantsToSingularCochain_quasiIso` | |
| 42 | +(`HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SingularComparison.lean:80-90`): on the | |
| 43 | +analytic space of a smooth complex scheme, the map from the constant sheaf to the sheafified | |
| 44 | +singular-cochain complex is a quasi-isomorphism. The file header (`SingularComparison.lean:28-34`) | |
| 45 | +states the proof: algebraic coordinate charts give a basis of contractible open neighbourhoods; | |
| 46 | +singular chains on such a neighbourhood are exact in positive degree, so duality supplies local | |
| 47 | +primitives; with the explicit degree-zero calculation this proves the quasi-isomorphism. The | |
| 48 | +sheaf-cochain side is built in | |
| 49 | +`HodgeConjecture/Definitions/AlgebraicTopology/Singular/Sheaf/Cochain.lean`, whose header calls | |
| 50 | +these constructions "prerequisites for comparing singular cohomology with constant-sheaf | |
| 51 | +cohomology" (`Cochain.lean:47`). | |
| 52 | + | |
| 53 | +The library then packages the comparison as an equivalence on cohomology: | |
| 54 | +`rationalCohomologySingularCochainAddEquiv` | |
| 55 | +(`HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SingularSheafComparison.lean:89-93`) gives | |
| 56 | +`H^n(X; ℚ) ≃+ ℍ^n(X; sheafified rational singular cochains)` for `n : ℕ`, assembled from the | |
| 57 | +quasi-isomorphism and from `hypercohomologyAddEquivConstantCohomology` (`Filtration.lean:525-548`), | |
| 58 | +which identifies the hypercohomology of the constant sheaf complex with `H^n(X; K)`. The | |
| 59 | +intermediate equivalence `rationalHypercohomologySingularCochainAddEquiv` is at | |
| 60 | +`SingularSheafComparison.lean:67-76`. | |
| 61 | + | |
| 62 | +## Whether the library proves or uses it | |
| 63 | + | |
| 64 | +The library proves the comparison, but it stops at the hypercohomology of the sheafified | |
| 65 | +singular-cochain complex. The frozen library's global singular cohomology is | |
| 66 | +`OAI.AlgebraicTopology.Singular.CohomologyTo.Cohomology R X n`, the `n`-th homology of the | |
| 67 | +singular-cochain complex | |
| 68 | +(`HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Cohomology.lean:78-81`). I found no | |
| 69 | +declaration in `HodgeConjecture/` that equates `RationalSingularCochainHypercohomology` with that | |
| 70 | +group: `RationalSingularCochainHypercohomology` occurs only in `SingularSheafComparison.lean`, | |
| 71 | +`CohomologyTo.Cohomology` occurs only in its own file | |
| 72 | +(`Lemmas/AlgebraicTopology/Singular/Cohomology.lean`, 7 occurrences), and no file mentions both | |
| 73 | +`Hypercohomology` and `CohomologyTo.Cohomology` (checked by `grep -rn` over `HodgeConjecture/`). | |
| 74 | +So, as frozen, the named comparison reaches the sheafified hypercohomology and no declaration | |
| 75 | +carries it further to the global cochain group. | |
| 76 | + | |
| 77 | +The comparison is also not used. `rationalCohomologySingularCochainAddEquiv` and | |
| 78 | +`rationalHypercohomologySingularCochainAddEquiv` have no occurrences outside | |
| 79 | +`SingularSheafComparison.lean`, and `hypercohomologyAddEquivConstantCohomology` is used only | |
| 80 | +there (`SingularSheafComparison.lean:92` and `:100`); `grep -rn` over `HodgeConjecture/` gives no | |
| 81 | +other user. | |
| 82 | + | |
| 83 | +## Whether the statement depends on it | |
| 84 | + | |
| 85 | +Not formally. The statement (`HodgeConjecture/Statement.lean:48-51`) is | |
| 86 | + | |
| 87 | + Hdg^p(X; ℚ) ≤ algebraicCycleClassSpan X p, | |
| 88 | + | |
| 89 | +and both sides are submodules of `H^(2 * p)(X; ℚ)`, the sheaf-cohomology group defined at | |
| 90 | +`Filtration.lean:338-344`. The statement mentions no singular cochain, and the comparison | |
| 91 | +equivalences have no users, so neither the statement nor the frozen proof depends on them. | |
| 92 | + | |
| 93 | +What does depend on the comparison is the identification of this Lean statement with Deligne's: | |
| 94 | +Deligne writes `H^{2p}(X, ℚ)` for the Betti (singular) cohomology, and the comparison theorem is | |
| 95 | +what licenses reading the sheaf-cohomology group `H^(2 * p)(X; ℚ)` as that group. The definition | |
| 96 | +itself is well posed; the choice is stated openly in the docstring (`Filtration.lean:338-342`). | |
| 97 | +This is a remark on the reading, not a defect: the statement is about sheaf cohomology, which | |
| 98 | +for a complex manifold is singular cohomology. | |
| 99 | + | |
| 100 | +## Where singular cochains enter | |
| 101 | + | |
| 102 | +Singular cochains enter through the cycle class, not through the statement. The fundamental | |
| 103 | +class of a component is built from a supported class and then has its support forgotten: | |
| 104 | +`cycleComponentSheafClass : H^(2 * p)(X; ℚ)` | |
| 105 | +(`HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/FundamentalClass.lean:147-148`), and the | |
| 106 | +span over these is `algebraicCycleClassSpan` (`FundamentalClass.lean:157-158`). The supported | |
| 107 | +model is the singular one: the file imports | |
| 108 | +`HodgeConjecture.Definitions.AlgebraicTopology.Support.SingularCohomologySheafComparison` | |
| 109 | +(`FundamentalClass.lean:13`) and uses `supportedSingularCohomologySheafIsoRelative` | |
| 110 | +(`HodgeConjecture/Definitions/AlgebraicTopology/Support/SingularCohomologySheafComparison.lean:110`), | |
| 111 | +whose docstring identifies the sheafified relative singular cohomology with the local | |
| 112 | +relative-cohomology sheaf. This matches the issue's remark that singular cochains appear only in | |
| 113 | +the construction of cycle classes: the class is computed through a singular model but lands in | |
| 114 | +the same sheaf-cohomology group. | |
| 115 | + | |
| 116 | +## Sources | |
| 117 | + | |
| 118 | +- Frozen library, `HodgeConjecture/Definitions/AlgebraicGeometry/Hodge/Filtration.lean`: | |
| 119 | + 338-344 (definition and docstring of `H^n(X; K)`), 346-350 (`ComplexConstantCohomology`), | |
| 120 | + 376-384 (`DeRhamHypercohomology`), 386-397 (`complexConstantCohomologyDeRhamEquiv`), | |
| 121 | + 525-548 (`hypercohomologyAddEquivConstantCohomology`), 754-760 | |
| 122 | + (`fieldToDeRhamCohomologyLinear`), 953-958 (`hodgeClasses`). | |
| 123 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/FundamentalClass.lean`: 13 (import), | |
| 124 | + 147-148 (`cycleComponentSheafClass`), 157-158 (`algebraicCycleClassSpan`). | |
| 125 | +- `HodgeConjecture/Definitions/AlgebraicTopology/Singular/Sheaf/Cochain.lean`: header, 39-51 | |
| 126 | + (the singular-cochain sheaf and the comparison it serves). | |
| 127 | +- `HodgeConjecture/Definitions/AlgebraicTopology/Support/SingularCohomologySheafComparison.lean`: | |
| 128 | + 110 (`supportedSingularCohomologySheafIsoRelative`). | |
| 129 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SingularComparison.lean`: 28-34 (header), | |
| 130 | + 80-90 (`constantsToSingularCochain_quasiIso`). | |
| 131 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SingularSheafComparison.lean`: 28-34 | |
| 132 | + (header), 49-52, 56-59, 62-63, 67-76, 89-93. | |
| 133 | +- `HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Cohomology.lean`: 78-81 (`Cohomology` is | |
| 134 | + singular cohomology). | |
| 135 | +- `HodgeConjecture/Statement.lean`: 37-38 (the Deligne reference) and 48-51 (the statement). | |
| 136 | + | |
| 137 | +## What this does not show | |
| 138 | + | |
| 139 | +One definition. It does not show that the frozen statement says what Deligne's does; that is the | |
| 140 | +joint point of R-2 to R-10. It neither proves nor uses the identification, and it does not test | |
| 141 | +the frozen library in Lean. | |
+20 −0 routes/r-3-rational-cohomology/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 21 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# r-3-rational-cohomology | |
| 6 | + | |
| 7 | +R-3: read the definition of the rational cohomology `H^n(X; ℚ)`, say which theorem identifies | |
| 8 | +it with singular cohomology for a complex manifold, whether the frozen library proves or uses | |
| 9 | +that identification, and whether the statement depends on it. | |
| 10 | + | |
| 11 | +## Files | |
| 12 | + | |
| 13 | +- `docs/readings/R-3.md` — the reading; every claim is sourced to a file and line in the | |
| 14 | + frozen library. It was read from source, not from Lean's `#print` (no Lean on this machine). | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Have a second reader check the sources against Lean's `#print` in the project image, and keep | |
| 19 | +the status "unread by a person" until a named person who knows the area reads it. The one | |
| 20 | +pull request for this branch carries only the reading and these notes. | |