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.Level.GroupDivision |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.TorsionDetection |
| 3 | |
| 4 | /-! # Endomorphism Divisibility -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Over a field, the endomorphisms acting as zero on full-level torsion are exactly the integer multiples of the level. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] {g n : ℕ} |
| 18 | variable (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) |
| 19 | |
| 20 | theorem Abelian.Schemes.AbelianScheme.fullLevel_endomorphism_divisibility (level : A.FullLevel n) (f : A.EndRing) : |
| 21 | A.endRingTorsionAction n (Over.mk (𝟙 (Spec (.of K)))) f = 0 ↔ |
| 22 | ∃ d : A.EndRing, n • d = f := by |
| 23 | constructor |
| 24 | · intro h |
| 25 | have hm := A.torsionMap_eq_of_baseAction level f 0 |
| 26 | (h.trans (A.endRingTorsionAction n (Over.mk (𝟙 (Spec (.of K))))).map_zero.symm) |
| 27 | have hi := congrArg (fun a : A.torsionScheme n ⟶ A.torsionScheme n => |
| 28 | a ≫ A.torsionInclusion n) hm |
| 29 | rw [Abelian.Schemes.AbelianScheme.torsionMap_comp_inclusion, Abelian.Schemes.AbelianScheme.torsionMap_comp_inclusion] at hi |
| 30 | have hz : A.torsionInclusion n ≫ f.toMul.hom.hom = 1 := |
| 31 | hi.trans (MonObj.comp_one (A.torsionInclusion n)) |
| 32 | obtain ⟨d, hd, _⟩ := A.fullLevel_existsUnique_groupDivision A level f.toMul.hom.hom hz |
| 33 | have : IsMonHom d.val := d.property |
| 34 | let v : A.EndRing := Additive.ofMul (Grp.homMk d.val) |
| 35 | have hv : v * (n : A.EndRing) = f := by |
| 36 | have he : (v * (n : A.EndRing)).toMul.hom.hom = f.toMul.hom.hom := |
| 37 | (congrArg (fun a : A.scheme ⟶ A.scheme => a ≫ d.val) (A.endRing_natCast_hom n)).trans hd |
| 38 | exact congrArg Additive.ofMul (Grp.hom_ext _ _ he) |
| 39 | refine ⟨v, ?_⟩ |
| 40 | rw [nsmul_eq_mul, (Nat.cast_commute n v).eq] |
| 41 | exact hv |
| 42 | · rintro ⟨d, rfl⟩ |
| 43 | rw [nsmul_eq_mul, map_mul, A.endRingTorsionAction_natCast_self, zero_mul] |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |