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.LocallyNilpotentDerivation |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.BoundedRepresentation |
| 3 | |
| 4 | /-! # Degree -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Infinitesimal.Degree.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Infinitesimal matrix translation preserves total polynomial degree, |
| 11 | so it restricts to every finite-dimensional bounded polynomial space. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.MvPolynomial |
| 15 | |
| 16 | theorem replacement_monomial_degree |
| 17 | {σ : Type*} (m : σ →₀ ℕ) (i j : σ) (hi : m i ≠ 0) : |
| 18 | (m - Finsupp.single i 1 + Finsupp.single j 1).sum (fun _ e => e) = m.sum (fun _ e => e) := by |
| 19 | have h := Finsupp.weight_sub_single_add (w := fun _ : σ => (1 : ℕ)) hi |
| 20 | have he := (Finsupp.weight (fun _ : σ => (1 : ℕ))).map_add |
| 21 | (m - Finsupp.single i 1) (Finsupp.single j 1) |
| 22 | rw [Finsupp.weight_single, one_smul, h] at he |
| 23 | simpa only [Finsupp.weight_apply, nsmul_eq_mul, mul_one, Nat.cast_id] using he |
| 24 | |
| 25 | theorem rightInfinitesimal_monomial_mem_degree |
| 26 | {k : Type} [Field k] {n d : ℕ} (A : Matrix (Fin n) (Fin n) k) |
| 27 | (m : (Fin n × Fin n) →₀ ℕ) (c : k) (hm : m.sum (fun _ e => e) ≤ d) : |
| 28 | Action.Construction.rightInfinitesimal A (monomial m c) ∈ BoundedRepresentation.Construction.BoundedPolynomials k n d := by |
| 29 | unfold Action.Construction.rightInfinitesimal |
| 30 | rw [MvPolynomial.mkDerivation_monomial] |
| 31 | apply (BoundedRepresentation.Construction.BoundedPolynomials k n d).smul_mem c |
| 32 | apply (BoundedRepresentation.Construction.BoundedPolynomials k n d).sum_mem |
| 33 | intro ij hij |
| 34 | change monomial (m - Finsupp.single ij 1) (m ij : k) * |
| 35 | (∑ l, X (ij.1, l) * C (A l ij.2)) ∈ BoundedRepresentation.Construction.BoundedPolynomials k n d |
| 36 | rw [Finset.mul_sum] |
| 37 | apply (BoundedRepresentation.Construction.BoundedPolynomials k n d).sum_mem |
| 38 | intro l _ |
| 39 | simp only [MvPolynomial.X, MvPolynomial.C_apply, monomial_mul_monomial, add_zero, one_mul] |
| 40 | apply (mem_restrictTotalDegree _ _ _).mpr |
| 41 | exact (totalDegree_monomial_le _ _).trans |
| 42 | ((replacement_monomial_degree m ij (ij.1, l) (Finsupp.mem_support_iff.mp hij)).le.trans hm) |
| 43 | |
| 44 | theorem rightInfinitesimal_mem_degree |
| 45 | {k : Type} [Field k] {n d : ℕ} (A : Matrix (Fin n) (Fin n) k) |
| 46 | {p : Algebraic.CoordinatePolynomial n k} (hp : p ∈ BoundedRepresentation.Construction.BoundedPolynomials k n d) : |
| 47 | Action.Construction.rightInfinitesimal A p ∈ BoundedRepresentation.Construction.BoundedPolynomials k n d := by |
| 48 | rw [p.as_sum, map_sum] |
| 49 | apply (BoundedRepresentation.Construction.BoundedPolynomials k n d).sum_mem |
| 50 | intro m hm |
| 51 | apply rightInfinitesimal_monomial_mem_degree |
| 52 | exact hp hm |
| 53 | |
| 54 | def boundedInfinitesimal {k : Type} [Field k] {n : ℕ} (d : ℕ) |
| 55 | (A : Matrix (Fin n) (Fin n) k) : Module.End k (BoundedRepresentation.Construction.BoundedPolynomials k n d) := |
| 56 | (Action.Construction.rightInfinitesimal A).toLinearMap.restrict (fun _ hp => rightInfinitesimal_mem_degree A hp) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Infinitesimal.Degree.Construction |