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.EndomorphismRing |
| 2 | import Mathlib.Algebra.Module.End |
| 3 | |
| 4 | /-! # Endomorphism Point Action -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The endomorphism ring acts on every group of points by postcomposition. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {g : ℕ} (A : Abelian.Schemes.AbelianScheme g S) |
| 18 | |
| 19 | def Abelian.Schemes.AbelianScheme.endRingPointAction (T : Over S) : A.EndRing →+* AddMonoid.End (Additive (A.Points T)) where |
| 20 | toFun f := { |
| 21 | toFun x := Additive.ofMul (x.toMul ≫ f.toMul.hom.hom) |
| 22 | map_zero' := congrArg Additive.ofMul (MonObj.one_comp f.toMul.hom.hom) |
| 23 | map_add' x y := congrArg Additive.ofMul (MonObj.mul_comp x.toMul y.toMul f.toMul.hom.hom) } |
| 24 | map_one' := by |
| 25 | apply AddMonoidHom.ext |
| 26 | intro x |
| 27 | exact congrArg Additive.ofMul (Category.comp_id x.toMul) |
| 28 | map_mul' f k := by |
| 29 | apply AddMonoidHom.ext |
| 30 | intro x |
| 31 | exact congrArg Additive.ofMul (Category.assoc x.toMul k.toMul.hom.hom f.toMul.hom.hom).symm |
| 32 | map_zero' := by |
| 33 | apply AddMonoidHom.ext |
| 34 | intro x |
| 35 | exact congrArg Additive.ofMul (MonObj.comp_one x.toMul) |
| 36 | map_add' f k := by |
| 37 | apply AddMonoidHom.ext |
| 38 | intro x |
| 39 | exact congrArg Additive.ofMul (MonObj.comp_mul x.toMul f.toMul.hom.hom k.toMul.hom.hom) |
| 40 | |
| 41 | theorem Abelian.Schemes.AbelianScheme.endRingPointAction_injective : Function.Injective (A.endRingPointAction A.scheme) := by |
| 42 | intro f k h |
| 43 | have he := congrArg (fun e : AddMonoid.End (Additive (A.Points A.scheme)) => |
| 44 | (e (Additive.ofMul (𝟙 A.scheme))).toMul) h |
| 45 | change (𝟙 A.scheme) ≫ f.toMul.hom.hom = (𝟙 A.scheme) ≫ k.toMul.hom.hom at he |
| 46 | rw [Category.id_comp, Category.id_comp] at he |
| 47 | exact congrArg Additive.ofMul (Grp.hom_ext _ _ he) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |