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.ChangeOfRings |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 3 | import Mathlib.Algebra.Homology.QuasiIso |
| 4 | import Mathlib.RingTheory.Finiteness.Basic |
| 5 | |
| 6 | /-! # Restricted Homology -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.RestrictedHomology |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finiteness of homology can be recovered from its restriction of scalars. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.RestrictedHomologyFinite |
| 21 | |
| 22 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) |
| 23 | variable (C : CochainComplex (ModuleCat.{u} S) ℕ) |
| 24 | |
| 25 | def iso (q : ℕ) : |
| 26 | (((ModuleCat.restrictScalars f).mapHomologicalComplex (ComplexShape.up ℕ)).obj C).homology q ≅ |
| 27 | (ModuleCat.restrictScalars f).obj (C.homology q) := |
| 28 | (C.sc q).mapHomologyIso (ModuleCat.restrictScalars f) |
| 29 | |
| 30 | theorem finite {D : CochainComplex (ModuleCat.{u} R) ℕ} |
| 31 | (e : D ≅ ((ModuleCat.restrictScalars f).mapHomologicalComplex (ComplexShape.up ℕ)).obj C) |
| 32 | (q : ℕ) [Module.Finite R (D.homology q)] : Module.Finite S (C.homology q) := by |
| 33 | let B := C.homology q |
| 34 | let : Algebra R S := f.toAlgebra |
| 35 | let : Module R B := Module.compHom B f |
| 36 | have : IsScalarTower R S B := IsScalarTower.of_algebraMap_smul (fun _ _ => rfl) |
| 37 | let i := HomologicalComplex.homologyMapIso e q ≪≫ iso f C q |
| 38 | have : Module.Finite R B := Module.Finite.of_surjective i.toLinearEquiv.toLinearMap |
| 39 | i.toLinearEquiv.surjective |
| 40 | exact Module.Finite.of_restrictScalars_finite R S B |
| 41 | |
| 42 | end Construction.RestrictedHomologyFinite |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.RestrictedHomology |