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.CompactApproximation |
| 2 | import OAI.RepresentationTheory.Weil.Local.Limits |
| 3 | |
| 4 | /-! # Nonarchimedean Haar -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.NonarchimedeanHaar.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Plancherel for arbitrary compact indicators over a nonarchimedean local field. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory Filter |
| 15 | open scoped _root_.Topology ENNReal |
| 16 | |
| 17 | theorem fourierIntegral_sub |
| 18 | {k : Type} [NormedField k] [MeasurableSpace k] [BorelSpace k] |
| 19 | [SecondCountableTopology k] {n : ℕ} |
| 20 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 21 | (hc : Continuous (fun t => ψ t)) (μ : Measure (FunctionsMetaplectic.Construction.Position k n)) |
| 22 | {f g : FunctionsMetaplectic.Construction.Position k n → ℂ} (hf : Integrable f μ) (hg : Integrable g μ) : |
| 23 | FunctionsMetaplectic.Construction.fourierIntegral ψ μ (f - g) = FunctionsMetaplectic.Construction.fourierIntegral ψ μ f - FunctionsMetaplectic.Construction.fourierIntegral ψ μ g := by |
| 24 | have heq : f - g = f + (-1 : ℂ) • g := by ext x; simp [sub_eq_add_neg] |
| 25 | rw [heq] |
| 26 | funext x |
| 27 | rw [FunctionsMetaplectic.Construction.fourierIntegral_add ψ μ f ((-1 : ℂ) • g) x |
| 28 | (FourierTools.Construction.fourierKernel_integrable ψ hu hc μ hf x) |
| 29 | (FourierTools.Construction.fourierKernel_integrable ψ hu hc μ (hg.smul (-1)) x), FunctionsMetaplectic.Construction.fourierIntegral_smul] |
| 30 | simp [sub_eq_add_neg] |
| 31 | |
| 32 | theorem nonarchimedean_indicator_plancherel |
| 33 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] |
| 34 | [MeasurableSpace k] [BorelSpace k] |
| 35 | (hNondiscrete : ¬ DiscreteTopology k) (n : ℕ) |
| 36 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 37 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) |
| 38 | (μ : Measure (FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] : |
| 39 | ∃ c : ℝ, 0 < c ∧ |
| 40 | (∀ f : FunctionsMetaplectic.Construction.Position k n → ℂ, IsLocallyConstant f → HasCompactSupport f → ∀ x, |
| 41 | FunctionsMetaplectic.Construction.fourierIntegral ψ μ (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f) x = (c : ℂ) * f (-x)) ∧ |
| 42 | ∀ K : Set (FunctionsMetaplectic.Construction.Position k n), IsCompact K → |
| 43 | MemLp (FunctionsMetaplectic.Construction.fourierIntegral ψ μ (K.indicator (fun _ => (1 : ℂ)))) 2 μ ∧ |
| 44 | (∫ x, ‖FunctionsMetaplectic.Construction.fourierIntegral ψ μ (K.indicator (fun _ => (1 : ℂ))) x‖ ^ 2 ∂μ) = c * μ.real K := by |
| 45 | let : IsUltrametricDist k := NonarchimedeanNorm.Construction.nonarchimedean_norm_ultrametric k hNondiscrete |
| 46 | let : ProperSpace k := FunctionsMetaplectic.Construction.localField_proper k hNondiscrete |
| 47 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hNondiscrete |
| 48 | obtain ⟨c, hcpos, hspec⟩ := |
| 49 | NonarchimedeanFourier.Construction.nonarchimedean_fourier_square_and_plancherel hNondiscrete n ψ hu hc hn μ |
| 50 | refine ⟨c, hcpos, fun f hf hs => (hspec f hf hs).1, fun K hK => ?_⟩ |
| 51 | let f : FunctionsMetaplectic.Construction.Position k n → ℂ := K.indicator (fun _ => 1) |
| 52 | have hf : MemLp f 2 μ := memLp_indicator_const 2 hK.measurableSet 1 (Or.inr hK.measure_ne_top) |
| 53 | obtain ⟨L, g, hL, hKL, hgj, hpoint⟩ := CompactApproximation.Construction.compact_indicator_locallyConstant_approximation hK |
| 54 | have hgs (j : ℕ) : HasCompactSupport (g j) := |
| 55 | hL.of_isClosed_subset (isClosed_tsupport _) (hgj j).2.1 |
| 56 | have hgm (j : ℕ) : MemLp (g j) 2 μ := |
| 57 | (hgj j).1.continuous.memLp_of_hasCompactSupport (hgs j) |
| 58 | have hgi (j : ℕ) : Integrable (g j) μ := |
| 59 | (hgj j).1.continuous.integrable_of_hasCompactSupport (hgs j) |
| 60 | have hFm (j : ℕ) : MemLp (FunctionsMetaplectic.Construction.fourierIntegral ψ μ (g j)) 2 μ := |
| 61 | FunctionsMetaplectic.Construction.schwartzBruhat_memLp μ 2 (CompactCharacter.Construction.nonarchimedean_fourier_mem hNondiscrete ψ hu hc hn μ |
| 62 | ⟨g j, FunctionsMetaplectic.Construction.compact_locallyConstant_mem (hgj j).1 (hgs j)⟩) |
| 63 | have hfbound (x : FunctionsMetaplectic.Construction.Position k n) : ‖f x‖ ≤ 1 := by |
| 64 | by_cases hx : x ∈ K <;> simp [f, hx] |
| 65 | have hzero (j : ℕ) (x : FunctionsMetaplectic.Construction.Position k n) (hx : x ∉ L) : g j x = 0 := |
| 66 | image_eq_zero_of_notMem_tsupport (fun h => hx ((hgj j).2.1 h)) |
| 67 | have hflim : Tendsto (fun j => ∫ x, ‖g j x - f x‖ ^ 2 ∂μ) atTop (𝓝 0) := by |
| 68 | have hb : Integrable (L.indicator (fun _ => (4 : ℝ))) μ := |
| 69 | memLp_one_iff_integrable.mp |
| 70 | (memLp_indicator_const 1 hL.measurableSet 4 (Or.inr hL.measure_ne_top)) |
| 71 | have h := tendsto_integral_of_dominated_convergence (f := fun _ => (0 : ℝ)) |
| 72 | (L.indicator (fun _ => (4 : ℝ))) |
| 73 | (fun j => ((hgm j).aestronglyMeasurable.sub hf.aestronglyMeasurable).norm.pow 2) hb |
| 74 | (fun j => Eventually.of_forall fun x => ?_) (Eventually.of_forall fun x => ?_) |
| 75 | · simpa using h |
| 76 | · change ‖‖g j x - f x‖ ^ 2‖ ≤ L.indicator (fun _ => (4 : ℝ)) x |
| 77 | by_cases hx : x ∈ L |
| 78 | · rw [Set.indicator_of_mem hx, Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)] |
| 79 | have hb' : ‖g j x - f x‖ ≤ 2 := (norm_sub_le _ _).trans |
| 80 | (by linarith [(hgj j).2.2 x, hfbound x]) |
| 81 | nlinarith [norm_nonneg (g j x - f x)] |
| 82 | · have hxK : x ∉ K := fun h => hx (hKL h) |
| 83 | simp [hzero j x hx, f, hxK, hx] |
| 84 | · have h := ((hpoint x).sub_const (f x)).norm.pow 2 |
| 85 | simpa [f] using h |
| 86 | have hFpoint (x : FunctionsMetaplectic.Construction.Position k n) : Tendsto (fun j => FunctionsMetaplectic.Construction.fourierIntegral ψ μ (g j) x) |
| 87 | atTop (𝓝 (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f x)) := by |
| 88 | have hb : Integrable (L.indicator (fun _ => (1 : ℝ))) μ := |
| 89 | memLp_one_iff_integrable.mp |
| 90 | (memLp_indicator_const 1 hL.measurableSet 1 (Or.inr hL.measure_ne_top)) |
| 91 | apply tendsto_integral_of_dominated_convergence (L.indicator (fun _ => (1 : ℝ))) |
| 92 | (fun j => (FourierTools.Construction.fourierKernel_integrable ψ hu hc μ (hgi j) x).aestronglyMeasurable) hb |
| 93 | · intro j |
| 94 | exact Eventually.of_forall fun y => by |
| 95 | by_cases hy : y ∈ L |
| 96 | · simpa [hy, norm_mul, hu] using (hgj j).2.2 y |
| 97 | · simp [hzero j y hy, hy] |
| 98 | · exact Eventually.of_forall fun y => (hpoint y).mul_const (ψ (-FunctionsMetaplectic.Construction.dot x y)) |
| 99 | have hnorm (j : ℕ) : (∫ x, ‖FunctionsMetaplectic.Construction.fourierIntegral ψ μ (g j) x‖ ^ 2 ∂μ) = |
| 100 | c * ∫ x, ‖g j x‖ ^ 2 ∂μ := (hspec (g j) (hgj j).1 (hgs j)).2 |
| 101 | have hdiff (j l : ℕ) : (∫ x, ‖FunctionsMetaplectic.Construction.fourierIntegral ψ μ (g j) x - |
| 102 | FunctionsMetaplectic.Construction.fourierIntegral ψ μ (g l) x‖ ^ 2 ∂μ) = c * ∫ x, ‖g j x - g l x‖ ^ 2 ∂μ := by |
| 103 | have heq := fourierIntegral_sub ψ hu hc μ (hgi j) (hgi l) |
| 104 | have h := (hspec (g j - g l) ((hgj j).1.sub (hgj l).1) ((hgs j).sub (hgs l))).2 |
| 105 | rw [heq] at h |
| 106 | exact h |
| 107 | obtain ⟨hF, heq⟩ := Limits.Construction.plancherel_pass_to_limit μ hgm hFm hf hflim hFpoint c hcpos hnorm hdiff |
| 108 | refine ⟨hF, heq.trans ?_⟩ |
| 109 | congr 1 |
| 110 | have hnormf : (fun x => ‖f x‖ ^ 2) = K.indicator (fun _ => (1 : ℝ)) := by |
| 111 | funext x |
| 112 | by_cases hx : x ∈ K <;> simp [f, hx] |
| 113 | rw [hnormf] |
| 114 | exact integral_indicator_one hK.measurableSet |
| 115 | |
| 116 | end |
| 117 | |
| 118 | /-! Positivity of the exact reference-set normalization at a nonarchimedean place. -/ |
| 119 | |
| 120 | open _root_.MeasureTheory |
| 121 | |
| 122 | theorem integral_singleton_position |
| 123 | {k : Type} {E : Type*} [MeasurableSpace k] [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 124 | (μ : Measure k) (f : k → E) : |
| 125 | (∫ x : FunctionsMetaplectic.Construction.Position k 1, f (x 0) ∂(Measure.pi (fun _ : Fin 1 => μ))) = ∫ x, f x ∂μ := by |
| 126 | exact (measurePreserving_funUnique μ (Fin 1)).integral_comp' f |
| 127 | |
| 128 | theorem fourierIntegral_singleton_position |
| 129 | {k : Type} [NormedField k] [MeasurableSpace k] |
| 130 | (ψ : AddChar k ℂ) (μ : Measure k) (f : k → ℂ) (x : FunctionsMetaplectic.Construction.Position k 1) : |
| 131 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin 1 => μ)) (fun y => f (y 0)) x = |
| 132 | ∫ y, f y * ψ (-(x 0 * y)) ∂μ := by |
| 133 | unfold FunctionsMetaplectic.Construction.fourierIntegral |
| 134 | simp only [FunctionsMetaplectic.Construction.dot, Fin.sum_univ_one] |
| 135 | exact integral_singleton_position μ (fun y => f y * ψ (-(x 0 * y))) |
| 136 | |
| 137 | theorem nonarchimedean_reference_scale |
| 138 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] |
| 139 | [MeasurableSpace k] [BorelSpace k] |
| 140 | (hNondiscrete : ¬ DiscreteTopology k) |
| 141 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 142 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) : |
| 143 | 0 < FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ ∧ |
| 144 | ∀ f : FunctionsMetaplectic.Construction.Position k 1 → ℂ, IsLocallyConstant f → HasCompactSupport f → ∀ x, |
| 145 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin 1 => (Measure.addHaar : Measure k))) |
| 146 | (FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin 1 => (Measure.addHaar : Measure k))) f) x = |
| 147 | (FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ : ℂ) * f (-x) := by |
| 148 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hNondiscrete |
| 149 | let μ : Measure k := Measure.addHaar |
| 150 | let μ₁ : Measure (FunctionsMetaplectic.Construction.Position k 1) := Measure.pi (fun _ : Fin 1 => μ) |
| 151 | let : μ₁.IsAddHaarMeasure := by dsimp [μ₁, μ]; infer_instance |
| 152 | obtain ⟨c, hcpos, hsquare, hplan⟩ := |
| 153 | nonarchimedean_indicator_plancherel hNondiscrete 1 ψ hu hc hn μ₁ |
| 154 | let K : Set k := FunctionsMetaplectic.Construction.referenceCompact k |
| 155 | let K₁ : Set (FunctionsMetaplectic.Construction.Position k 1) := (fun x => x 0) ⁻¹' K |
| 156 | have hK : IsCompact K := (FunctionsMetaplectic.Construction.referenceCompact k).isCompact |
| 157 | have hK₁ : IsCompact K₁ := (Homeomorph.funUnique (Fin 1) k).isCompact_preimage.mpr hK |
| 158 | have hμK : 0 < μ.real K := ENNReal.toReal_pos |
| 159 | (Measure.measure_pos_of_nonempty_interior μ (FunctionsMetaplectic.Construction.referenceCompact k).interior_nonempty).ne' |
| 160 | hK.measure_ne_top |
| 161 | have hvol : μ₁.real K₁ = μ.real K := by |
| 162 | apply congrArg ENNReal.toReal |
| 163 | exact (measurePreserving_funUnique μ (Fin 1)).measure_preimage hK.measurableSet.nullMeasurableSet |
| 164 | have hF (x : FunctionsMetaplectic.Construction.Position k 1) : |
| 165 | FunctionsMetaplectic.Construction.fourierIntegral ψ μ₁ (K₁.indicator (fun _ => (1 : ℂ))) x = FunctionsMetaplectic.Construction.referenceFourier k ψ (x 0) := by |
| 166 | have hi : K₁.indicator (fun _ => (1 : ℂ)) = fun y => K.indicator (fun _ => (1 : ℂ)) (y 0) := by |
| 167 | funext y |
| 168 | by_cases hy : y 0 ∈ K <;> simp [K₁, hy] |
| 169 | rw [hi, fourierIntegral_singleton_position, FunctionsMetaplectic.Construction.referenceFourier, ← integral_indicator hK.measurableSet] |
| 170 | apply integral_congr_ae |
| 171 | exact Filter.Eventually.of_forall fun y => by |
| 172 | by_cases hy : y ∈ K <;> simp [hy, K] |
| 173 | have henergy := (hplan K₁ hK₁).2 |
| 174 | simp_rw [hF] at henergy |
| 175 | change (∫ x : FunctionsMetaplectic.Construction.Position k 1, ‖FunctionsMetaplectic.Construction.referenceFourier k ψ (x 0)‖ ^ 2 |
| 176 | ∂(Measure.pi (fun _ : Fin 1 => μ))) = c * μ₁.real K₁ at henergy |
| 177 | rw [integral_singleton_position μ (fun t => ‖FunctionsMetaplectic.Construction.referenceFourier k ψ t‖ ^ 2), hvol] at henergy |
| 178 | have hscale : FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ = c := by |
| 179 | unfold FunctionsMetaplectic.Construction.fourierHaarScaleSquared |
| 180 | change (∫ ξ, ‖FunctionsMetaplectic.Construction.referenceFourier k ψ ξ‖ ^ 2 ∂μ) / μ.real K = c |
| 181 | rw [henergy, mul_div_cancel_right₀ c hμK.ne'] |
| 182 | exact ⟨hscale.symm ▸ hcpos, hscale.symm ▸ hsquare⟩ |
| 183 | |
| 184 | theorem nonarchimedean_selfDualMeasure_isAddHaarMeasure |
| 185 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] |
| 186 | [MeasurableSpace k] [BorelSpace k] |
| 187 | (hNondiscrete : ¬ DiscreteTopology k) |
| 188 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 189 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) : |
| 190 | (FunctionsMetaplectic.Construction.selfDualMeasure k ψ).IsAddHaarMeasure := |
| 191 | FourierTools.Construction.selfDualMeasure_isAddHaarMeasure_of_scale_pos k ψ |
| 192 | (nonarchimedean_reference_scale hNondiscrete ψ hu hc hn).1 |
| 193 | |
| 194 | end |
| 195 | |
| 196 | end OAI.RepresentationTheory.Weil.Local.NonarchimedeanHaar.Construction |