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.NumberTheory.ArithmeticGroups.Lattices.DiagonalWeightIntegration |
| 2 | |
| 3 | /-! # Anisotropic Integer Weights -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.AnisotropicIntegerWeights.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The exact cocharacter definition of anisotropy rules out every |
| 10 | nonzero integer diagonal element of the infinitesimal matrix group. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open _root_.Matrix |
| 14 | |
| 15 | theorem charZero_two_zpow_eq_one_iff |
| 16 | {k : Type} [Field k] [CharZero k] (z : ℤ) : (2 : k) ^ z = 1 ↔ z = 0 := by |
| 17 | constructor |
| 18 | · intro hz |
| 19 | have hrat : (2 : ℚ) ^ z = 1 := by |
| 20 | apply (Rat.castHom k).injective |
| 21 | simpa only [map_zpow₀, map_ofNat, map_one] using hz |
| 22 | exact (zpow_eq_one_iff_right₀ (by norm_num : (0 : ℚ) ≤ 2) (by norm_num : (2 : ℚ) ≠ 1)).mp hrat |
| 23 | · rintro rfl |
| 24 | exact zpow_zero _ |
| 25 | |
| 26 | theorem anisotropic_integer_diagonal_weights_zero |
| 27 | {k : Type} [Field k] [CharZero k] (G : Algebraic.ConnectedSemisimpleKGroup k) |
| 28 | (haniso : Algebraic.IsAnisotropic G) (w : Fin G.dimension → ℤ) |
| 29 | (hw : Matrix.diagonal (fun i => (w i : k)) ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G.matrixGroup) : w = 0 := by |
| 30 | let c := DiagonalWeightIntegration.Construction.diagonalInfinitesimalCocharacter G.matrixGroup w hw |
| 31 | let t : kˣ := Units.mk0 2 (by norm_num) |
| 32 | have he := DFunLike.congr_fun (haniso c k (RingHom.id k)) t |
| 33 | funext i |
| 34 | have hi := congrArg (fun g : G.matrixGroup.RationalPoints => g.val i i) he |
| 35 | change (Matrix.diagonal (fun j => ((t ^ w j : kˣ) : k))) i i = |
| 36 | (1 : Matrix (Fin G.dimension) (Fin G.dimension) k) i i at hi |
| 37 | simp only [Matrix.diagonal_apply_eq, Matrix.one_apply_eq] at hi |
| 38 | rw [Units.val_zpow_eq_zpow_val] at hi |
| 39 | exact (charZero_two_zpow_eq_one_iff (k := k) (w i)).mp hi |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.ArithmeticGroups.Lattices.AnisotropicIntegerWeights.Construction |