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.AlgebraicTopology.DeRham.Comparison.ParameterIntegralDerivative |
| 2 | import Mathlib.Analysis.Calculus.ContDiff.FiniteDimension |
| 3 | |
| 4 | /-! # Parameter Integral Smooth -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.ParameterIntegralSmooth |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Smoothness of compact-interval parameter integrals |
| 12 | |
| 13 | The proof differentiates the actual integral and inducts on finite derivative |
| 14 | orders. Finite-dimensionality permits testing the derivative in fixed tangent |
| 15 | directions, so the induction keeps the same coefficient space. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.MeasureTheory |
| 19 | open scoped ContDiff |
| 20 | |
| 21 | variable {E F : Type*} |
| 22 | variable [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 23 | variable [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 24 | |
| 25 | /-- Every finite derivative order of an integral of a jointly smooth integrand |
| 26 | exists and is continuous. -/ |
| 27 | theorem contDiff_nat_intervalIntegral_of_smooth (n : ℕ) {f : E × ℝ → F} |
| 28 | (hf : ContDiff ℝ ∞ f) (a b : ℝ) : |
| 29 | ContDiff ℝ n (fun x : E => ∫ t in a..b, f (x, t)) := by |
| 30 | induction n generalizing f with |
| 31 | | zero => |
| 32 | have hd : Differentiable ℝ (fun x : E => ∫ t in a..b, f (x, t)) := |
| 33 | fun x => (ParameterIntegralDerivative.hasFDerivAt_intervalIntegral_of_contDiff (hf.of_le (by simp)) x a b).differentiableAt |
| 34 | exact contDiff_zero.mpr hd.continuous |
| 35 | | succ n ih => |
| 36 | simp only [Nat.cast_add, Nat.cast_one] |
| 37 | rw [contDiff_succ_iff_fderiv_apply] |
| 38 | refine ⟨?_, by simp, ?_⟩ |
| 39 | · exact fun x => |
| 40 | (ParameterIntegralDerivative.hasFDerivAt_intervalIntegral_of_contDiff (hf.of_le (by simp)) x a b).differentiableAt |
| 41 | · intro v |
| 42 | let g : E × ℝ → F := fun z => fderiv ℝ f z (v, 0) |
| 43 | have hg : ContDiff ℝ ∞ g := |
| 44 | (contDiff_infty_iff_fderiv.mp hf).2.clm_apply contDiff_const |
| 45 | have hsection (x : E) (t : ℝ) : |
| 46 | fderiv ℝ (fun y : E => f (y, t)) x = |
| 47 | (fderiv ℝ f (x, t)).comp (ContinuousLinearMap.inl ℝ E ℝ) := |
| 48 | ((hf.differentiable (by simp) (x, t)).hasFDerivAt.comp x |
| 49 | (hasFDerivAt_prodMk_left x t)).fderiv |
| 50 | have heq : (fun x : E => fderiv ℝ (fun y : E => ∫ t in a..b, f (y, t)) x v) = |
| 51 | fun x : E => ∫ t in a..b, g (x, t) := by |
| 52 | funext x |
| 53 | rw [ParameterIntegralDerivative.fderiv_intervalIntegral_of_contDiff (hf.of_le (by simp)) x a b, |
| 54 | ContinuousLinearMap.intervalIntegral_apply |
| 55 | (ParameterIntegralDerivative.intervalIntegrable_parameterFDeriv (hf.of_le (by simp)) x a b) v] |
| 56 | apply intervalIntegral.integral_congr |
| 57 | intro t _ |
| 58 | dsimp only |
| 59 | rw [hsection] |
| 60 | rfl |
| 61 | rw [heq] |
| 62 | exact ih hg |
| 63 | |
| 64 | /-- Integrating a jointly smooth function over a fixed compact interval |
| 65 | preserves smoothness in the finite-dimensional parameter. -/ |
| 66 | theorem contDiff_intervalIntegral_of_smooth {f : E × ℝ → F} |
| 67 | (hf : ContDiff ℝ ∞ f) (a b : ℝ) : |
| 68 | ContDiff ℝ ∞ (fun x : E => ∫ t in a..b, f (x, t)) := |
| 69 | contDiff_infty.mpr fun n => contDiff_nat_intervalIntegral_of_smooth n hf a b |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicTopology.DeRham.Comparison.ParameterIntegralSmooth |