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.InnerProductSpace.Basic |
| 2 | import Mathlib.Analysis.Normed.Operator.LinearIsometry |
| 3 | import Mathlib.MeasureTheory.Measure.Haar.NormedSpace |
| 4 | |
| 5 | /-! # Unit Rotation Ball Integral -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.UnitRotationBallIntegral |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Multiplication by an actual unit-norm complex scalar is a real linear isometry of the original coordinate space. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | variable (E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 21 | |
| 22 | def unitScalarRotation (c : ℂ) (hc : ‖c‖ = 1) : E ≃ₗᵢ[ℝ] E where |
| 23 | toFun x := c • x |
| 24 | invFun x := c⁻¹ • x |
| 25 | left_inv x := by |
| 26 | have hne : c ≠ 0 := norm_ne_zero_iff.mp (hc.trans_ne one_ne_zero) |
| 27 | change c⁻¹ • (c • x) = x |
| 28 | rw [smul_smul, inv_mul_cancel₀ hne, one_smul] |
| 29 | right_inv x := by |
| 30 | have hne : c ≠ 0 := norm_ne_zero_iff.mp (hc.trans_ne one_ne_zero) |
| 31 | change c • (c⁻¹ • x) = x |
| 32 | rw [smul_smul, mul_inv_cancel₀ hne, one_smul] |
| 33 | map_add' x y := smul_add c x y |
| 34 | map_smul' r x := smul_comm c r x |
| 35 | norm_map' x := by |
| 36 | change ‖c • x‖ = ‖x‖ |
| 37 | rw [norm_smul, hc, one_mul] |
| 38 | |
| 39 | theorem unitScalarRotation_apply (c : ℂ) (hc : ‖c‖ = 1) (x : E) : unitScalarRotation E c hc x = c • x := rfl |
| 40 | |
| 41 | end |
| 42 | |
| 43 | /-! The original volume integral over a norm ball is invariant under actual unit-scalar rotations. -/ |
| 44 | |
| 45 | open _root_.MeasureTheory Set _root_.Metric |
| 46 | set_option backward.isDefEq.respectTransparency false |
| 47 | set_option backward.isDefEq.respectTransparency.types false |
| 48 | set_option backward.defeqAttrib.useBackward true |
| 49 | |
| 50 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 51 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] [MeasurableSpace E] [BorelSpace E] |
| 52 | |
| 53 | theorem unitScalarRotation_ball_integral (c : ℂ) (hc : ‖c‖ = 1) (R : ℝ) (f : E → ℂ) : |
| 54 | (∫ x in ball (0 : E) R, f (c • x)) = ∫ x in ball (0 : E) R, f x := by |
| 55 | classical |
| 56 | let T := unitScalarRotation E c hc |
| 57 | have hmem (x : E) : T x ∈ ball (0 : E) R ↔ x ∈ ball (0 : E) R := by |
| 58 | simp only [mem_ball, dist_zero_right, T.norm_map] |
| 59 | have heq : (fun x => (ball (0 : E) R).indicator f (T x)) = |
| 60 | (ball (0 : E) R).indicator (fun x => f (c • x)) := by |
| 61 | funext x |
| 62 | by_cases hx : x ∈ ball (0 : E) R |
| 63 | · rw [indicator_of_mem ((hmem x).mpr hx), indicator_of_mem hx] |
| 64 | rfl |
| 65 | · rw [indicator_of_notMem ((hmem x).not.mpr hx), indicator_of_notMem hx] |
| 66 | have hi := MeasureTheory.integral_comp T ((ball (0 : E) R).indicator f) |
| 67 | simpa only [heq, integral_indicator measurableSet_ball] using hi |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.DivisorClass.Chern.UnitRotationBallIntegral |