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 Complex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationComplex.SheafificationComplexUnit |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual sheafification unit is a natural map of complexes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v w z |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 17 | {D : Type w} [Category.{z} D] [Abelian D] [HasSheafify J D] |
| 18 | |
| 19 | def functor : CochainComplex (Cᵒᵖ ⥤ D) ℕ ⥤ CochainComplex (Cᵒᵖ ⥤ D) ℕ := |
| 20 | (presheafToSheaf J D).mapHomologicalComplex (.up ℕ) ⋙ |
| 21 | (sheafToPresheaf J D).mapHomologicalComplex (.up ℕ) |
| 22 | |
| 23 | def unit (K : CochainComplex (Cᵒᵖ ⥤ D) ℕ) : K ⟶ (functor J).obj K where |
| 24 | f n := toSheafify J (K.X n) |
| 25 | comm' i j _ := (toSheafify_naturality J (K.d i j)).symm |
| 26 | |
| 27 | theorem naturality {K L : CochainComplex (Cᵒᵖ ⥤ D) ℕ} (f : K ⟶ L) : |
| 28 | unit J K ≫ (functor J).map f = f ≫ unit J L := by |
| 29 | ext n : 1 |
| 30 | exact (toSheafify_naturality J (f.f n)).symm |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationComplex.SheafificationComplexUnit |