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.UnitarySplitting.BilinearFourierPairing |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.QuadraticCutoffTranslations |
| 3 | |
| 4 | /-! # Gaussian Cutoff -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.GaussianCutoff.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Stable compact Gaussian cutoffs determine the Fourier transform of |
| 13 | the oscillatory Gaussian on every compact test function. -/ |
| 14 | |
| 15 | open _root_.MeasureTheory |
| 16 | |
| 17 | def HasGaussianCutoffs |
| 18 | {F V : Type} [Field F] [AddCommGroup V] [TopologicalSpace V] [MeasurableSpace V] |
| 19 | (μ : Measure V) (ψ : AddChar F ℂ) (q : V → F) (Γ : ℂ) : Prop := |
| 20 | ∀ K : Set V, IsCompact K → ∃ D : Set V, IsCompact D ∧ IsClopen D ∧ K ⊆ D ∧ |
| 21 | (∀ v ∈ K, ∀ x : V, v + x ∈ D ↔ x ∈ D) ∧ |
| 22 | (∫ x, D.indicator (fun x => ψ (q x)) x ∂μ) = Γ |
| 23 | |
| 24 | theorem gaussianCutoff_fourier_pairing_comp |
| 25 | {F V : Type} [NormedField F] [NormedAddCommGroup V] |
| 26 | [MeasurableSpace V] [BorelSpace V] [SecondCountableTopology V] |
| 27 | (ψ : AddChar F ℂ) (hc : Continuous (fun x : F => ψ x)) (hu : ∀ x : F, ‖ψ x‖ = 1) |
| 28 | (μ : Measure V) [μ.IsAddHaarMeasure] [SigmaFinite μ] |
| 29 | (q : V → F) (hq : Continuous q) (B : V → V → F) |
| 30 | (hB : Continuous (fun p : V × V => B p.1 p.2)) (hBs : ∀ x y, B x y = B y x) |
| 31 | (hadd : ∀ v x, q (v + x) = q v + q x + B v x) |
| 32 | (Γ : ℂ) (hΓ : HasGaussianCutoffs μ ψ q Γ) |
| 33 | (L : V → V) (hL : Continuous L) |
| 34 | (f : V → ℂ) (hf : Continuous f) (hfs : HasCompactSupport f) |
| 35 | (hFs : HasCompactSupport (fun x => ∫ y, ψ (B x (L y)) * f y ∂μ)) : |
| 36 | (∫ x, ψ (q x) * (∫ y, ψ (B x (L y)) * f y ∂μ) ∂μ) = |
| 37 | Γ * ∫ y, ψ (-q (L y)) * f y ∂μ := by |
| 38 | classical |
| 39 | let T : V → ℂ := fun x => ∫ y, ψ (B x (L y)) * f y ∂μ |
| 40 | obtain ⟨D, hDc, hDo, hKD, hshift, hvalue⟩ := hΓ (L '' tsupport f ∪ tsupport T) |
| 41 | ((hfs.image hL).union hFs) |
| 42 | let k := D.indicator (fun x => ψ (q x)) |
| 43 | have hkc : Continuous k := hDo.continuous_indicator (hc.comp hq) |
| 44 | have hks : HasCompactSupport k := HasCompactSupport.intro hDc |
| 45 | (fun x hx => Set.indicator_of_notMem hx _) |
| 46 | have hki : Integrable k μ := hkc.integrable_of_hasCompactSupport hks |
| 47 | have hfi : Integrable f μ := hf.integrable_of_hasCompactSupport hfs |
| 48 | have hcut : (fun x => ψ (q x) * T x) = fun x => k x * T x := by |
| 49 | funext x |
| 50 | by_cases hx : x ∈ D |
| 51 | · simp only [k, Set.indicator_of_mem hx] |
| 52 | · have htx : T x = 0 := image_eq_zero_of_notMem_tsupport |
| 53 | (fun hh => hx (hKD (Or.inr hh))) |
| 54 | rw [htx, mul_zero, mul_zero] |
| 55 | change (∫ x, ψ (q x) * T x ∂μ) = _ |
| 56 | rw [hcut, BilinearFourierPairing.Construction.bilinear_fourier_pairing ψ hc hu (fun x y => B x (L y)) |
| 57 | (hB.comp (continuous_fst.prodMk (hL.comp continuous_snd))) μ f k hf hkc hfi hki] |
| 58 | rw [← integral_const_mul] |
| 59 | apply integral_congr_ae |
| 60 | exact Filter.Eventually.of_forall fun y => by |
| 61 | dsimp only |
| 62 | by_cases hy : y ∈ tsupport f |
| 63 | · have heq : (∫ x, ψ (B x (L y)) * k x ∂μ) = ψ (-q (L y)) * Γ := by |
| 64 | calc |
| 65 | _ = ∫ x, D.indicator (fun x => ψ (q x + B (L y) x)) x ∂μ := by |
| 66 | apply integral_congr_ae |
| 67 | exact Filter.Eventually.of_forall fun x => by |
| 68 | dsimp only [k] |
| 69 | by_cases hx : x ∈ D |
| 70 | · rw [Set.indicator_of_mem hx, Set.indicator_of_mem hx, ψ.map_add_eq_mul, hBs x (L y)] |
| 71 | ring |
| 72 | · rw [Set.indicator_of_notMem hx, Set.indicator_of_notMem hx, mul_zero] |
| 73 | _ = _ := by |
| 74 | rw [QuadraticCutoffTranslations.Construction.quadratic_cutoff_complete_square μ ψ q B hadd D (L y) |
| 75 | (hshift (L y) (Or.inl ⟨y, hy, rfl⟩)), hvalue] |
| 76 | rw [heq] |
| 77 | ring |
| 78 | · rw [image_eq_zero_of_notMem_tsupport hy, zero_mul, mul_zero, mul_zero] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | section |
| 83 | |
| 84 | /-! Construction and transport of stable Gaussian cutoffs. -/ |
| 85 | |
| 86 | open _root_.MeasureTheory |
| 87 | |
| 88 | theorem anisotropic_hasGaussianCutoffs |
| 89 | {F V : Type} [NontriviallyNormedField F] [IsUltrametricDist F] [ProperSpace F] |
| 90 | [NormedAddCommGroup V] [NormedSpace F V] [ProperSpace V] [MeasurableSpace V] |
| 91 | (μ : Measure V) (ψ : AddChar F ℂ) |
| 92 | (q : V → F) (hq : Continuous q) (hp : IsProperMap q) |
| 93 | (B : V →L[F] V →L[F] F) (hadd : ∀ v x, q (v + x) = q v + q x + B v x) |
| 94 | (c : ℝ) (hc : 0 < c) (hlow : ∀ x, c * ‖x‖ ^ 2 ≤ ‖q x‖) |
| 95 | (Γ : ℂ) (R₀ : ℝ) |
| 96 | (hstable : ∀ r : ℝ, R₀ ≤ r → |
| 97 | (∫ x, (q ⁻¹' Metric.closedBall 0 r).indicator (fun x => ψ (q x)) x ∂μ) = Γ) : |
| 98 | HasGaussianCutoffs μ ψ q Γ := by |
| 99 | intro K hK |
| 100 | obtain ⟨M, -, hM⟩ := hK.isBounded.exists_pos_norm_le |
| 101 | obtain ⟨Q, -, hQ⟩ := (hK.image hq).isBounded.exists_pos_norm_le |
| 102 | obtain ⟨R, hR, hshift⟩ := QuadraticCutoffTranslations.Construction.anisotropic_quadratic_cutoff_translation q hq B hadd c hc hlow M |
| 103 | let r := max R (max R₀ Q) |
| 104 | have hRr : R ≤ r := le_max_left _ _ |
| 105 | have hr : 0 < r := hR.trans_le hRr |
| 106 | refine ⟨q ⁻¹' Metric.closedBall 0 r, |
| 107 | hp.isCompact_preimage (isCompact_closedBall (0 : F) r), |
| 108 | (IsUltrametricDist.isClopen_closedBall (0 : F) hr.ne').preimage hq, ?_, ?_, ?_⟩ |
| 109 | · intro x hx |
| 110 | change q x ∈ Metric.closedBall (0 : F) r |
| 111 | rw [Metric.mem_closedBall, dist_zero_right] |
| 112 | exact (hQ (q x) ⟨x, hx, rfl⟩).trans ((le_max_right R₀ Q).trans (le_max_right _ _)) |
| 113 | · intro v hv x |
| 114 | exact hshift r hRr v (hM v hv) x |
| 115 | · exact hstable r ((le_max_left R₀ Q).trans (le_max_right _ _)) |
| 116 | |
| 117 | theorem HasGaussianCutoffs.transport |
| 118 | {F V W : Type} [Field F] [AddCommGroup V] [AddCommGroup W] |
| 119 | [TopologicalSpace V] [TopologicalSpace W] [T2Space V] [T2Space W] |
| 120 | [MeasurableSpace V] [MeasurableSpace W] [BorelSpace V] [BorelSpace W] |
| 121 | (e : V ≃ₜ+ W) (μ : Measure V) (ψ : AddChar F ℂ) (q : W → F) (Γ : ℂ) |
| 122 | (hΓ : HasGaussianCutoffs (μ.map e) ψ q Γ) : |
| 123 | HasGaussianCutoffs μ ψ (fun x => q (e x)) Γ := by |
| 124 | intro K hK |
| 125 | obtain ⟨D, hDc, hDo, hKD, hshift, hvalue⟩ := hΓ (e '' K) (hK.image e.continuous) |
| 126 | refine ⟨e ⁻¹' D, e.toHomeomorph.isProperMap.isCompact_preimage hDc, |
| 127 | hDo.preimage e.continuous, ?_, ?_, ?_⟩ |
| 128 | · intro x hx |
| 129 | exact hKD ⟨x, hx, rfl⟩ |
| 130 | · intro v hv x |
| 131 | change e (v + x) ∈ D ↔ e x ∈ D |
| 132 | rw [map_add] |
| 133 | exact hshift (e v) ⟨v, hv, rfl⟩ (e x) |
| 134 | · have heq : (∫ x, D.indicator (fun x => ψ (q x)) x ∂μ.map e) = |
| 135 | ∫ x, D.indicator (fun x => ψ (q x)) (e x) ∂μ := |
| 136 | e.toHomeomorph.isClosedEmbedding.integral_map |
| 137 | (μ := μ) (f := D.indicator (fun x => ψ (q x))) |
| 138 | rw [← hvalue, heq] |
| 139 | apply integral_congr_ae |
| 140 | exact Filter.Eventually.of_forall fun x => by |
| 141 | dsimp only |
| 142 | by_cases hx : e x ∈ D |
| 143 | · rw [Set.indicator_of_mem hx, Set.indicator_of_mem (show x ∈ e ⁻¹' D from hx)] |
| 144 | · rw [Set.indicator_of_notMem hx, Set.indicator_of_notMem (show x ∉ e ⁻¹' D from hx)] |
| 145 | |
| 146 | end |
| 147 | |
| 148 | /-! Stable Gaussian cutoffs are preserved by finite orthogonal products. -/ |
| 149 | |
| 150 | open _root_.MeasureTheory |
| 151 | open scoped BigOperators |
| 152 | |
| 153 | theorem addChar_sum_product {F ι : Type} [Field F] (ψ : AddChar F ℂ) |
| 154 | (s : Finset ι) (f : ι → F) : ψ (∑ i ∈ s, f i) = ∏ i ∈ s, ψ (f i) := by |
| 155 | classical |
| 156 | induction s using Finset.induction_on with |
| 157 | | empty => simp only [Finset.sum_empty, Finset.prod_empty, ψ.map_zero_eq_one] |
| 158 | | @insert a s ha ih => rw [Finset.sum_insert ha, Finset.prod_insert ha, ψ.map_add_eq_mul, ih] |
| 159 | |
| 160 | theorem HasGaussianCutoffs.finite_product |
| 161 | {F V ι : Type} [Field F] [AddCommGroup V] [TopologicalSpace V] |
| 162 | [MeasurableSpace V] [Fintype ι] |
| 163 | (μ : Measure V) [SigmaFinite μ] (ψ : AddChar F ℂ) |
| 164 | (q : ι → V → F) (Γ : ι → ℂ) (hΓ : ∀ i, HasGaussianCutoffs μ ψ (q i) (Γ i)) : |
| 165 | HasGaussianCutoffs (Measure.pi (fun _ : ι => μ)) ψ |
| 166 | (fun x => ∑ i, q i (x i)) (∏ i, Γ i) := by |
| 167 | classical |
| 168 | intro K hK |
| 169 | choose D hDc hDo hKD hshift hvalue using |
| 170 | fun i : ι => hΓ i ((fun x : ι → V => x i) '' K) (hK.image (continuous_apply i)) |
| 171 | let T : Set (ι → V) := Set.univ.pi D |
| 172 | have hTc : IsCompact T := isCompact_univ_pi hDc |
| 173 | have hTo : IsClopen T := ⟨isClosed_set_pi (fun i _ => (hDo i).isClosed), |
| 174 | isOpen_set_pi Set.finite_univ (fun i _ => (hDo i).isOpen)⟩ |
| 175 | refine ⟨T, hTc, hTo, ?_, ?_, ?_⟩ |
| 176 | · intro x hx i _ |
| 177 | exact hKD i ⟨x, hx, rfl⟩ |
| 178 | · intro v hv x |
| 179 | change (∀ i ∈ Set.univ, v i + x i ∈ D i) ↔ ∀ i ∈ Set.univ, x i ∈ D i |
| 180 | exact forall₂_congr fun i _ => hshift i (v i) ⟨v, hv, rfl⟩ (x i) |
| 181 | · have heq (x : ι → V) : T.indicator (fun x => ψ (∑ i, q i (x i))) x = |
| 182 | ∏ i, (D i).indicator (fun y => ψ (q i y)) (x i) := by |
| 183 | by_cases hx : x ∈ T |
| 184 | · rw [Set.indicator_of_mem hx] |
| 185 | have hi (i : ι) : x i ∈ D i := hx i (Set.mem_univ i) |
| 186 | simp_rw [Set.indicator_of_mem (hi _)] |
| 187 | exact addChar_sum_product ψ Finset.univ (fun i => q i (x i)) |
| 188 | · rw [Set.indicator_of_notMem hx] |
| 189 | have hex : ∃ i, x i ∉ D i := by |
| 190 | by_contra hh |
| 191 | push Not at hh |
| 192 | exact hx (fun i _ => hh i) |
| 193 | obtain ⟨i, hi⟩ := hex |
| 194 | symm |
| 195 | exact Finset.prod_eq_zero (Finset.mem_univ i) (Set.indicator_of_notMem hi _) |
| 196 | simp_rw [heq] |
| 197 | rw [integral_fintype_prod_eq_prod (μ := fun _ : ι => μ)] |
| 198 | exact Finset.prod_congr rfl (fun i _ => hvalue i) |
| 199 | |
| 200 | end |
| 201 | |
| 202 | end OAI.RepresentationTheory.Weil.UnitarySplitting.GaussianCutoff.Construction |