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.EndomorphismUnits |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.PointGroups |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.TorsionDetection |
| 4 | import Mathlib.GroupTheory.Index |
| 5 | |
| 6 | /-! # Unit Subgroup -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The subgroup of automorphisms acting trivially on full-level torsion has finite index over a field. Its torsion-freeness is not asserted here. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {S : Scheme.{u}} {g : ℕ} (A : Abelian.Schemes.AbelianScheme g S) |
| 20 | |
| 21 | def Abelian.Schemes.AbelianScheme.torsionUnitAction (n : ℕ) (T : Over S) : |
| 22 | A.EndRingˣ →* (AddMonoid.End (Additive (A.torsionPoints n T)))ˣ := |
| 23 | Units.map (A.endRingTorsionAction n T).toMonoidHom |
| 24 | |
| 25 | def Abelian.Schemes.AbelianScheme.levelUnitSubgroup (n : ℕ) : Subgroup A.EndRingˣ := |
| 26 | (A.torsionUnitAction n (Over.mk (𝟙 S))).ker |
| 27 | |
| 28 | theorem Abelian.Schemes.AbelianScheme.mem_levelUnitSubgroup_iff (n : ℕ) (v : A.EndRingˣ) : |
| 29 | v ∈ A.levelUnitSubgroup n ↔ A.endRingTorsionAction n (Over.mk (𝟙 S)) v.val = 1 := by |
| 30 | change A.torsionUnitAction n (Over.mk (𝟙 S)) v = 1 ↔ _ |
| 31 | exact Units.ext_iff |
| 32 | |
| 33 | theorem Abelian.Schemes.AbelianScheme.levelUnitSubgroup_torsionMap {n : ℕ} (level : A.FullLevel n) |
| 34 | (v : A.levelUnitSubgroup n) : |
| 35 | Abelian.Schemes.AbelianScheme.torsionMap n v.val.val.toMul.hom.hom = 𝟙 (A.torsionScheme n) := |
| 36 | A.torsionMap_eq_id_of_baseAction level v.val.val |
| 37 | ((A.mem_levelUnitSubgroup_iff n v.val).mp v.property) |
| 38 | |
| 39 | theorem Abelian.Schemes.AbelianScheme.levelUnitSubgroup_finiteIndex {K : Type u} [Field K] |
| 40 | (B : Abelian.Schemes.AbelianScheme g (Spec (.of K))) {n : ℕ} [NeZero n] (level : B.FullLevel n) : |
| 41 | (B.levelUnitSubgroup n).FiniteIndex := by |
| 42 | have := B.fullLevelTorsionEnd_finite level |
| 43 | exact Subgroup.finiteIndex_ker (B.torsionUnitAction n (Over.mk (𝟙 (Spec (.of K))))) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |