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.Comparison.Betti.IntegerAcyclicHomComplex |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.Linear |
| 3 | import Mathlib.Algebra.Homology.Linear |
| 4 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 5 | import Mathlib.Algebra.Category.ModuleCat.Colimits |
| 6 | import Mathlib.CategoryTheory.Linear.Yoneda |
| 7 | |
| 8 | /-! # Linear Hom Forget -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The scalar action on ordinary Hom cohomology is induced by actual scalar chain maps. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 21 | {R : Type v} [CommRing R] [Linear R C] (A : C) (K : CochainComplex C ℤ) |
| 22 | |
| 23 | def integerLinearHomComplex : CochainComplex (ModuleCat.{v} R) ℤ := |
| 24 | (((linearCoyoneda R C).obj (op A)).mapHomologicalComplex (.up ℤ)).obj K |
| 25 | |
| 26 | def integerLinearHomologyForgetEquiv (n : ℤ) : |
| 27 | (integerLinearHomComplex (R := R) A K).homology n ≃+ |
| 28 | (IntegerAcyclicHomComplex.Ext.integerHomComplex A K).homology n := |
| 29 | ((integerLinearHomComplex (R := R) A K).sc n).mapHomologyIso |
| 30 | (forget₂ (ModuleCat.{v} R) AddCommGrpCat.{v}) |>.symm.addCommGroupIsoToAddEquiv |
| 31 | |
| 32 | theorem integerHom_scalar_map (r : R) : |
| 33 | ((preadditiveCoyoneda.obj (op A)).mapHomologicalComplex (.up ℤ)).map (r • 𝟙 K) = |
| 34 | ((forget₂ (ModuleCat.{v} R) AddCommGrpCat.{v}).mapHomologicalComplex (.up ℤ)).map |
| 35 | (r • 𝟙 (integerLinearHomComplex (R := R) A K)) := by |
| 36 | ext n z |
| 37 | change A ⟶ K.X n at z |
| 38 | change z ≫ (r • 𝟙 (K.X n)) = r • z |
| 39 | rw [Linear.comp_smul, Category.comp_id] |
| 40 | |
| 41 | theorem integerLinearHomologyForgetEquiv_smul (n : ℤ) (r : R) |
| 42 | (a : (integerLinearHomComplex (R := R) A K).homology n) : |
| 43 | integerLinearHomologyForgetEquiv (R := R) A K n (r • a) = |
| 44 | HomologicalComplex.homologyMap |
| 45 | (((preadditiveCoyoneda.obj (op A)).mapHomologicalComplex (.up ℤ)).map (r • 𝟙 K)) n |
| 46 | (integerLinearHomologyForgetEquiv (R := R) A K n a) := by |
| 47 | let J := integerLinearHomComplex (R := R) A K |
| 48 | let F := forget₂ (ModuleCat.{v} R) AddCommGrpCat.{v} |
| 49 | let S := J.sc n |
| 50 | let φ : S ⟶ S := r • 𝟙 S |
| 51 | have hm : ShortComplex.homologyMap φ = r • 𝟙 S.homology := by |
| 52 | rw [ShortComplex.homologyMap_smul, ShortComplex.homologyMap_id] |
| 53 | have h := congrArg (fun g : F.obj S.homology ⟶ (S.map F).homology => g.hom a) |
| 54 | (ShortComplex.mapHomologyIso_inv_naturality φ F) |
| 55 | rw [integerHom_scalar_map] |
| 56 | change (S.mapHomologyIso F).inv (r • a) = |
| 57 | ShortComplex.homologyMap (F.mapShortComplex.map φ) ((S.mapHomologyIso F).inv a) |
| 58 | rw [hm] at h |
| 59 | exact h |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext |