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.ConjugatedWeightCoordinates |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.AnisotropicIntegerWeights |
| 3 | |
| 4 | /-! # Conjugated Weight Cocharacter -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ConjugatedWeightCocharacter.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integration of conjugated integer diagonal infinitesimal matrices |
| 11 | to cocharacters, and exclusion of these matrices by anisotropy. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.Matrix |
| 15 | |
| 16 | def conjugatedInfinitesimalCocharacter |
| 17 | {k : Type} [Field k] [CharZero k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) |
| 18 | (b : Algebraic.SL n k) (w : Fin n → ℤ) |
| 19 | (hw : (b : Matrix (Fin n) (Fin n) k) * Matrix.diagonal (fun i => (w i : k)) * |
| 20 | ((b⁻¹ : Algebraic.SL n k) : Matrix (Fin n) (Fin n) k) ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G) : G.Cocharacter where |
| 21 | hom K _ v := |
| 22 | ((MulAut.conj (Matrix.SpecialLinearGroup.map v b)).toMonoidHom.comp |
| 23 | (DiagonalWeightIntegration.Construction.diagonalWeightHom K w (ConjugatedWeightCoordinates.Construction.conjugated_integer_diagonal_trace_zero_weights G b w hw))).codRestrict |
| 24 | (G.subgroup K v) (fun t => ConjugatedWeightCoordinates.Construction.conjugate_diagonalWeightSL_mem_group G b w |
| 25 | (ConjugatedWeightCoordinates.Construction.conjugated_integer_diagonal_trace_zero_weights G b w hw) hw v t) |
| 26 | coordinates := ConjugatedWeightCoordinates.Construction.conjugatedWeightCoordinates b w |
| 27 | coordinate_eq K _ v t i j := by |
| 28 | have he := congrArg (fun M => M i j) (ConjugatedWeightCoordinates.Construction.evaluate_conjugatedWeightCoordinates v b w |
| 29 | (ConjugatedWeightCoordinates.Construction.conjugated_integer_diagonal_trace_zero_weights G b w hw) t) |
| 30 | exact he.symm |
| 31 | |
| 32 | theorem anisotropic_conjugated_integer_weights_zero |
| 33 | {k : Type} [Field k] [CharZero k] (G : Algebraic.ConnectedSemisimpleKGroup k) |
| 34 | (haniso : Algebraic.IsAnisotropic G) (b : Algebraic.SL G.dimension k) (w : Fin G.dimension → ℤ) |
| 35 | (hw : (b : Matrix (Fin G.dimension) (Fin G.dimension) k) * Matrix.diagonal (fun i => (w i : k)) * |
| 36 | ((b⁻¹ : Algebraic.SL G.dimension k) : Matrix (Fin G.dimension) (Fin G.dimension) k) ∈ |
| 37 | Infinitesimal.Action.Construction.infinitesimalStabilizer G.matrixGroup) : w = 0 := by |
| 38 | let c := conjugatedInfinitesimalCocharacter G.matrixGroup b w hw |
| 39 | let t : kˣ := Units.mk0 2 (by norm_num) |
| 40 | let hsum := ConjugatedWeightCoordinates.Construction.conjugated_integer_diagonal_trace_zero_weights G.matrixGroup b w hw |
| 41 | let B := Matrix.SpecialLinearGroup.map (RingHom.id k) b |
| 42 | have he := DFunLike.congr_fun (haniso c k (RingHom.id k)) t |
| 43 | have heSL := congrArg (fun g : G.matrixGroup.RationalPoints => g.val) he |
| 44 | change MulAut.conj B (DiagonalWeightIntegration.Construction.diagonalWeightSL k w hsum t) = 1 at heSL |
| 45 | have hd : DiagonalWeightIntegration.Construction.diagonalWeightSL k w hsum t = 1 := |
| 46 | (MulAut.conj B).injective (heSL.trans (map_one (MulAut.conj B)).symm) |
| 47 | funext i |
| 48 | have hi := congrArg (fun g : Algebraic.SL G.dimension k => g i i) hd |
| 49 | change (Matrix.diagonal (fun j => ((t ^ w j : kˣ) : k))) i i = |
| 50 | (1 : Matrix (Fin G.dimension) (Fin G.dimension) k) i i at hi |
| 51 | simp only [Matrix.diagonal_apply_eq, Matrix.one_apply_eq, Units.val_zpow_eq_zpow_val] at hi |
| 52 | exact (AnisotropicIntegerWeights.Construction.charZero_two_zpow_eq_one_iff (k := k) (w i)).mp hi |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ConjugatedWeightCocharacter.Construction |