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.CategoryTheory.Sites.Abelian |
| 2 | import Mathlib.Algebra.Homology.Additive |
| 3 | |
| 4 | /-! # Sheafification Section Complex Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationSectionComplexIso.SheafificationSectionComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! When the canonical sheafification maps are invertible on an open, evaluating a presheaf complex and its sheafification gives canonically isomorphic complexes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v u' v' w |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 17 | {D : Type u'} [Category.{v'} D] [Abelian D] [HasSheafify J D] |
| 18 | {ι : Type w} (c : ComplexShape ι) (K : HomologicalComplex (Cᵒᵖ ⥤ D) c) (U : Cᵒᵖ) |
| 19 | (hU : ∀ n, IsIso ((toSheafify J (K.X n)).app U)) |
| 20 | |
| 21 | def componentIso (n : ι) : (K.X n).obj U ≅ (sheafify J (K.X n)).obj U := by |
| 22 | letI := hU n |
| 23 | exact asIso ((toSheafify J (K.X n)).app U) |
| 24 | |
| 25 | def complexIso : |
| 26 | (((CategoryTheory.evaluation Cᵒᵖ D).obj U).mapHomologicalComplex c).obj K ≅ |
| 27 | (((sheafToPresheaf J D ⋙ (CategoryTheory.evaluation Cᵒᵖ D).obj U).mapHomologicalComplex c).obj |
| 28 | (((presheafToSheaf J D).mapHomologicalComplex c).obj K)) := |
| 29 | HomologicalComplex.Hom.isoOfComponents |
| 30 | (componentIso J c K U hU) |
| 31 | (fun i j _ => (congrArg (fun α => α.app U) (toSheafify_naturality J (K.d i j))).symm) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationSectionComplexIso.SheafificationSectionComplex |