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.MeasureTheory.Measure.Haar.NormedSpace |
| 2 | import Mathlib.MeasureTheory.Integral.Bochner.Set |
| 3 | import Mathlib.MeasureTheory.Group.Integral |
| 4 | |
| 5 | /-! # Translate Ball Integral -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.TranslateBallIntegral |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Translation of an actual coordinate-ball integral to its center. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory _root_.Metric Set |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | theorem translate_ball_integral {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 19 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 20 | [NormedAddCommGroup F] [NormedSpace ℝ F] (x : E) (R : ℝ) (f : E → F) : |
| 21 | (∫ z in ball (0 : E) R, f (x + z)) = ∫ z in ball x R, f z := by |
| 22 | have hi : (fun z => (ball x R).indicator f (x + z)) = |
| 23 | (ball (0 : E) R).indicator (fun z => f (x + z)) := by |
| 24 | funext z |
| 25 | have hz : x + z ∈ ball x R ↔ z ∈ ball (0 : E) R := by |
| 26 | simp only [mem_ball, dist_eq_norm, add_sub_cancel_left, sub_zero] |
| 27 | by_cases hm : z ∈ ball (0 : E) R |
| 28 | · rw [indicator_of_mem (hz.mpr hm), indicator_of_mem hm] |
| 29 | · rw [indicator_of_notMem (fun h => hm (hz.mp h)), indicator_of_notMem hm] |
| 30 | calc |
| 31 | _ = ∫ z, (ball (0 : E) R).indicator (fun z => f (x + z)) z := (integral_indicator measurableSet_ball).symm |
| 32 | _ = ∫ z, (ball x R).indicator f (x + z) := congrArg (fun g : E → F => ∫ z, g z) hi.symm |
| 33 | _ = ∫ z, (ball x R).indicator f z := integral_add_left_eq_self _ x |
| 34 | _ = _ := integral_indicator measurableSet_ball |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.DivisorClass.Chern.TranslateBallIntegral |