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.GaussianNonarchimedean |
| 2 | |
| 3 | /-! # General Gaussian Magnitude -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.GeneralGaussianMagnitude.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Scalar substitution in the reference Haar integral. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory |
| 14 | |
| 15 | theorem integral_div_unit |
| 16 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 17 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] |
| 18 | (μ : Measure k) [μ.IsAddHaarMeasure] (a : kˣ) (f : k → ℂ) : |
| 19 | (∫ x, f (x / a.val) ∂μ) = (FunctionsMetaplectic.Construction.localModulus k a : ℝ) • ∫ x, f x ∂μ := by |
| 20 | calc |
| 21 | _ = ∫ x, f x ∂(DomMulAct.mk a • μ) := by |
| 22 | rw [integral_domSMul] |
| 23 | apply integral_congr_ae |
| 24 | exact Filter.Eventually.of_forall fun x => by |
| 25 | change f (x / a.val) = f ((a⁻¹).val * x) |
| 26 | simp only [Units.val_inv_eq_inv_val, div_eq_mul_inv, mul_comm] |
| 27 | _ = _ := by |
| 28 | rw [Measure.isAddLeftInvariant_eq_smul_of_regular (DomMulAct.mk a • μ) μ, |
| 29 | integral_smul_nnreal_measure, addHaarScalarFactor_smul_eq_distribHaarChar μ a] |
| 30 | rfl |
| 31 | |
| 32 | end |
| 33 | |
| 34 | /-! The magnitude of every nonzero local Gaussian coefficient. -/ |
| 35 | |
| 36 | open _root_.MeasureTheory |
| 37 | open scoped Classical ComplexConjugate |
| 38 | |
| 39 | theorem compactGaussian_modulus_norm_sq |
| 40 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 41 | [MeasurableSpace k] [BorelSpace k] |
| 42 | (hNondiscrete : ¬ DiscreteTopology k) |
| 43 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 44 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) |
| 45 | (a : kˣ) (U V : OpenAddSubgroup k) (hU : IsCompact (U : Set k)) (hVU : V ≤ U) |
| 46 | (hphase : ∀ t ∈ V, ψ (a.val * t ^ 2 / 2) = 1) |
| 47 | (hdual : ∀ y, y ∈ U ↔ a.val * y ∈ QuadraticFourier.Construction.scalarAnnihilator ψ V.toAddSubgroup) : |
| 48 | FunctionsMetaplectic.Construction.localModulus k a * ‖∫ y in (U : Set k), ψ (a.val * y ^ 2 / 2) |
| 49 | ∂(Measure.addHaar : Measure k)‖ ^ 2 = FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ := by |
| 50 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hNondiscrete |
| 51 | let G := ∫ y in (U : Set k), ψ (a.val * y ^ 2 / 2) ∂(Measure.addHaar : Measure k) |
| 52 | let q := QuadraticFourier.Construction.compactQuadraticFunction ψ U a.val |
| 53 | have hF : FourierTensor.Construction.scalarFourierIntegral ψ Measure.addHaar q = fun x => G * conj (q (x / a.val)) := by |
| 54 | funext x |
| 55 | rw [GaussianNonarchimedean.Construction.scalarFourier_compactQuadratic_full ψ a.val a.ne_zero U V hVU hphase hdual] |
| 56 | congr 1 |
| 57 | by_cases hx : x / a.val ∈ U |
| 58 | · simp only [q, QuadraticFourier.Construction.compactQuadraticFunction, Set.indicator_of_mem hx] |
| 59 | rw [← GaussianNonarchimedean.Construction.unitary_character_neg ψ hu] |
| 60 | congr 1 |
| 61 | ring |
| 62 | · simp [q, QuadraticFourier.Construction.compactQuadraticFunction, hx] |
| 63 | have hFF := FourierTensor.Construction.scalarFourier_square_reference hNondiscrete ψ hu hc hn |
| 64 | (GaussianCompact.Construction.compactQuadratic_locallyConstant ψ hu hc U a.val) (GaussianCompact.Construction.compactQuadratic_compactSupport ψ U hU a.val) 0 |
| 65 | change FourierTensor.Construction.scalarFourierIntegral ψ Measure.addHaar (FourierTensor.Construction.scalarFourierIntegral ψ Measure.addHaar q) 0 = |
| 66 | (FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ : ℂ) * q (-0) at hFF |
| 67 | rw [hF, FourierTensor.Construction.scalarFourierIntegral] at hFF |
| 68 | simp only [zero_mul, neg_zero, ψ.map_zero_eq_one, mul_one] at hFF |
| 69 | have hq0 : q 0 = 1 := by simp [q, QuadraticFourier.Construction.compactQuadraticFunction] |
| 70 | have hqi : (∫ x, q x ∂(Measure.addHaar : Measure k)) = G := integral_indicator U.isOpen.measurableSet |
| 71 | rw [integral_const_mul, integral_div_unit Measure.addHaar a (fun x => conj (q x)), |
| 72 | integral_conj, hqi, hq0, mul_one, Complex.real_smul] at hFF |
| 73 | have heq : (FunctionsMetaplectic.Construction.localModulus k a : ℂ) * (G * conj G) = (FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ : ℂ) := by |
| 74 | calc |
| 75 | _ = G * ((FunctionsMetaplectic.Construction.localModulus k a : ℂ) * conj G) := by ring |
| 76 | _ = _ := hFF |
| 77 | rw [Complex.mul_conj, Complex.normSq_eq_norm_sq, ← Complex.ofReal_mul] at heq |
| 78 | exact_mod_cast heq |
| 79 | |
| 80 | theorem nonarchimedean_gaussianIntegral_modulus_norm_sq |
| 81 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 82 | [MeasurableSpace k] [BorelSpace k] |
| 83 | (hNondiscrete : ¬ DiscreteTopology k) |
| 84 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 85 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) (a : kˣ) : |
| 86 | FunctionsMetaplectic.Construction.localModulus k a * ‖FunctionsMetaplectic.Construction.gaussianIntegral k ψ a.val‖ ^ 2 = FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ := by |
| 87 | obtain ⟨U, V, hU, hV, hVU, hphase, hdual, hradial, _⟩ := |
| 88 | GaussianCompact.Construction.exists_compactGaussian_domain hNondiscrete ψ hu hc hn a.val a.ne_zero |
| 89 | have hlim := GaussianCompact.Construction.regularizedGaussian_tendsto_compact_of_domain hNondiscrete ψ hu hc a.val |
| 90 | U V hU hV hVU hphase hdual hradial |
| 91 | have heq : FunctionsMetaplectic.Construction.gaussianIntegral k ψ a.val = |
| 92 | ∫ y in (U : Set k), ψ (a.val * y ^ 2 / 2) ∂(Measure.addHaar : Measure k) := hlim.limUnder_eq |
| 93 | rw [heq] |
| 94 | exact compactGaussian_modulus_norm_sq hNondiscrete ψ hu hc hn a U V hU hVU hphase hdual |
| 95 | |
| 96 | theorem nonarchimedean_gaussianIntegral_norm |
| 97 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 98 | [MeasurableSpace k] [BorelSpace k] |
| 99 | (hNondiscrete : ¬ DiscreteTopology k) |
| 100 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 101 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) (a : kˣ) : |
| 102 | ‖FunctionsMetaplectic.Construction.gaussianIntegral k ψ a.val‖ = |
| 103 | Real.sqrt (FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ) / Real.sqrt (FunctionsMetaplectic.Construction.localModulus k a) := by |
| 104 | have h := nonarchimedean_gaussianIntegral_modulus_norm_sq hNondiscrete ψ hu hc hn a |
| 105 | have hp := FunctionsMetaplectic.Construction.localModulus_pos k a |
| 106 | have hs : ‖FunctionsMetaplectic.Construction.gaussianIntegral k ψ a.val‖ ^ 2 = FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ / FunctionsMetaplectic.Construction.localModulus k a := by |
| 107 | apply (eq_div_iff hp.ne').mpr |
| 108 | simpa only [mul_comm] using h |
| 109 | rw [← Real.sqrt_div (le_of_lt (NonarchimedeanHaar.Construction.nonarchimedean_reference_scale hNondiscrete ψ hu hc hn).1), |
| 110 | ← hs, Real.sqrt_sq (norm_nonneg _)] |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.RepresentationTheory.Weil.Local.GeneralGaussianMagnitude.Construction |