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.AlgebraicGeometry.DivisorClass.Chern.HolomorphicLine.CircleMean |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.UnitRotationBallIntegral |
| 3 | import Mathlib.MeasureTheory.Integral.Prod |
| 4 | |
| 5 | /-! # Ball Mean -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.BallMean |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual volume mean of a holomorphic function on a finite-dimensional complex norm ball. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory Set _root_.Metric Real _root_.Complex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 19 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] [MeasurableSpace E] [BorelSpace E] |
| 20 | |
| 21 | theorem holomorphic_ball_mean (f : E → ℂ) {R : ℝ} (hR : 0 < R) |
| 22 | (hf : DiffContOnCl ℂ f (ball 0 R)) : |
| 23 | (∫ x in ball (0 : E) R, f x) = ((volume : Measure E) (ball (0 : E) R)).toReal • f 0 := by |
| 24 | have hnorm (θ : ℝ) : ‖circleMap 0 1 θ‖ = 1 := by simp [circleMap] |
| 25 | have hcont : ContinuousOn (fun p : ℝ × E => f (circleMap 0 1 p.1 • p.2)) |
| 26 | (Icc (0 : ℝ) (2 * π) ×ˢ closedBall (0 : E) R) := by |
| 27 | apply hf.2.comp (((continuous_circleMap 0 1).comp continuous_fst).smul continuous_snd).continuousOn |
| 28 | intro p hp |
| 29 | rw [closure_ball (0 : E) hR.ne'] |
| 30 | change circleMap 0 1 p.1 • p.2 ∈ closedBall (0 : E) R |
| 31 | have hx := hp.2 |
| 32 | simpa only [mem_closedBall, dist_zero_right, norm_smul, hnorm, one_mul] using hx |
| 33 | have hcompact := hcont.integrableOn_compact (isCompact_Icc.prod (isCompact_closedBall (0 : E) R)) |
| 34 | (μ := (volume : Measure ℝ).prod (volume : Measure E)) |
| 35 | have hint : Integrable (Function.uncurry (fun θ : ℝ => fun x : E => f (circleMap 0 1 θ • x))) |
| 36 | ((volume.restrict (uIoc (0 : ℝ) (2 * π))).prod (volume.restrict (ball (0 : E) R))) := by |
| 37 | rw [Measure.prod_restrict] |
| 38 | apply hcompact.mono_set |
| 39 | intro p hp |
| 40 | have hθ : 0 < p.1 ∧ p.1 ≤ 2 * π := by |
| 41 | simpa only [uIoc_of_le (by positivity : (0 : ℝ) ≤ 2 * π), mem_Ioc] using hp.1 |
| 42 | exact ⟨⟨hθ.1.le, hθ.2⟩, ball_subset_closedBall hp.2⟩ |
| 43 | have hswap := intervalIntegral_integral_swap hint |
| 44 | calc |
| 45 | _ = (2 * π)⁻¹ • ∫ θ in (0 : ℝ)..(2 * π), (∫ x in ball (0 : E) R, f x) := |
| 46 | (circleAverage_const (∫ x in ball (0 : E) R, f x) 0 1).symm |
| 47 | _ = (2 * π)⁻¹ • ∫ θ in (0 : ℝ)..(2 * π), (∫ x in ball (0 : E) R, f (circleMap 0 1 θ • x)) := by |
| 48 | congr 1 |
| 49 | apply intervalIntegral.integral_congr |
| 50 | intro θ _ |
| 51 | exact (UnitRotationBallIntegral.unitScalarRotation_ball_integral (circleMap 0 1 θ) (hnorm θ) R f).symm |
| 52 | _ = (2 * π)⁻¹ • ∫ x in ball (0 : E) R, (∫ θ in (0 : ℝ)..(2 * π), f (circleMap 0 1 θ • x)) := |
| 53 | congrArg (fun a : ℂ => (2 * π)⁻¹ • a) hswap |
| 54 | _ = ∫ x in ball (0 : E) R, (2 * π)⁻¹ • (∫ θ in (0 : ℝ)..(2 * π), f (circleMap 0 1 θ • x)) := |
| 55 | (integral_smul _ _).symm |
| 56 | _ = ∫ _ in ball (0 : E) R, f 0 := by |
| 57 | apply setIntegral_congr_fun measurableSet_ball |
| 58 | intro x hx |
| 59 | exact HolomorphicLine.CircleMean.holomorphic_line_circle_mean f hf x (by simpa only [mem_ball, dist_zero_right] using hx) |
| 60 | _ = _ := by simp [Measure.real] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.BallMean |