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.AbelianModuli.HilbertConstruction.Abelian.GroupObjects |
| 2 | |
| 3 | /-! # Endomorphism Ring -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The endomorphism ring of an abelian scheme: addition is pointwise addition and multiplication is composition. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {g : ℕ} (A : Schemes.AbelianScheme g S) |
| 17 | |
| 18 | abbrev Schemes.AbelianScheme.EndRing := A.AddHom A |
| 19 | |
| 20 | instance Schemes.AbelianScheme.endRingRing : _root_.Ring A.EndRing where |
| 21 | toAddCommGroup := inferInstance |
| 22 | mul f k := Additive.ofMul (k.toMul ≫ f.toMul) |
| 23 | one := Additive.ofMul (𝟙 A.groupObject) |
| 24 | mul_assoc f k l := congrArg Additive.ofMul (Category.assoc l.toMul k.toMul f.toMul).symm |
| 25 | one_mul f := congrArg Additive.ofMul (Category.comp_id f.toMul) |
| 26 | mul_one f := congrArg Additive.ofMul (Category.id_comp f.toMul) |
| 27 | left_distrib f k l := congrArg Additive.ofMul (MonObj.mul_comp k.toMul l.toMul f.toMul) |
| 28 | right_distrib f k l := congrArg Additive.ofMul (MonObj.comp_mul l.toMul f.toMul k.toMul) |
| 29 | zero_mul f := congrArg Additive.ofMul (MonObj.comp_one f.toMul) |
| 30 | mul_zero f := congrArg Additive.ofMul (MonObj.one_comp f.toMul) |
| 31 | natCast n := n • Additive.ofMul (𝟙 A.groupObject) |
| 32 | natCast_zero := zero_nsmul _ |
| 33 | natCast_succ n := succ_nsmul _ n |
| 34 | |
| 35 | @[simp] theorem Schemes.AbelianScheme.endRing_mul_toMul (f k : A.EndRing) : |
| 36 | (f * k).toMul = k.toMul ≫ f.toMul := rfl |
| 37 | |
| 38 | @[simp] theorem Schemes.AbelianScheme.endRing_one_toMul : (1 : A.EndRing).toMul = 𝟙 A.groupObject := rfl |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian |