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.SheafCohomology.Projective.BaseCechForget |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.PreservesHomology |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex |
| 4 | |
| 5 | /-! # Forget Module Complex Homology -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ForgetModuleComplexHomology.Cech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Forgetting scalars preserves the original cycle and homology projections of a module complex. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | variable (R : Type) [Ring R] (K : CochainComplex (ModuleCat R) ℕ) (q : ℕ) |
| 16 | |
| 17 | def moduleForgetComplexCyclesIso : |
| 18 | (((forget₂ (ModuleCat R) AddCommGrpCat).mapHomologicalComplex (.up ℕ)).obj K).cycles q ≅ |
| 19 | (forget₂ (ModuleCat R) AddCommGrpCat).obj (K.cycles q) := |
| 20 | (K.sc q).mapCyclesIso (forget₂ (ModuleCat R) AddCommGrpCat) |
| 21 | |
| 22 | def moduleForgetComplexHomologyIso : |
| 23 | (((forget₂ (ModuleCat R) AddCommGrpCat).mapHomologicalComplex (.up ℕ)).obj K).homology q ≅ |
| 24 | (forget₂ (ModuleCat R) AddCommGrpCat).obj (K.homology q) := |
| 25 | ((K.sc q).map (forget₂ (ModuleCat R) AddCommGrpCat)).leftHomologyIso.symm ≪≫ |
| 26 | (K.sc q).mapLeftHomologyIso (forget₂ (ModuleCat R) AddCommGrpCat) ≪≫ |
| 27 | (forget₂ (ModuleCat R) AddCommGrpCat).mapIso (K.sc q).leftHomologyIso |
| 28 | |
| 29 | theorem moduleForgetComplexCyclesIso_hom_i : |
| 30 | (moduleForgetComplexCyclesIso R K q).hom ≫ |
| 31 | (forget₂ (ModuleCat R) AddCommGrpCat).map (K.iCycles q) = |
| 32 | (((forget₂ (ModuleCat R) AddCommGrpCat).mapHomologicalComplex (.up ℕ)).obj K).iCycles q := |
| 33 | (K.sc q).mapCyclesIso_hom_iCycles (forget₂ (ModuleCat R) AddCommGrpCat) |
| 34 | |
| 35 | theorem moduleForgetComplexHomologyIso_homologyπ : |
| 36 | (((forget₂ (ModuleCat R) AddCommGrpCat).mapHomologicalComplex (.up ℕ)).obj K).homologyπ q ≫ |
| 37 | (moduleForgetComplexHomologyIso R K q).hom = |
| 38 | (moduleForgetComplexCyclesIso R K q).hom ≫ |
| 39 | (forget₂ (ModuleCat R) AddCommGrpCat).map (K.homologyπ q) := by |
| 40 | let F := forget₂ (ModuleCat R) AddCommGrpCat |
| 41 | let S := K.sc q |
| 42 | have h : (S.map F).leftHomologyπ ≫ (S.mapLeftHomologyIso F).hom = |
| 43 | (S.mapCyclesIso F).hom ≫ F.map S.leftHomologyπ := |
| 44 | (S.leftHomologyData.map F).leftHomologyπ_comp_leftHomologyIso_hom |
| 45 | change (S.map F).homologyπ ≫ |
| 46 | ((S.map F).leftHomologyIso.inv ≫ (S.mapLeftHomologyIso F).hom ≫ F.map S.leftHomologyIso.hom) = |
| 47 | (S.mapCyclesIso F).hom ≫ F.map S.homologyπ |
| 48 | rw [← Category.assoc, ShortComplex.homologyπ_comp_leftHomologyIso_inv, |
| 49 | ← Category.assoc, h, Category.assoc, ← F.map_comp] |
| 50 | rfl |
| 51 | |
| 52 | theorem moduleForgetComplexCyclesIso_inv_i : |
| 53 | (moduleForgetComplexCyclesIso R K q).inv ≫ |
| 54 | (((forget₂ (ModuleCat R) AddCommGrpCat).mapHomologicalComplex (.up ℕ)).obj K).iCycles q = |
| 55 | (forget₂ (ModuleCat R) AddCommGrpCat).map (K.iCycles q) := by |
| 56 | rw [← moduleForgetComplexCyclesIso_hom_i] |
| 57 | exact Iso.inv_hom_id_assoc (moduleForgetComplexCyclesIso R K q) _ |
| 58 | |
| 59 | theorem moduleForgetComplexHomologyIso_inv_homologyπ : |
| 60 | (forget₂ (ModuleCat R) AddCommGrpCat).map (K.homologyπ q) ≫ |
| 61 | (moduleForgetComplexHomologyIso R K q).inv = |
| 62 | (moduleForgetComplexCyclesIso R K q).inv ≫ |
| 63 | (((forget₂ (ModuleCat R) AddCommGrpCat).mapHomologicalComplex (.up ℕ)).obj K).homologyπ q := by |
| 64 | rw [← cancel_epi (moduleForgetComplexCyclesIso R K q).hom, ← Category.assoc, |
| 65 | ← moduleForgetComplexHomologyIso_homologyπ, Category.assoc, Iso.hom_inv_id, Category.comp_id, |
| 66 | Iso.hom_inv_id_assoc] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Comparison.Betti.ForgetModuleComplexHomology.Cech |