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 | |
| 3 | /-! # Scalar Restriction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ScalarRestriction.ScalarRestrictionIdentity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restriction of scalars along an algebra map agrees with an already compatible module action. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 16 | (M : Type v) [AddCommGroup M] [Module R M] [Module A M] [IsScalarTower R A M] |
| 17 | |
| 18 | def ofModuleEq (P Q : Module R M) (h : P = Q) : |
| 19 | @ModuleCat.of R _ M _ P ≅ @ModuleCat.of R _ M _ Q := by |
| 20 | cases h |
| 21 | exact Iso.refl _ |
| 22 | |
| 23 | omit [Module R M] in |
| 24 | theorem ofModuleEq_hom_apply (P Q : Module R M) (h : P = Q) (m : M) : |
| 25 | (ofModuleEq R M P Q h).hom m = m := by |
| 26 | cases h |
| 27 | rfl |
| 28 | |
| 29 | theorem module_eq : (inferInstance : Module R M) = Module.compHom M (algebraMap R A) := |
| 30 | Module.ext' _ _ (fun r m => (IsScalarTower.algebraMap_smul A r m).symm) |
| 31 | |
| 32 | def iso : ModuleCat.of R M ≅ |
| 33 | (ModuleCat.restrictScalars (algebraMap R A)).obj (ModuleCat.of A M) := |
| 34 | ofModuleEq R M _ _ (module_eq R A M) |
| 35 | |
| 36 | theorem iso_hom_apply (m : M) : (iso R A M).hom m = m := |
| 37 | ofModuleEq_hom_apply R M _ _ (module_eq R A M) m |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ScalarRestriction.ScalarRestrictionIdentity |