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.Analysis.HodgeTheory.Decomposition.LocalAdjoint |
| 2 | import Mathlib.Analysis.InnerProductSpace.Calculus |
| 3 | |
| 4 | /-! # Formal Adjoint Pair Derivative -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.FormalAdjointPairDerivative.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Testing the already constructed coordinate formal-adjoint numerator |
| 11 | amounts to differentiating its weighted scalar pairing. -/ |
| 12 | |
| 13 | variable {E F G ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 14 | [NormedAddCommGroup F] [InnerProductSpace ℝ F] [CompleteSpace F] |
| 15 | [NormedAddCommGroup G] [InnerProductSpace ℝ G] [CompleteSpace G] [Fintype ι] |
| 16 | |
| 17 | theorem formalAdjointNumerator_pair_derivative (directions : ι → E) (symbol : ι → F →L[ℝ] G) |
| 18 | (M : E → G →L[ℝ] G) (a : E → G) {x : E} |
| 19 | (hM : DifferentiableAt ℝ M x) (ha : DifferentiableAt ℝ a x) (c : F) : |
| 20 | inner ℝ (LocalAdjoint.Constructions.formalAdjointNumerator directions symbol M a x) c = |
| 21 | -∑ i, fderiv ℝ (fun y => inner ℝ (M y (a y)) (symbol i c)) x (directions i) := by |
| 22 | have hd (i : ι) : |
| 23 | fderiv ℝ (fun y => inner ℝ (M y (a y)) (symbol i c)) x (directions i) = |
| 24 | inner ℝ (fderiv ℝ (fun y => (symbol i).adjoint (M y (a y))) x (directions i)) c := by |
| 25 | have hf := (symbol i).adjoint.differentiableAt.comp x (hM.clm_apply ha) |
| 26 | have hh := hf.hasFDerivAt.inner ℝ (hasFDerivAt_const c x) |
| 27 | have heq : (fun y => inner ℝ ((symbol i).adjoint (M y (a y))) c) = |
| 28 | (fun y => inner ℝ (M y (a y)) (symbol i c)) := by |
| 29 | funext y |
| 30 | exact (symbol i).adjoint_inner_left _ _ |
| 31 | have h := congrArg (fun L : E →L[ℝ] ℝ => L (directions i)) hh.fderiv |
| 32 | simp only [Function.comp_def] at h |
| 33 | rw [heq] at h |
| 34 | simpa only [add_apply, ContinuousLinearMap.comp_apply, zero_apply, inner_zero_right, |
| 35 | zero_add, fderivInnerCLM_apply, ContinuousLinearMap.prod_apply] using h |
| 36 | simp only [LocalAdjoint.Constructions.formalAdjointNumerator, inner_neg_left, sum_inner, hd] |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.Analysis.HodgeTheory.Decomposition.FormalAdjointPairDerivative.Constructions |