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

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FieldCohomologyModel |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyEulerCharacteristic |
| 3 | |
| 4 | /-! # Line Bundle Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.LineBundleEuler |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Proper line bundles have finite-dimensional, bounded cohomology and an Euler characteristic computed by an actual finite projective model. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem properField_lineBundle_cohomology_bounded |
| 15 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) [IsProper p] |
| 16 | (L : Line.Bundles.LineBundle X) : |
| 17 | ∃ N, ∀ q, N ≤ q → IsZero ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 18 | (Coefficient.ModulePresheaf.schemeCoefficientMap p) q).obj L.sheaf) := by |
| 19 | obtain ⟨D, ⟨N, hb⟩, _, _, he⟩ := FieldCohomologyModel.properField_lineBundle_exists_finite_cohomology_model p L |
| 20 | refine ⟨N, fun q hq => ?_⟩ |
| 21 | exact (he q).some.isZero_iff.mp (HomologicalComplex.ExactAt.of_isZero (hb q hq)).isZero_homology |
| 22 | |
| 23 | theorem properField_lineBundle_euler_finite_model |
| 24 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) [IsProper p] |
| 25 | (L : Line.Bundles.LineBundle X) : |
| 26 | ∃ (N : ℕ) (D : CochainComplex (ModuleCat.{u} K) ℕ), |
| 27 | (∀ q, N ≤ q → IsZero (D.X q)) ∧ |
| 28 | (∀ q, Module.Finite K (D.X q)) ∧ (∀ q, Module.Projective K (D.X q)) ∧ |
| 29 | (∀ q, Nonempty (D.homology q ≅ |
| 30 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap p) q).obj L.sheaf)) ∧ |
| 31 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p L.sheaf = |
| 32 | ∑ q ∈ Finset.range (N + 1), (-1 : ℤ) ^ q * (Module.finrank K (D.X q) : ℤ) := by |
| 33 | obtain ⟨D, ⟨N, hb⟩, hf, hp, he⟩ := FieldCohomologyModel.properField_lineBundle_exists_finite_cohomology_model p L |
| 34 | exact ⟨N, D, hb, hf, hp, he, |
| 35 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic_eq_finite_model p L.sheaf D N hf hb (fun q => (he q).some)⟩ |
| 36 | |
| 37 | theorem coefficientEulerCharacteristic_eq_of_sheafIso |
| 38 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) |
| 39 | {M Q : X.Modules} (e : M ≅ Q) : |
| 40 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p M = CohomologyEulerCharacteristic.coefficientEulerCharacteristic p Q := by |
| 41 | apply finsum_congr |
| 42 | intro q |
| 43 | exact congrArg (fun n : ℕ => (-1 : ℤ) ^ q * (n : ℤ)) |
| 44 | (((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap p) q).mapIso e).toLinearEquiv.finrank_eq) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.LineBundleEuler |