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.ParametricIntervalIntegral |
| 2 | import Mathlib.Analysis.Calculus.ContDiff.Basic |
| 3 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 4 | |
| 5 | /-! # Parameter Integral Derivative -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.DeRham.Comparison.ParameterIntegralDerivative |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Differentiating a compact-interval integral in a finite-dimensional parameter |
| 13 | |
| 14 | Joint C¹ regularity provides the derivative bound on a compact product of a |
| 15 | closed parameter ball and the integration interval. No bound or integral |
| 16 | interchange is assumed as an additional mathematical hypothesis. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.MeasureTheory Set Filter _root_.Metric |
| 20 | open scoped _root_.Topology Interval |
| 21 | |
| 22 | variable {E F : Type*} |
| 23 | variable [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 24 | variable [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 25 | |
| 26 | /-- A jointly C¹ function has a continuous derivative in the parameter direction. -/ |
| 27 | theorem continuous_parameterFDeriv {f : E × ℝ → F} (hf : ContDiff ℝ 1 f) : |
| 28 | Continuous (fun z : E × ℝ => fderiv ℝ (fun y : E => f (y, z.2)) z.1) := by |
| 29 | have hEq : (fun z : E × ℝ => fderiv ℝ (fun y : E => f (y, z.2)) z.1) = |
| 30 | fun z => (fderiv ℝ f z).comp (ContinuousLinearMap.inl ℝ E ℝ) := by |
| 31 | funext z |
| 32 | exact ((hf.differentiable_one z).hasFDerivAt.comp z.1 |
| 33 | (hasFDerivAt_prodMk_left z.1 z.2)).fderiv |
| 34 | rw [hEq] |
| 35 | exact (hf.continuous_fderiv one_ne_zero).clm_comp continuous_const |
| 36 | |
| 37 | /-- The parameter derivative is integrable on every finite time interval. -/ |
| 38 | theorem intervalIntegrable_parameterFDeriv {f : E × ℝ → F} |
| 39 | (hf : ContDiff ℝ 1 f) (x : E) (a b : ℝ) : |
| 40 | IntervalIntegrable (fun t => fderiv ℝ (fun y : E => f (y, t)) x) volume a b := |
| 41 | ((continuous_parameterFDeriv hf).comp |
| 42 | (continuous_const.prodMk continuous_id)).intervalIntegrable a b |
| 43 | |
| 44 | variable [FiniteDimensional ℝ E] |
| 45 | |
| 46 | /-- A jointly C¹ integrand can be differentiated under its finite interval |
| 47 | integral. The derivative is the integral of its actual parameter derivatives. |
| 48 | Finite dimensionality is used only to obtain the compact local bound. -/ |
| 49 | theorem hasFDerivAt_intervalIntegral_of_contDiff {f : E × ℝ → F} |
| 50 | (hf : ContDiff ℝ 1 f) (x : E) (a b : ℝ) : |
| 51 | HasFDerivAt (fun y : E => ∫ t in a..b, f (y, t)) |
| 52 | (∫ t in a..b, fderiv ℝ (fun y : E => f (y, t)) x) x := by |
| 53 | let D : E × ℝ → E →L[ℝ] F := |
| 54 | fun z => fderiv ℝ (fun y : E => f (y, z.2)) z.1 |
| 55 | have hpartial (y : E) (t : ℝ) : |
| 56 | HasFDerivAt (fun z : E => f (z, t)) |
| 57 | ((fderiv ℝ f (y, t)).comp (ContinuousLinearMap.inl ℝ E ℝ)) y := |
| 58 | (hf.differentiable_one (y, t)).hasFDerivAt.comp y (hasFDerivAt_prodMk_left y t) |
| 59 | have hDformula : D = fun z => |
| 60 | (fderiv ℝ f z).comp (ContinuousLinearMap.inl ℝ E ℝ) := by |
| 61 | funext z |
| 62 | exact (hpartial z.1 z.2).fderiv |
| 63 | have hDcont : Continuous D := by |
| 64 | rw [hDformula] |
| 65 | exact (hf.continuous_fderiv one_ne_zero).clm_comp continuous_const |
| 66 | obtain ⟨C, hC⟩ := |
| 67 | ((isCompact_closedBall x (1 : ℝ)).prod |
| 68 | (isCompact_uIcc : IsCompact (uIcc a b))).exists_bound_of_continuousOn |
| 69 | hDcont.continuousOn |
| 70 | apply intervalIntegral.hasFDerivAt_integral_of_dominated_of_fderiv_le |
| 71 | (F := fun y t => f (y, t)) (F' := fun y t => D (y, t)) |
| 72 | (bound := fun _ => C) (s := ball x 1) (ball_mem_nhds x zero_lt_one) |
| 73 | · exact Filter.Eventually.of_forall fun y => |
| 74 | (hf.continuous.comp (continuous_const.prodMk continuous_id)).aestronglyMeasurable |
| 75 | · exact (hf.continuous.comp (continuous_const.prodMk continuous_id)).intervalIntegrable a b |
| 76 | · exact (hDcont.comp (continuous_const.prodMk continuous_id)).aestronglyMeasurable |
| 77 | · exact Filter.Eventually.of_forall fun t ht y hy => |
| 78 | hC (y, t) ⟨ball_subset_closedBall hy, uIoc_subset_uIcc ht⟩ |
| 79 | · exact intervalIntegrable_const |
| 80 | · exact Filter.Eventually.of_forall fun t _ y _ => |
| 81 | (hpartial y t).differentiableAt.hasFDerivAt |
| 82 | |
| 83 | /-- The derivative formula corresponding to |
| 84 | `hasFDerivAt_intervalIntegral_of_contDiff`. -/ |
| 85 | theorem fderiv_intervalIntegral_of_contDiff {f : E × ℝ → F} |
| 86 | (hf : ContDiff ℝ 1 f) (x : E) (a b : ℝ) : |
| 87 | fderiv ℝ (fun y : E => ∫ t in a..b, f (y, t)) x = |
| 88 | ∫ t in a..b, fderiv ℝ (fun y : E => f (y, t)) x := |
| 89 | (hasFDerivAt_intervalIntegral_of_contDiff hf x a b).fderiv |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicTopology.DeRham.Comparison.ParameterIntegralDerivative |