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.Normed.Module.FiniteDimension |
| 3 | import Mathlib.MeasureTheory.Function.LocallyIntegrable |
| 4 | |
| 5 | /-! # Holomorphic Interval Integral -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.HolomorphicIntervalIntegral |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compact interval integration preserves complex differentiability |
| 12 | when the actual derivative is jointly continuous. -/ |
| 13 | |
| 14 | open Set Filter _root_.Metric _root_.MeasureTheory |
| 15 | open scoped _root_.Topology Interval |
| 16 | |
| 17 | variable {P V : Type} [NormedAddCommGroup P] [NormedSpace ℂ P] |
| 18 | [FiniteDimensional ℂ P] |
| 19 | [NormedAddCommGroup V] [NormedSpace ℂ V] [NormedSpace ℝ V] |
| 20 | [IsScalarTower ℝ ℂ V] |
| 21 | |
| 22 | theorem hasFDerivAt_intervalIntegral_of_compact |
| 23 | (f : P → ℝ → V) (D : P → ℝ → P →L[ℂ] V) |
| 24 | (U : Set P) (hU : IsOpen U) (a b : ℝ) |
| 25 | (hf : ContinuousOn (Function.uncurry f) (U ×ˢ uIcc a b)) |
| 26 | (hD : ContinuousOn (Function.uncurry D) (U ×ˢ uIcc a b)) |
| 27 | (hd : ∀ p ∈ U, ∀ t ∈ uIcc a b, HasFDerivAt (fun q => f q t) (D p t) p) |
| 28 | (p : P) (hp : p ∈ U) : |
| 29 | HasFDerivAt (fun q => ∫ t in a..b, f q t) (∫ t in a..b, D p t) p := by |
| 30 | let : ProperSpace P := FiniteDimensional.proper ℂ P |
| 31 | obtain ⟨r, hr, hball⟩ := nhds_basis_closedBall.mem_iff.mp (hU.mem_nhds hp) |
| 32 | obtain ⟨C, hC⟩ := ((isCompact_closedBall p r).prod isCompact_uIcc).exists_bound_of_continuousOn |
| 33 | (hD.mono (prod_mono hball Subset.rfl)) |
| 34 | have hfc (q : P) (hq : q ∈ U) : ContinuousOn (f q) (uIcc a b) := |
| 35 | hf.comp (continuous_const.prodMk continuous_id).continuousOn (fun t ht => ⟨hq, ht⟩) |
| 36 | have hdc : ContinuousOn (D p) (uIcc a b) := |
| 37 | hD.comp (continuous_const.prodMk continuous_id).continuousOn (fun t ht => ⟨hp, ht⟩) |
| 38 | apply intervalIntegral.hasFDerivAt_integral_of_dominated_of_fderiv_le |
| 39 | (F' := D) (bound := fun _ => C) (s := ball p r) (ball_mem_nhds p hr) |
| 40 | · filter_upwards [hU.mem_nhds hp] with q hq |
| 41 | exact ((hfc q hq).mono uIoc_subset_uIcc).aestronglyMeasurable measurableSet_uIoc |
| 42 | · exact (hfc p hp).intervalIntegrable |
| 43 | · exact (hdc.mono uIoc_subset_uIcc).aestronglyMeasurable measurableSet_uIoc |
| 44 | · exact Filter.Eventually.of_forall (fun t ht q hq => |
| 45 | hC (q, t) ⟨ball_subset_closedBall hq, uIoc_subset_uIcc ht⟩) |
| 46 | · exact intervalIntegrable_const |
| 47 | · exact Filter.Eventually.of_forall (fun t ht q hq => |
| 48 | hd q (hball (ball_subset_closedBall hq)) t (uIoc_subset_uIcc ht)) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.HolomorphicIntervalIntegral |