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.EndomorphismPointAction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EndomorphismScalars |
| 3 | |
| 4 | /-! # Endomorphism Torsion Action -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Endomorphisms preserve torsion and act on it through a ring homomorphism. -/ |
| 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.endRingTorsionMap (n : ℕ) (T : Over S) (f : A.EndRing) : |
| 20 | A.torsionPoints n T →* A.torsionPoints n T where |
| 21 | toFun x := ⟨x.val ≫ f.toMul.hom.hom, by |
| 22 | change (x.val ≫ f.toMul.hom.hom) ^ n = 1 |
| 23 | have hx : x.val ^ n = 1 := x.property |
| 24 | rw [← MonObj.pow_comp, hx, MonObj.one_comp]⟩ |
| 25 | map_one' := Subtype.ext (MonObj.one_comp f.toMul.hom.hom) |
| 26 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val f.toMul.hom.hom) |
| 27 | |
| 28 | def Abelian.Schemes.AbelianScheme.endRingTorsionAction (n : ℕ) (T : Over S) : |
| 29 | A.EndRing →+* AddMonoid.End (Additive (A.torsionPoints n T)) where |
| 30 | toFun f := (A.endRingTorsionMap n T f).toAdditive |
| 31 | map_one' := by |
| 32 | apply AddMonoidHom.ext |
| 33 | intro x |
| 34 | exact congrArg Additive.ofMul (Subtype.ext (Category.comp_id x.toMul.val)) |
| 35 | map_mul' f k := by |
| 36 | apply AddMonoidHom.ext |
| 37 | intro x |
| 38 | exact congrArg Additive.ofMul (Subtype.ext |
| 39 | (Category.assoc x.toMul.val k.toMul.hom.hom f.toMul.hom.hom).symm) |
| 40 | map_zero' := by |
| 41 | apply AddMonoidHom.ext |
| 42 | intro x |
| 43 | exact congrArg Additive.ofMul (Subtype.ext (MonObj.comp_one x.toMul.val)) |
| 44 | map_add' f k := by |
| 45 | apply AddMonoidHom.ext |
| 46 | intro x |
| 47 | exact congrArg Additive.ofMul (Subtype.ext |
| 48 | (MonObj.comp_mul x.toMul.val f.toMul.hom.hom k.toMul.hom.hom)) |
| 49 | |
| 50 | theorem Abelian.Schemes.AbelianScheme.endRingTorsionAction_natCast_self (n : ℕ) (T : Over S) : |
| 51 | A.endRingTorsionAction n T (n : A.EndRing) = 0 := by |
| 52 | apply AddMonoidHom.ext |
| 53 | intro x |
| 54 | apply congrArg Additive.ofMul |
| 55 | apply Subtype.ext |
| 56 | exact (A.endRing_natCast_comp T x.toMul.val n).trans x.toMul.property |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |