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.PadicHodge.IntegralComparison.Endomorphism.FiniteSumTensor |
| 2 | import Mathlib.Algebra.MvPolynomial.Degrees |
| 3 | |
| 4 | /-! # Finite Sum Weights -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.FiniteSumWeights.Tensor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The tensor exponents of the actual finite-sum pullback are evaluations |
| 11 | of fixed rational polynomials of total degree two. -/ |
| 12 | |
| 13 | universe v |
| 14 | |
| 15 | variable {ι : Type v} [Fintype ι] |
| 16 | |
| 17 | def weightPolynomial (t : Fin (Fintype.card (ι × ι))) : MvPolynomial ι ℚ := |
| 18 | MvPolynomial.C 2 * MvPolynomial.X ((Fintype.equivFin (ι × ι)).symm t).1 * |
| 19 | MvPolynomial.X ((Fintype.equivFin (ι × ι)).symm t).2 |
| 20 | |
| 21 | theorem weightPolynomial_eval (a : ι → ℕ) (t : Fin (Fintype.card (ι × ι))) : |
| 22 | MvPolynomial.eval (fun i => (a i : ℚ)) (weightPolynomial t) = (FiniteSumTensor.weight a t : ℚ) := by |
| 23 | simp only [weightPolynomial, FiniteSumTensor.weight, map_mul, MvPolynomial.eval_C, MvPolynomial.eval_X, |
| 24 | Nat.cast_mul, Nat.cast_ofNat, mul_assoc] |
| 25 | |
| 26 | theorem weightPolynomial_totalDegree (t : Fin (Fintype.card (ι × ι))) : |
| 27 | (weightPolynomial t).totalDegree ≤ 2 := by |
| 28 | have h₁ := MvPolynomial.totalDegree_mul (MvPolynomial.C (2 : ℚ)) |
| 29 | (MvPolynomial.X ((Fintype.equivFin (ι × ι)).symm t).1) |
| 30 | have h₂ := MvPolynomial.totalDegree_mul |
| 31 | (MvPolynomial.C (2 : ℚ) * MvPolynomial.X ((Fintype.equivFin (ι × ι)).symm t).1) |
| 32 | (MvPolynomial.X ((Fintype.equivFin (ι × ι)).symm t).2) |
| 33 | simp only [MvPolynomial.totalDegree_C, MvPolynomial.totalDegree_X, zero_add] at h₁ h₂ |
| 34 | change _ ≤ 2 |
| 35 | exact h₂.trans (Nat.add_le_add_right h₁ 1) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.FiniteSumWeights.Tensor |