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 OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.Projectives |
| 2 | import Mathlib.LinearAlgebra.Dimension.Finite |
| 3 | |
| 4 | /-! # Additive Free Vanishing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AdditiveFreeVanishing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An additive functor vanishing on the rank-one free module vanishes |
| 11 | on every finite free module, by its actual finite basis decomposition. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] |
| 20 | {C : Type v} [Category.{w} C] [Preadditive C] |
| 21 | (F : ModuleCat.{u} R ⥤ C) [F.Additive] |
| 22 | |
| 23 | theorem isZero (hR : IsZero (F.obj (.of R R))) |
| 24 | (P : ModuleCat.{u} R) [Module.Free R P] [Module.Finite R P] : IsZero (F.obj P) := by |
| 25 | classical |
| 26 | let b := Module.Free.chooseBasis R P |
| 27 | let := Fintype.ofFinite (Module.Free.ChooseBasisIndex R P) |
| 28 | let π (i : Module.Free.ChooseBasisIndex R P) : P ⟶ .of R R := ModuleCat.ofHom (b.coord i) |
| 29 | let ι (i : Module.Free.ChooseBasisIndex R P) : ModuleCat.of R R ⟶ P := |
| 30 | ModuleCat.ofHom (LinearMap.toSpanSingleton R P (b i)) |
| 31 | have he : (𝟙 P) = ∑ i, π i ≫ ι i := by |
| 32 | apply ModuleCat.hom_ext |
| 33 | apply LinearMap.ext |
| 34 | intro x |
| 35 | simp only [ModuleCat.hom_sum, LinearMap.sum_apply] |
| 36 | change x = ∑ i, b.repr x i • b i |
| 37 | exact (b.sum_repr x).symm |
| 38 | apply (IsZero.iff_id_eq_zero (F.obj P)).mpr |
| 39 | rw [← F.map_id, he, Functor.map_sum] |
| 40 | apply Finset.sum_eq_zero |
| 41 | intro i _ |
| 42 | rw [F.map_comp, hR.eq_zero_of_src (F.map (ι i)), comp_zero] |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AdditiveFreeVanishing |