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.Algebra.Category.ModuleCat.Basic |
| 2 | |
| 3 | /-! # Additive Evaluation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Module.AdditiveEvaluation.ModuleAdditiveEvaluation |
| 6 | |
| 7 | /-! # Evaluate the additive map underlying an actual module morphism -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {R : Type u} [Ring R] {M N : ModuleCat.{v} R} |
| 14 | |
| 15 | def map (f : M ⟶ N) : M →+ N := f.hom.toAddMonoidHom |
| 16 | |
| 17 | theorem map_apply (f : M ⟶ N) (x : M) : map f x = f x := rfl |
| 18 | |
| 19 | theorem map_double_apply {O : ModuleCat.{v} R} (f : M ⟶ N) (g : N ⟶ O) (x : M) : |
| 20 | map g (map f x) = g (f x) := rfl |
| 21 | |
| 22 | theorem apply (f : M ⟶ N) (x : M) : f.hom.toAddMonoidHom x = f x := rfl |
| 23 | |
| 24 | theorem double {O : ModuleCat.{v} R} (f : M ⟶ N) (g : N ⟶ O) (x : M) : |
| 25 | g.hom.toAddMonoidHom (f.hom.toAddMonoidHom x) = g (f x) := rfl |
| 26 | |
| 27 | theorem triple {O P : ModuleCat.{v} R} (f : M ⟶ N) (g : N ⟶ O) (h : O ⟶ P) (x : M) : |
| 28 | h.hom.toAddMonoidHom (g.hom.toAddMonoidHom (f.hom.toAddMonoidHom x)) = h (g (f x)) := rfl |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Module.AdditiveEvaluation.ModuleAdditiveEvaluation |