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.AlgebraicGeometry.AbelianVariety.PureAverage |
| 2 | import Mathlib.Analysis.Complex.RealDeriv |
| 3 | import Mathlib.Analysis.Calculus.Deriv.Pow |
| 4 | |
| 5 | /-! # Character Basis -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianVariety.CharacterBasis.Constructions.ExteriorCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open scoped BigOperators |
| 12 | |
| 13 | /-- Differentiating a Hodge character along a unit curve reads its signed degree. -/ |
| 14 | theorem bidegree_curve_hasDerivAt (p q : ℕ) : |
| 15 | HasDerivAt (fun t : ℝ => ((1 : ℂ) + (t : ℂ) * Complex.I) ^ p * |
| 16 | ((1 : ℂ) - (t : ℂ) * Complex.I) ^ q) |
| 17 | (((p : ℂ) - (q : ℂ)) * Complex.I) 0 := by |
| 18 | have hr : HasDerivAt (fun t : ℝ => (t : ℂ)) (1 : ℂ) 0 := by |
| 19 | simpa using (hasDerivAt_id (0 : ℝ)).ofReal_comp |
| 20 | have hplus : HasDerivAt (fun t : ℝ => (1 : ℂ) + (t : ℂ) * Complex.I) Complex.I 0 := by |
| 21 | simpa using (hr.mul_const Complex.I).const_add 1 |
| 22 | have hminus : HasDerivAt (fun t : ℝ => (1 : ℂ) - (t : ℂ) * Complex.I) (-Complex.I) 0 := by |
| 23 | simpa using (hr.mul_const Complex.I).const_sub 1 |
| 24 | apply HasDerivAt.congr_deriv ((hplus.pow p).mul (hminus.pow q)) |
| 25 | norm_num |
| 26 | ring |
| 27 | |
| 28 | /-- Equal Hodge characters have equal signed degrees. -/ |
| 29 | theorem bidegreeCharacter_eq_imp_signed_eq (p q r s : ℕ) |
| 30 | (h : ∀ z : ℂˣ, OAI.Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter p q z = OAI.Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter r s z) : |
| 31 | (p : ℤ) - q = (r : ℤ) - s := by |
| 32 | have hz (t : ℝ) : (1 : ℂ) + (t : ℂ) * Complex.I ≠ 0 := by |
| 33 | intro he |
| 34 | have hre := congrArg Complex.re he |
| 35 | simp at hre |
| 36 | have he : (fun t : ℝ => ((1 : ℂ) + (t : ℂ) * Complex.I) ^ p * |
| 37 | ((1 : ℂ) - (t : ℂ) * Complex.I) ^ q) = |
| 38 | (fun t : ℝ => ((1 : ℂ) + (t : ℂ) * Complex.I) ^ r * |
| 39 | ((1 : ℂ) - (t : ℂ) * Complex.I) ^ s) := by |
| 40 | funext t |
| 41 | have ht := h (Units.mk0 ((1 : ℂ) + (t : ℂ) * Complex.I) (hz t)) |
| 42 | simpa [OAI.Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter, Complex.star_def, sub_eq_add_neg, mul_neg] using ht |
| 43 | have hd := bidegree_curve_hasDerivAt p q |
| 44 | rw [he] at hd |
| 45 | have hder := hd.unique (bidegree_curve_hasDerivAt r s) |
| 46 | have hc := mul_right_cancel₀ Complex.I_ne_zero hder |
| 47 | exact_mod_cast hc |
| 48 | |
| 49 | variable {V ι Z : Type*} [AddCommGroup V] [Module ℂ V] [Fintype ι] |
| 50 | (b : Module.Basis ι ℂ V) (T : Z → V →ₗ[ℂ] V) (χ : ι → Z → ℂ) |
| 51 | (hb : ∀ z i, T z (b i) = χ i z • b i) |
| 52 | |
| 53 | include hb |
| 54 | |
| 55 | theorem eigen_basis_coordinate (z : Z) (x : V) (i : ι) : |
| 56 | b.repr (T z x) i = χ i z * b.repr x i := by |
| 57 | classical |
| 58 | have he := congrArg (fun y => b.repr (T z y) i) (b.sum_repr x) |
| 59 | simp only [map_sum, map_smul, hb, Finsupp.coe_finsetSum, |
| 60 | Finset.sum_apply, Finsupp.smul_apply, Module.Basis.repr_self, |
| 61 | Finsupp.single_apply, smul_eq_mul] at he |
| 62 | simpa [mul_comm] using he.symm |
| 63 | |
| 64 | /-- A simultaneous character condition is precisely the span of matching basis characters. -/ |
| 65 | theorem eigen_basis_span_iff (chi0 : Z → ℂ) (x : V) : |
| 66 | (∀ z, T z x = chi0 z • x) ↔ x ∈ Submodule.span ℂ (b '' {i | χ i = chi0}) := by |
| 67 | classical |
| 68 | constructor |
| 69 | · intro hx |
| 70 | apply b.mem_span_image.mpr |
| 71 | intro i hi |
| 72 | have hci : b.repr x i ≠ 0 := Finsupp.mem_support_iff.mp hi |
| 73 | funext z |
| 74 | have he := congrArg (fun y => b.repr y i) (hx z) |
| 75 | rw [eigen_basis_coordinate b T χ hb, map_smul] at he |
| 76 | change χ i z * b.repr x i = chi0 z * b.repr x i at he |
| 77 | exact mul_right_cancel₀ hci he |
| 78 | · intro hx z |
| 79 | let S : Submodule ℂ V := LinearMap.ker (T z - chi0 z • LinearMap.id) |
| 80 | have hs : Submodule.span ℂ (b '' {i | χ i = chi0}) ≤ S := by |
| 81 | apply Submodule.span_le.mpr |
| 82 | rintro y ⟨i, hi, rfl⟩ |
| 83 | change T z (b i) - chi0 z • b i = 0 |
| 84 | rw [hb, hi, sub_self] |
| 85 | exact sub_eq_zero.mp (hs hx) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianVariety.CharacterBasis.Constructions.ExteriorCohomology |