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.LinearAlgebra.Dimension.Finrank |
| 3 | |
| 4 | /-! # Equivalent Dimensions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.EquivalentDimensions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction along a ring isomorphism preserves the dimension of a module. -/ |
| 11 | open _root_.CategoryTheory |
| 12 | universe u |
| 13 | |
| 14 | theorem restrictScalars_finrank_of_ringEquiv |
| 15 | {R S : Type u} [CommRing R] [CommRing S] (e : R ≃+* S) (M : ModuleCat.{u} S) : |
| 16 | Module.finrank R ((ModuleCat.restrictScalars.{u} e.toRingHom).obj M) = Module.finrank S M := by |
| 17 | have h : Module.rank R ((ModuleCat.restrictScalars.{u} e.toRingHom).obj M) = Module.rank S M := |
| 18 | rank_eq_of_equiv_equiv e (AddEquiv.refl M) e.bijective (fun _ _ => rfl) |
| 19 | exact congrArg Cardinal.toNat h |
| 20 | |
| 21 | end |
| 22 | |
| 23 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.EquivalentDimensions |