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 | /-! # Normalized Scalar -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.NormalizedScalar.Construction.NormalizedScalarIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Isomorphisms of scalar extensions characterized on the canonical generators. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | open scoped ChangeOfRings |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) |
| 17 | variable {A : ModuleCat.{u} R} {B C : ModuleCat.{u} S} |
| 18 | |
| 19 | abbrev Data (v : A → B) := |
| 20 | {e : (ModuleCat.extendScalars f).obj A ≅ B // ∀ s, e.hom ((1 : S) ⊗ₜ[R,f] s) = v s} |
| 21 | |
| 22 | def post {v : A → B} (e : Data f v) (d : B ≅ C) : Data f (fun s => d.hom (v s)) := by |
| 23 | refine ⟨e.val ≪≫ d, ?_⟩ |
| 24 | intro s |
| 25 | exact congrArg d.hom (e.property s) |
| 26 | |
| 27 | theorem isIso {v : A → B} (e : Data f v) (a : (ModuleCat.extendScalars f).obj A ⟶ B) |
| 28 | (h : ∀ s, a ((1 : S) ⊗ₜ[R,f] s) = v s) : IsIso a := by |
| 29 | have he : a = e.val.hom := by |
| 30 | apply ModuleCat.ExtendScalars.hom_ext |
| 31 | intro s |
| 32 | exact (h s).trans (e.property s).symm |
| 33 | rw [he] |
| 34 | infer_instance |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.NormalizedScalar.Construction.NormalizedScalarIso |