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 Mathlib |
| 2 | |
| 3 | /-! # Sheaf Exact Sections -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafExactSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: objectwise exactness implies exactness of module sheaves |
| 11 | |
| 12 | Exactness on every section module makes the underlying presheaf complex |
| 13 | exact. Exact sheafification and its counit then give exactness of the |
| 14 | original sheaf complex. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 18 | |
| 19 | universe u v w |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] (R : Type w) [Ring R] |
| 22 | |
| 23 | theorem presheaf_exact (S : ShortComplex (Cᵒᵖ ⥤ ModuleCat.{w} R)) |
| 24 | (h : ∀ U : Cᵒᵖ, (S.map ((evaluation Cᵒᵖ (ModuleCat.{w} R)).obj U)).Exact) : S.Exact := by |
| 25 | rw [S.exact_iff_isZero_homology, Functor.isZero_iff] |
| 26 | intro U |
| 27 | exact IsZero.of_iso ((S.map _).exact_iff_isZero_homology.mp (h U)) |
| 28 | (S.mapHomologyIso ((evaluation Cᵒᵖ (ModuleCat.{w} R)).obj U)).symm |
| 29 | |
| 30 | variable (J : GrothendieckTopology C) [HasSheafify J (ModuleCat.{w} R)] |
| 31 | |
| 32 | def sheafificationIso (S : ShortComplex (Sheaf J (ModuleCat.{w} R))) : |
| 33 | ((S.map (sheafToPresheaf J (ModuleCat.{w} R))).map (presheafToSheaf J (ModuleCat.{w} R))) ≅ S := |
| 34 | ShortComplex.isoMk |
| 35 | (CategoryTheory.sheafificationIso S.X₁).symm |
| 36 | (CategoryTheory.sheafificationIso S.X₂).symm |
| 37 | (CategoryTheory.sheafificationIso S.X₃).symm |
| 38 | ((sheafificationNatIso J (ModuleCat.{w} R)).inv.naturality S.f).symm |
| 39 | ((sheafificationNatIso J (ModuleCat.{w} R)).inv.naturality S.g).symm |
| 40 | |
| 41 | theorem exact_of_sections (S : ShortComplex (Sheaf J (ModuleCat.{w} R))) |
| 42 | (h : ∀ (U : C) (x : S.X₂.obj.obj (op U)), S.g.hom.app (op U) x = 0 → |
| 43 | ∃ y : S.X₁.obj.obj (op U), S.f.hom.app (op U) y = x) : S.Exact := by |
| 44 | have hP : (S.map (sheafToPresheaf J (ModuleCat.{w} R))).Exact := by |
| 45 | apply presheaf_exact R |
| 46 | intro U |
| 47 | exact (ShortComplex.moduleCat_exact_iff _).mpr (h U.unop) |
| 48 | exact ShortComplex.exact_of_iso (SheafExactSections.sheafificationIso R J S) (hP.map (presheafToSheaf J (ModuleCat.{w} R))) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafExactSections |