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.Abelian.RightDerived |
| 2 | import Mathlib.CategoryTheory.Preadditive.Injective.Preserves |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.PreservesHomology |
| 4 | |
| 5 | /-! # Exact Injective -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.ExactInjective.ExactInjectiveResolution |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # Mapping injective resolutions through exact functors preserving injectives -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v u' v' |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | {D : Type u'} [Category.{v'} D] [Abelian D] |
| 19 | (F : C ⥤ D) [F.Additive] [F.PreservesHomology] [F.PreservesInjectiveObjects] |
| 20 | {Z : C} (I : InjectiveResolution Z) |
| 21 | |
| 22 | def map : InjectiveResolution (F.obj Z) where |
| 23 | cocomplex := (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj I.cocomplex |
| 24 | injective n := by |
| 25 | change Injective (F.obj (I.cocomplex.X n)) |
| 26 | infer_instance |
| 27 | ι := ((HomologicalComplex.singleMapHomologicalComplex F (ComplexShape.up ℕ) 0).app Z).inv ≫ |
| 28 | (F.mapHomologicalComplex (ComplexShape.up ℕ)).map I.ι |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.ExactInjective.ExactInjectiveResolution |