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.RepresentationTheory.Weil.Local.PlanarRadialCompact |
| 2 | import Mathlib.Analysis.SpecialFunctions.PolarCoord |
| 3 | |
| 4 | /-! # Planar Radial Integral -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.PlanarRadialIntegral.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reduction of radial planar integrals to integrals in the squared radius. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory Measure Set Real |
| 13 | |
| 14 | theorem planarRadiusSquared_polar (p : ℝ × ℝ) : |
| 15 | PlanarRadialCompact.Construction.planarRadiusSquared (polarCoord.symm p) = p.1 ^ 2 := by |
| 16 | change (p.1 * Real.cos p.2) ^ 2 + (p.1 * Real.sin p.2) ^ 2 = p.1 ^ 2 |
| 17 | calc |
| 18 | _ = p.1 ^ 2 * (Real.cos p.2 ^ 2 + Real.sin p.2 ^ 2) := by ring |
| 19 | _ = _ := by rw [Real.cos_sq_add_sin_sq, mul_one] |
| 20 | |
| 21 | theorem planarRadial_integral (F : ℝ → ℂ) : |
| 22 | (∫ z, PlanarRadialCompact.Construction.planarRadial F z) = (Real.pi : ℂ) * ∫ t in Ioi (0 : ℝ), F t := by |
| 23 | have hsub : (2 : ℂ) * (∫ r in Ioi (0 : ℝ), (r : ℂ) * F (r ^ 2)) = |
| 24 | ∫ t in Ioi (0 : ℝ), F t := by |
| 25 | have ht := integral_comp_rpow_Ioi_of_pos (g := F) (p := 2) (by norm_num) |
| 26 | norm_num only [show (2 : ℝ) - 1 = 1 by norm_num, Real.rpow_one, Real.rpow_two] at ht |
| 27 | rw [← integral_const_mul] |
| 28 | convert! ht using 1 |
| 29 | apply integral_congr_ae |
| 30 | exact Filter.Eventually.of_forall fun r => by simp [Complex.real_smul, mul_assoc] |
| 31 | calc |
| 32 | _ = ∫ p in Ioi (0 : ℝ) ×ˢ Ioo (-Real.pi) Real.pi, (p.1 : ℂ) * F (p.1 ^ 2) := by |
| 33 | rw [← integral_comp_polarCoord_symm, polarCoord_target] |
| 34 | simp only [PlanarRadialCompact.Construction.planarRadial, planarRadiusSquared_polar, Complex.real_smul] |
| 35 | _ = (∫ r in Ioi (0 : ℝ), (r : ℂ) * F (r ^ 2)) * |
| 36 | ∫ _ in Ioo (-Real.pi) Real.pi, (1 : ℂ) := by |
| 37 | rw [← setIntegral_prod_mul, volume_eq_prod] |
| 38 | simp only [mul_one] |
| 39 | _ = (∫ r in Ioi (0 : ℝ), (r : ℂ) * F (r ^ 2)) * (2 * Real.pi) := by |
| 40 | congr 1 |
| 41 | simp only [integral_const, measureReal_restrict_apply MeasurableSet.univ, Set.univ_inter, |
| 42 | volume_real_Ioo_of_le (by linarith [Real.pi_pos] : -Real.pi ≤ Real.pi), |
| 43 | sub_neg_eq_add, ← two_mul, Complex.real_smul, mul_one, Complex.ofReal_mul, |
| 44 | Complex.ofReal_ofNat] |
| 45 | _ = (Real.pi : ℂ) * ∫ t in Ioi (0 : ℝ), F t := by rw [← hsub]; ring |
| 46 | |
| 47 | theorem planarRadial_integrable (F : ℝ → ℂ) (hF : IntegrableOn F (Ioi (0 : ℝ))) : |
| 48 | Integrable (PlanarRadialCompact.Construction.planarRadial F) := by |
| 49 | have hr : IntegrableOn (fun r : ℝ => (r : ℂ) * F (r ^ 2)) (Ioi (0 : ℝ)) := by |
| 50 | have h := (integrableOn_Ioi_comp_rpow_iff' F (p := 2) (by norm_num)).mpr hF |
| 51 | norm_num only [show (2 : ℝ) - 1 = 1 by norm_num, Real.rpow_one, Real.rpow_two, |
| 52 | Complex.real_smul] at h |
| 53 | exact h |
| 54 | have h1 : IntegrableOn (fun _ : ℝ => (1 : ℂ)) (Ioo (-Real.pi) Real.pi) := |
| 55 | integrableOn_const (by rw [Real.volume_Ioo]; exact ENNReal.ofReal_ne_top) |
| 56 | have hprod := hr.mul_prod h1 |
| 57 | rw [Measure.prod_restrict] at hprod |
| 58 | change IntegrableOn (fun p : ℝ × ℝ => (p.1 : ℂ) * F (p.1 ^ 2) * 1) |
| 59 | (Ioi (0 : ℝ) ×ˢ Ioo (-Real.pi) Real.pi) at hprod |
| 60 | have hpolar : IntegrableOn (fun p : ℝ × ℝ => |p.1| • PlanarRadialCompact.Construction.planarRadial F (polarCoord.symm p)) |
| 61 | polarCoord.target := by |
| 62 | apply hprod.congr_fun _ polarCoord.open_target.measurableSet |
| 63 | intro p hp |
| 64 | dsimp only |
| 65 | rw [PlanarRadialCompact.Construction.planarRadial, planarRadiusSquared_polar, abs_of_pos (show 0 < p.1 from hp.1), |
| 66 | Complex.real_smul, mul_one] |
| 67 | have hJ := integrableOn_image_iff_integrableOn_abs_det_fderiv_smul (μ := volume) |
| 68 | polarCoord.open_target.measurableSet |
| 69 | (fun p _ => (hasFDerivAt_polarCoord_symm p).hasFDerivWithinAt) |
| 70 | polarCoord.symm.injOn (PlanarRadialCompact.Construction.planarRadial F) |
| 71 | rw [polarCoord.symm_image_target_eq_source] at hJ |
| 72 | simp only [det_fderivPolarCoordSymm] at hJ |
| 73 | have hsource := hJ.mpr hpolar |
| 74 | have hglobal := (integrableOn_congr_set_ae polarCoord_source_ae_eq_univ).mp hsource |
| 75 | simpa only [integrableOn_univ] using hglobal |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.RepresentationTheory.Weil.Local.PlanarRadialIntegral.Construction |