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.Lie.AutomorphismTransversal |
| 2 | import Mathlib.Analysis.SpecialFunctions.Exponential |
| 3 | import Mathlib.Analysis.Calculus.MeanValue |
| 4 | import Mathlib.Analysis.Calculus.Deriv.Mul |
| 5 | |
| 6 | /-! # Derivation Exponential -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Bilinear.DerivationExponential.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Exponentiating a bounded derivation preserves a continuous bilinear |
| 13 | operation. This is proved by differentiating the transported operation. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open NormedSpace |
| 17 | |
| 18 | theorem exp_bilinear_derivation_preserves |
| 19 | {L : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] [CompleteSpace L] |
| 20 | (B : L →L[ℝ] L →L[ℝ] L) (A : L →L[ℝ] L) |
| 21 | (hA : ∀ x y, A (B x y) = B (A x) y + B x (A y)) (x y : L) : |
| 22 | exp A (B x y) = B (exp A x) (exp A y) := by |
| 23 | let : NormedAddCommGroup (L →L[ℝ] L) := inferInstance |
| 24 | let : NormedSpace ℝ (L →L[ℝ] L) := inferInstance |
| 25 | let : NormedAlgebra ℚ (L →L[ℝ] L) := NormedAlgebra.restrictScalars ℚ ℝ (L →L[ℝ] L) |
| 26 | let F : ℝ → L := fun t => exp (t • (-A)) (B (exp (t • A) x) (exp (t • A) y)) |
| 27 | have hd (t : ℝ) : HasDerivAt F 0 t := by |
| 28 | have hpos := hasDerivAt_exp_smul_const' A t |
| 29 | have hx := hpos.clm_apply (hasDerivAt_const t x) |
| 30 | have hy := hpos.clm_apply (hasDerivAt_const t y) |
| 31 | have hB := (B.hasFDerivAt.comp_hasDerivAt t hx).clm_apply hy |
| 32 | have hneg := hasDerivAt_exp_smul_const (-A) t |
| 33 | have hF := hneg.clm_apply hB |
| 34 | convert! hF using 1 |
| 35 | simp only [mul_apply_eq_comp, neg_apply, |
| 36 | map_zero, add_zero, map_add, map_neg, Function.comp_apply] |
| 37 | rw [hA, map_add] |
| 38 | abel |
| 39 | have hc : F 1 = F 0 := is_const_of_deriv_eq_zero |
| 40 | (fun t => (hd t).differentiableAt) (fun t => (hd t).deriv) 1 0 |
| 41 | have he := congrArg (fun z => exp A z) hc |
| 42 | have hi : exp A * exp (-A) = (1 : L →L[ℝ] L) := by |
| 43 | rw [← exp_add_of_commute (Commute.refl A).neg_right, add_neg_cancel, exp_zero] |
| 44 | have hi_apply (z : L) : exp A (exp (-A) z) = z := by |
| 45 | exact DFunLike.congr_fun hi z |
| 46 | simpa only [F, one_smul, zero_smul, exp_zero, one_apply_eq_self, hi_apply] using he.symm |
| 47 | |
| 48 | theorem exp_continuousLinearMap_injective |
| 49 | {L : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] [CompleteSpace L] |
| 50 | (A : L →L[ℝ] L) : Function.Injective (exp A : L →L[ℝ] L) := by |
| 51 | let : NormedAlgebra ℚ (L →L[ℝ] L) := NormedAlgebra.restrictScalars ℚ ℝ (L →L[ℝ] L) |
| 52 | have hi : exp (-A) * exp A = (1 : L →L[ℝ] L) := by |
| 53 | rw [← exp_add_of_commute (Commute.refl A).neg_left, neg_add_cancel, exp_zero] |
| 54 | intro x y h |
| 55 | have he := congrArg (fun z => exp (-A) z) h |
| 56 | have hi_apply (z : L) : exp (-A) (exp A z) = z := DFunLike.congr_fun hi z |
| 57 | simpa only [hi_apply] using he |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Bilinear.DerivationExponential.Construction |