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 Square -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarRestrictionSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: commuting ring endomorphisms identify the two actual scalar restrictions |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable {R : Type u} {S : Type v} [CommRing R] [CommRing S] |
| 18 | (f : R →+* S) (a : R →+* R) (b : S →+* S) (h : f.comp a = b.comp f) |
| 19 | (M : ModuleCat.{w} S) |
| 20 | |
| 21 | def iso : (ModuleCat.restrictScalars a).obj ((ModuleCat.restrictScalars f).obj M) ≅ |
| 22 | (ModuleCat.restrictScalars f).obj ((ModuleCat.restrictScalars b).obj M) := |
| 23 | (ModuleCat.restrictScalarsComp'App a f (f.comp a) rfl M).symm ≪≫ |
| 24 | ModuleCat.restrictScalarsComp'App f b (f.comp a) h M |
| 25 | |
| 26 | theorem hom_apply (x : M) : (iso f a b h M).hom x = x := rfl |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarRestrictionSquare |