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.Quaternion.Arithmetic.LaurentEvaluation |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.Place |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.PolynomialGaloisNorm |
| 4 | |
| 5 | /-! # Cocharacter Weight Matrices -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.CocharacterWeightMatrices |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The Laurent coefficients of a cocharacter's matrix entries are |
| 12 | weight matrices: left multiplication by the cocharacter scales each |
| 13 | weight matrix by the corresponding character. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.Place.Construction |
| 17 | |
| 18 | variable {F : Type} [Field F] [CharZero F] {n : ℕ} |
| 19 | {G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n} |
| 20 | |
| 21 | def cocharacterLaurentMatrix (c : G.Cocharacter) : |
| 22 | Matrix (Fin n) (Fin n) (LaurentPolynomial F) := |
| 23 | fun i j => ArithmeticGroups.Lattices.Laurent.Construction.laurentOfPair (c.coordinates i j) |
| 24 | |
| 25 | def cocharacterWeightMatrix (c : G.Cocharacter) (z : ℤ) : Matrix (Fin n) (Fin n) F := |
| 26 | fun i j => (cocharacterLaurentMatrix c i j).coeff z |
| 27 | |
| 28 | theorem cocharacter_laurent_left_scale (c : G.Cocharacter) (s : Fˣ) (i j : Fin n) : |
| 29 | LaurentEvaluation.laurentWeightScale s (cocharacterLaurentMatrix c i j) = |
| 30 | ∑ l, LaurentPolynomial.C ((c.hom F (RingHom.id F) s).val i l) * cocharacterLaurentMatrix c l j := by |
| 31 | apply LaurentEvaluation.laurent_eq_of_unit_evaluations |
| 32 | intro t |
| 33 | calc |
| 34 | LaurentPolynomial.eval₂ (RingHom.id F) t (LaurentEvaluation.laurentWeightScale s (cocharacterLaurentMatrix c i j)) = |
| 35 | (c.hom F (RingHom.id F) (s * t)).val i j := by |
| 36 | rw [LaurentEvaluation.laurentWeightScale_eval] |
| 37 | exact (ArithmeticGroups.Lattices.Compact.Place.Construction.cocharacter_entry_eq_laurent G c (RingHom.id F) (s * t) i j).symm |
| 38 | _ = ∑ l, (c.hom F (RingHom.id F) s).val i l * (c.hom F (RingHom.id F) t).val l j := by |
| 39 | rw [map_mul] |
| 40 | rfl |
| 41 | _ = _ := by |
| 42 | simp only [map_sum, map_mul, LaurentPolynomial.eval₂_C, RingHom.id_apply] |
| 43 | apply Finset.sum_congr rfl |
| 44 | intro l _ |
| 45 | rw [ArithmeticGroups.Lattices.Compact.Place.Construction.cocharacter_entry_eq_laurent G c (RingHom.id F) t l j] |
| 46 | rfl |
| 47 | |
| 48 | theorem cocharacter_weight_matrix_action (c : G.Cocharacter) (s : Fˣ) (z : ℤ) : |
| 49 | (c.hom F (RingHom.id F) s).val.val * cocharacterWeightMatrix c z = |
| 50 | (s ^ z).val • cocharacterWeightMatrix c z := by |
| 51 | apply Matrix.ext |
| 52 | intro i j |
| 53 | have he := congrArg (fun p : LaurentPolynomial F => p.coeff z) (cocharacter_laurent_left_scale c s i j) |
| 54 | simp only [LaurentEvaluation.laurentWeightScale_coeff, AddMonoidAlgebra.coeff_sum, Finset.sum_apply', |
| 55 | LaurentEvaluation.laurent_constant_mul_coeff] at he |
| 56 | change (∑ l, (c.hom F (RingHom.id F) s).val i l * |
| 57 | (cocharacterLaurentMatrix c l j).coeff z) = (s ^ z).val * (cocharacterLaurentMatrix c i j).coeff z |
| 58 | exact he.symm.trans (mul_comm _ _) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.Quaternion.Arithmetic.CocharacterWeightMatrices |