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.Linear.LinearFunctor |
| 2 | |
| 3 | /-! # Additive Natural -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.AdditiveNatural.AdditiveNaturalScalars |
| 6 | |
| 7 | /-! # Additive functors preserve the natural-number scalar action -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | variable (R S : Type*) [Semiring R] [Semiring S] |
| 12 | {C D : Type*} [Category C] [Category D] [Preadditive C] [Preadditive D] |
| 13 | [Linear R C] [Linear S D] (G : C ⥤ D) [G.Additive] |
| 14 | |
| 15 | theorem map_nat_smul {X Y : C} (f : X ⟶ Y) (n : ℕ) : |
| 16 | G.map ((n : R) • f) = (n : S) • G.map f := by |
| 17 | rw [Nat.cast_smul_eq_nsmul R, G.map_nsmul, Nat.cast_smul_eq_nsmul S] |
| 18 | |
| 19 | theorem map_nat_pow_smul {X Y : C} (f : X ⟶ Y) (p n : ℕ) : |
| 20 | G.map ((p : R) ^ n • f) = (p : S) ^ n • G.map f := by |
| 21 | rw [← Nat.cast_pow, map_nat_smul R S, Nat.cast_pow] |
| 22 | |
| 23 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.AdditiveNatural.AdditiveNaturalScalars |