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.HodgeConjecture.HeckeCycles.Ordinary.TorsionCoordinates |
| 2 | |
| 3 | /-! # All Torsion Coordinates -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AllTorsionCoordinates.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Include level zero in the constructed ordinary torsion coordinates. |
| 10 | Its full torsion group is the identity group. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TorsionCoordinateMaps.CM.Criterion |
| 16 | |
| 17 | def zeroCoordinates (A : Type*) [CommGroup A] (q g : ℕ) : |
| 18 | TorsionCoordinateMaps.CM.Criterion.coordinates q 0 g ≃* AbelianScheme.FrobeniusKernel.OrdinaryIsogeny.Construction.qTorsion A (q ^ 0) := by |
| 19 | let : Subsingleton (AbelianScheme.FrobeniusKernel.OrdinaryIsogeny.Construction.qTorsion A (q ^ 0)) := ⟨fun x y => Subtype.ext (by |
| 20 | have hx0 : x.val ^ (q ^ 0) = 1 := x.property |
| 21 | have hy0 : y.val ^ (q ^ 0) = 1 := y.property |
| 22 | have hx : x.val = 1 := by simpa only [pow_zero, pow_one] using hx0 |
| 23 | have hy : y.val = 1 := by simpa only [pow_zero, pow_one] using hy0 |
| 24 | exact hx.trans hy.symm)⟩ |
| 25 | let : Unique (AbelianScheme.FrobeniusKernel.OrdinaryIsogeny.Construction.qTorsion A (q ^ 0)) := uniqueOfSubsingleton 1 |
| 26 | let : Subsingleton (TorsionCoordinateMaps.CM.Criterion.coordinates q 0 g) := by |
| 27 | change Subsingleton (Multiplicative (Fin g → ZMod 1)) |
| 28 | infer_instance |
| 29 | let : Unique (TorsionCoordinateMaps.CM.Criterion.coordinates q 0 g) := uniqueOfSubsingleton 1 |
| 30 | exact MulEquiv.ofUnique |
| 31 | |
| 32 | variable {k : Type} [Field k] [IsAlgClosed k] |
| 33 | (B : Over (Spec (.of k))) [GrpObj B] [IsCommMonObj B] |
| 34 | [Smooth B.hom] [IsProper B.hom] [GeometricallyConnected B.hom] |
| 35 | (q : ℕ) [Fact q.Prime] (g : ℕ) |
| 36 | |
| 37 | theorem coordinates_all |
| 38 | (hordinary : Nat.card (powMonoidHom q : |
| 39 | (Over.mk (𝟙 (Spec (.of k))) ⟶ B) →* _).ker = q ^ g) (n : ℕ) : |
| 40 | Nonempty (TorsionCoordinateMaps.CM.Criterion.coordinates q n g ≃* |
| 41 | AbelianScheme.FrobeniusKernel.OrdinaryIsogeny.Construction.qTorsion (Over.mk (𝟙 (Spec (.of k))) ⟶ B) (q ^ n)) := by |
| 42 | cases n with |
| 43 | | zero => exact ⟨zeroCoordinates _ q g⟩ |
| 44 | | succ n => exact Ordinary.TorsionCoordinates.CM.ordinary_torsion_coordinates B q g hordinary n |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AllTorsionCoordinates.CM |