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.Analysis.Calculus.FDeriv.Symmetric |
| 2 | import Mathlib.Analysis.Calculus.ContDiff.Comp |
| 3 | |
| 4 | /-! # Directional Commutation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Smooth.DirectionalCommutation.Dolbeault |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual constant real directional derivatives commute for a smooth |
| 11 | function, by symmetry of its genuine second Fréchet derivative. -/ |
| 12 | |
| 13 | open scoped ContDiff |
| 14 | |
| 15 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 16 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 17 | |
| 18 | theorem smooth_constantDerivative_commute {g : E → F} {x : E} |
| 19 | (hg : ContDiffAt ℝ ∞ g x) (v w : E) : |
| 20 | fderiv ℝ (fun y => fderiv ℝ g y v) x w = fderiv ℝ (fun y => fderiv ℝ g y w) x v := by |
| 21 | have hd := (hg.fderiv_right (m := ∞) (by simp)).differentiableAt (by simp) |
| 22 | have hs := hg.isSymmSndFDerivAt (by simp) |
| 23 | have hv : fderiv ℝ (fun y => fderiv ℝ g y v) x = |
| 24 | (ContinuousLinearMap.apply ℝ F v).comp (fderiv ℝ (fderiv ℝ g) x) := |
| 25 | ((ContinuousLinearMap.apply ℝ F v).hasFDerivAt.comp x hd.hasFDerivAt).fderiv |
| 26 | have hw : fderiv ℝ (fun y => fderiv ℝ g y w) x = |
| 27 | (ContinuousLinearMap.apply ℝ F w).comp (fderiv ℝ (fderiv ℝ g) x) := |
| 28 | ((ContinuousLinearMap.apply ℝ F w).hasFDerivAt.comp x hd.hasFDerivAt).fderiv |
| 29 | rw [hv, hw] |
| 30 | exact hs.eq w v |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.Comparison.Betti.Smooth.DirectionalCommutation.Dolbeault |