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.Positive.DerivationNilpotence |
| 2 | import Mathlib.LinearAlgebra.Eigenspace.Zero |
| 3 | |
| 4 | /-! # Nilpotent Exponential Polynomial -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.NilpotentExponentialPolynomial.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Nilpotent endomorphisms have a dimension-uniform vanishing power, |
| 13 | so their exponential is a fixed finite polynomial. -/ |
| 14 | |
| 15 | open NormedSpace |
| 16 | |
| 17 | theorem nilpotent_continuous_operator_pow_finrank |
| 18 | {L : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] [FiniteDimensional ℝ L] |
| 19 | (A : L →L[ℝ] L) (hA : IsNilpotent A) : A ^ Module.finrank ℝ L = 0 := by |
| 20 | have hlin : IsNilpotent A.toLinearMap := hA.map ContinuousLinearMap.toLinearMapRingHom |
| 21 | have hp : A.toLinearMap ^ Module.finrank ℝ L = 0 := by |
| 22 | have he := A.toLinearMap.aeval_self_charpoly |
| 23 | rwa [hlin.charpoly_eq_X_pow_finrank, map_pow, Polynomial.aeval_X] at he |
| 24 | have he : ContinuousLinearMap.toLinearMapRingHom (A ^ Module.finrank ℝ L) = 0 := by |
| 25 | rw [map_pow] |
| 26 | exact hp |
| 27 | apply ContinuousLinearMap.ext |
| 28 | intro x |
| 29 | exact DFunLike.congr_fun he x |
| 30 | |
| 31 | theorem exp_eq_finite_sum_of_pow_eq_zero |
| 32 | {A : Type*} [NormedRing A] [NormedAlgebra ℝ A] |
| 33 | (X : A) (m : ℕ) (hm : X ^ m = 0) : |
| 34 | exp X = ∑ i ∈ Finset.range m, (i.factorial⁻¹ : ℝ) • X ^ i := by |
| 35 | rw [exp_eq_tsum ℝ] |
| 36 | apply tsum_eq_sum |
| 37 | intro i hi |
| 38 | have hmi : m ≤ i := Nat.le_of_not_gt (fun h => hi (Finset.mem_range.mpr h)) |
| 39 | rw [pow_eq_zero_of_le hmi hm, smul_zero] |
| 40 | |
| 41 | theorem positive_derivation_exponential_polynomial |
| 42 | {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 43 | (B : L →L[ℝ] L →L[ℝ] L) (H : L →L[ℝ] L) (hH : H.toLinearMap.IsSymmetric) |
| 44 | (X : L →L[ℝ] L) (hX : X ∈ DerivationSpectralDecomposition.Construction.positiveBracketDerivations B H) : |
| 45 | exp X = ∑ i ∈ Finset.range (Module.finrank ℝ L), (i.factorial⁻¹ : ℝ) • X ^ i := |
| 46 | exp_eq_finite_sum_of_pow_eq_zero X (Module.finrank ℝ L) |
| 47 | (nilpotent_continuous_operator_pow_finrank X (Positive.DerivationNilpotence.Construction.positiveBracketDerivations_isNilpotent B H hH X hX)) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | /-! A linear map whose difference from the identity is nilpotent has |
| 52 | determinant one. The same holds on every invariant subspace. -/ |
| 53 | |
| 54 | theorem linear_det_eq_one_of_unipotent |
| 55 | {E : Type*} [AddCommGroup E] [Module ℝ E] [FiniteDimensional ℝ E] |
| 56 | (A : E →ₗ[ℝ] E) (hA : IsNilpotent (A - 1)) : A.det = 1 := by |
| 57 | have hn : IsNilpotent (1 - A) := by simpa only [neg_sub] using hA.neg |
| 58 | have he := (1 - A).eval_charpoly (1 : ℝ) |
| 59 | rw [hn.charpoly_eq_X_pow_finrank] at he |
| 60 | simpa using he.symm |
| 61 | |
| 62 | theorem restrict_unipotent_linear_map |
| 63 | {E : Type*} [AddCommGroup E] [Module ℝ E] |
| 64 | (A : E →ₗ[ℝ] E) (P : Submodule ℝ E) (hP : ∀ x ∈ P, A x ∈ P) |
| 65 | (hA : IsNilpotent (A - 1)) : IsNilpotent (A.restrict hP - 1) := by |
| 66 | obtain ⟨m, hm⟩ := hA |
| 67 | refine ⟨m, ?_⟩ |
| 68 | have he : ∀ (n : ℕ) (x : P), (((A.restrict hP - 1) ^ n) x).val = ((A - 1) ^ n) x.val := by |
| 69 | intro n |
| 70 | induction n with |
| 71 | | zero => intro x; rfl |
| 72 | | succ n ih => |
| 73 | intro x |
| 74 | rw [pow_succ', pow_succ'] |
| 75 | change A (((A.restrict hP - 1) ^ n) x).val - (((A.restrict hP - 1) ^ n) x).val = _ |
| 76 | rw [ih] |
| 77 | rfl |
| 78 | ext x |
| 79 | rw [he, hm] |
| 80 | rfl |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.ArithmeticGroups.Lattices.NilpotentExponentialPolynomial.Construction |