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 Mathlib.RingTheory.Nilpotent.Exp |
| 2 | import Mathlib.RingTheory.Derivation.Basic |
| 3 | import Mathlib.Algebra.Algebra.Equiv |
| 4 | |
| 5 | /-! # Nilpotent Taylor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.NilpotentTaylor.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite Taylor automorphisms from nilpotent relative derivations. -/ |
| 12 | |
| 13 | variable {k R : Type*} [CommRing k] [CommRing R] [Algebra k R] [Algebra ℚ R] |
| 14 | |
| 15 | theorem nilpotentDerivation_exp_fixed (D : Derivation k R R) |
| 16 | (hD : IsNilpotent D.toLinearMap) (x : R) (hx : D x = 0) : |
| 17 | IsNilpotent.exp D.toLinearMap x = x := by |
| 18 | have h : (D.toLinearMap ^ 1) • x = 0 := by simpa using hx |
| 19 | simpa using IsNilpotent.exp_smul_eq_sum h hD |
| 20 | |
| 21 | /-- A nilpotent derivation has an actual algebra automorphism as its exponential. -/ |
| 22 | def nilpotentDerivationExp (D : Derivation k R R) (hD : IsNilpotent D.toLinearMap) : |
| 23 | R ≃ₐ[k] R where |
| 24 | toFun x := IsNilpotent.exp D.toLinearMap x |
| 25 | invFun x := IsNilpotent.exp (-D.toLinearMap) x |
| 26 | left_inv x := by |
| 27 | simp only [← LinearMap.comp_apply, ← Module.End.mul_eq_comp, |
| 28 | hD.exp_neg_mul_exp_self, Module.End.one_apply] |
| 29 | right_inv x := by |
| 30 | simp only [← LinearMap.comp_apply, ← Module.End.mul_eq_comp, |
| 31 | hD.exp_mul_exp_neg_self, Module.End.one_apply] |
| 32 | map_add' := (IsNilpotent.exp D.toLinearMap).map_add |
| 33 | map_mul' := Module.End.exp_mul_of_derivation k R D.toLinearMap |
| 34 | (fun x y => by |
| 35 | change D (x * y) = x * D y + D x * y |
| 36 | simpa only [smul_eq_mul, mul_comm y (D x)] using D.leibniz x y) hD |
| 37 | commutes' a := nilpotentDerivation_exp_fixed D hD _ (D.map_algebraMap a) |
| 38 | |
| 39 | omit [Algebra ℚ R] in |
| 40 | /-- Multiplying a derivation by an element it fixes gives the expected powers. -/ |
| 41 | theorem invariant_smul_derivation_pow (D : Derivation k R R) (t : R) |
| 42 | (ht : D t = 0) (n : ℕ) (x : R) : |
| 43 | ((t • D).toLinearMap ^ n) x = t ^ n * (D.toLinearMap ^ n) x := by |
| 44 | induction n with |
| 45 | | zero => simp |
| 46 | | succ n ih => |
| 47 | rw [pow_succ', Module.End.mul_apply, ih] |
| 48 | change t * D (t ^ n * (D.toLinearMap ^ n) x) = _ |
| 49 | rw [D.leibniz, D.leibniz_pow, ht] |
| 50 | simp only [smul_zero, mul_zero, add_zero, smul_eq_mul] |
| 51 | rw [pow_succ', mul_assoc] |
| 52 | rw [pow_succ' D.toLinearMap n, Module.End.mul_apply] |
| 53 | rfl |
| 54 | |
| 55 | omit [Algebra ℚ R] in |
| 56 | theorem invariant_smul_derivation_nilpotent (D : Derivation k R R) (t : R) |
| 57 | (ht : D t = 0) (n : ℕ) (hn : t ^ n = 0) : |
| 58 | (t • D).toLinearMap ^ n = 0 := by |
| 59 | ext x |
| 60 | rw [invariant_smul_derivation_pow D t ht n x, hn, zero_mul] |
| 61 | rfl |
| 62 | |
| 63 | /-- Finite Taylor substitution when the displacement is nilpotent and constant |
| 64 | for the derivation. -/ |
| 65 | def invariantNilpotentTaylor (D : Derivation k R R) (t : R) |
| 66 | (ht : D t = 0) (n : ℕ) (hn : t ^ n = 0) : R ≃ₐ[k] R := |
| 67 | nilpotentDerivationExp (t • D) |
| 68 | ⟨n, invariant_smul_derivation_nilpotent D t ht n hn⟩ |
| 69 | |
| 70 | theorem invariantNilpotentTaylor_apply (D : Derivation k R R) (t : R) |
| 71 | (ht : D t = 0) (n : ℕ) (hn : t ^ n = 0) (x : R) : |
| 72 | invariantNilpotentTaylor D t ht n hn x = |
| 73 | ∑ j ∈ Finset.range n, (j.factorial : ℚ)⁻¹ • |
| 74 | (t ^ j * (D.toLinearMap ^ j) x) := by |
| 75 | change IsNilpotent.exp (t • D).toLinearMap x = _ |
| 76 | rw [IsNilpotent.exp_eq_sum (invariant_smul_derivation_nilpotent D t ht n hn)] |
| 77 | simp only [LinearMap.sum_apply, LinearMap.smul_apply, |
| 78 | invariant_smul_derivation_pow D t ht] |
| 79 | |
| 80 | /-- For a section killed by an earlier derivative, the Taylor sum stops there. -/ |
| 81 | theorem invariantNilpotentTaylor_apply_short (D : Derivation k R R) (t : R) |
| 82 | (ht : D t = 0) (n : ℕ) (hn : t ^ n = 0) (m : ℕ) (x : R) |
| 83 | (hx : (D.toLinearMap ^ m) x = 0) : |
| 84 | invariantNilpotentTaylor D t ht n hn x = |
| 85 | ∑ j ∈ Finset.range m, (j.factorial : ℚ)⁻¹ • |
| 86 | (t ^ j * (D.toLinearMap ^ j) x) := by |
| 87 | have h : ((t • D).toLinearMap ^ m) • x = 0 := by |
| 88 | change ((t • D).toLinearMap ^ m) x = 0 |
| 89 | rw [invariant_smul_derivation_pow D t ht m x, hx, mul_zero] |
| 90 | have he := IsNilpotent.exp_smul_eq_sum h |
| 91 | (show IsNilpotent (t • D).toLinearMap from |
| 92 | ⟨n, invariant_smul_derivation_nilpotent D t ht n hn⟩) |
| 93 | change IsNilpotent.exp (t • D).toLinearMap x = _ |
| 94 | simpa only [Module.End.smul_def, invariant_smul_derivation_pow D t ht] using he |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Resolution.Blowups.NilpotentTaylor.Construction |