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.AdelicSplitting.NonarchimedeanIntertwiner |
| 2 | |
| 3 | /-! # Compact Character -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.CompactCharacter.LocalAnalysis |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Character orthogonality on additive subgroups for local Fourier inversion. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem integral_character_subgroup |
| 17 | {E : Type*} [NormedAddCommGroup E] [MeasurableSpace E] [BorelSpace E] |
| 18 | [SecondCountableTopology E] |
| 19 | (μ : Measure E) [μ.IsAddHaarMeasure] (U : OpenAddSubgroup E) |
| 20 | (χ : AddChar E ℂ) : |
| 21 | (∫ x in (U : Set E), χ x ∂μ) = |
| 22 | if ∀ x ∈ U, χ x = 1 then (μ.real (U : Set E) : ℂ) else 0 := by |
| 23 | by_cases hχ : ∀ x ∈ U, χ x = 1 |
| 24 | · rw [ite_eq_left hχ] |
| 25 | calc |
| 26 | _ = ∫ _ in (U : Set E), (1 : ℂ) ∂μ := |
| 27 | setIntegral_congr_fun U.isOpen.measurableSet (fun x hx => hχ x hx) |
| 28 | _ = _ := by simp |
| 29 | · rw [ite_eq_right hχ] |
| 30 | push Not at hχ |
| 31 | obtain ⟨a, ha, hχa⟩ := hχ |
| 32 | let f : E → ℂ := (U : Set E).indicator (fun x => χ x) |
| 33 | have hfun : (fun x => f (x + a)) = fun x => χ a * f x := by |
| 34 | funext x |
| 35 | have hmem : x + a ∈ U ↔ x ∈ U := U.add_mem_cancel_right ha |
| 36 | by_cases hx : x ∈ U |
| 37 | · simp [f, hx, hmem.mpr hx, χ.map_add_eq_mul, mul_comm] |
| 38 | · simp [f, hx, show x + a ∉ U from fun h => hx (hmem.mp h)] |
| 39 | have h := integral_add_right_eq_self (μ := μ) f a |
| 40 | rw [hfun, integral_const_mul] at h |
| 41 | have hf : (∫ x, f x ∂μ) = 0 := by |
| 42 | by_contra hne |
| 43 | apply hχa |
| 44 | apply mul_right_cancel₀ hne |
| 45 | simpa using h |
| 46 | simpa only [f, integral_indicator U.isOpen.measurableSet] using hf |
| 47 | |
| 48 | def additiveAnnihilator |
| 49 | {k : Type} [Field k] {n : ℕ} (ψ : AddChar k ℂ) (U : AddSubgroup (Local.FunctionsMetaplectic.Construction.Position k n)) : |
| 50 | AddSubgroup (Local.FunctionsMetaplectic.Construction.Position k n) where |
| 51 | carrier := {x | ∀ y ∈ U, ψ (Local.FunctionsMetaplectic.Construction.dot x y) = 1} |
| 52 | zero_mem' := by simp [Local.FunctionsMetaplectic.Construction.dot] |
| 53 | add_mem' {x z} hx hz y hy := by |
| 54 | have hdot : Local.FunctionsMetaplectic.Construction.dot (x + z) y = Local.FunctionsMetaplectic.Construction.dot x y + Local.FunctionsMetaplectic.Construction.dot z y := by |
| 55 | simp [Local.FunctionsMetaplectic.Construction.dot, Pi.add_apply, add_mul, Finset.sum_add_distrib] |
| 56 | rw [hdot, ψ.map_add_eq_mul, hx y hy, hz y hy, one_mul] |
| 57 | neg_mem' {x} hx y hy := by |
| 58 | have hdot : Local.FunctionsMetaplectic.Construction.dot (-x) y = -Local.FunctionsMetaplectic.Construction.dot x y := by simp [Local.FunctionsMetaplectic.Construction.dot, Finset.sum_neg_distrib] |
| 59 | rw [hdot, ψ.map_neg_eq_inv, hx y hy, inv_one] |
| 60 | |
| 61 | theorem integral_pairing_subgroup |
| 62 | {k : Type} [NormedField k] [MeasurableSpace k] [BorelSpace k] |
| 63 | [SecondCountableTopology k] {n : ℕ} |
| 64 | (ψ : AddChar k ℂ) (μ : Measure (Local.FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] |
| 65 | (U : OpenAddSubgroup (Local.FunctionsMetaplectic.Construction.Position k n)) (x : Local.FunctionsMetaplectic.Construction.Position k n) : |
| 66 | (∫ y in (U : Set (Local.FunctionsMetaplectic.Construction.Position k n)), ψ (Local.FunctionsMetaplectic.Construction.dot x y) ∂μ) = |
| 67 | if x ∈ additiveAnnihilator ψ U.toAddSubgroup then (μ.real (U : Set (Local.FunctionsMetaplectic.Construction.Position k n)) : ℂ) else 0 := by |
| 68 | let χ : AddChar (Local.FunctionsMetaplectic.Construction.Position k n) ℂ := |
| 69 | ψ.compAddMonoidHom (dotProductBilin k k x).toAddMonoidHom |
| 70 | exact integral_character_subgroup μ U χ |
| 71 | |
| 72 | theorem fourier_indicator_subgroup |
| 73 | {k : Type} [NormedField k] [MeasurableSpace k] [BorelSpace k] |
| 74 | [SecondCountableTopology k] {n : ℕ} |
| 75 | (ψ : AddChar k ℂ) (μ : Measure (Local.FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] |
| 76 | (U : OpenAddSubgroup (Local.FunctionsMetaplectic.Construction.Position k n)) (x : Local.FunctionsMetaplectic.Construction.Position k n) : |
| 77 | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ μ ((U : Set (Local.FunctionsMetaplectic.Construction.Position k n)).indicator (fun _ => (1 : ℂ))) x = |
| 78 | if x ∈ additiveAnnihilator ψ U.toAddSubgroup then (μ.real (U : Set (Local.FunctionsMetaplectic.Construction.Position k n)) : ℂ) else 0 := by |
| 79 | unfold Local.FunctionsMetaplectic.Construction.fourierIntegral |
| 80 | have heq : (fun y => (U : Set (Local.FunctionsMetaplectic.Construction.Position k n)).indicator (fun _ => (1 : ℂ)) y * ψ (-Local.FunctionsMetaplectic.Construction.dot x y)) = |
| 81 | (U : Set (Local.FunctionsMetaplectic.Construction.Position k n)).indicator (fun y => ψ (Local.FunctionsMetaplectic.Construction.dot (-x) y)) := by |
| 82 | funext y |
| 83 | by_cases hy : y ∈ U <;> simp [hy, Local.FunctionsMetaplectic.Construction.dot, Finset.sum_neg_distrib] |
| 84 | rw [heq, integral_indicator U.isOpen.measurableSet, integral_pairing_subgroup] |
| 85 | simp only [neg_mem_iff] |
| 86 | |
| 87 | theorem subgroup_indicator_locallyConstant |
| 88 | {E : Type*} [TopologicalSpace E] [AddGroup E] [IsTopologicalAddGroup E] |
| 89 | (U : OpenAddSubgroup E) : |
| 90 | IsLocallyConstant ((U : Set E).indicator (fun _ => (1 : ℂ))) := by |
| 91 | have h := (LocallyConstant.charFn ℂ |
| 92 | (show IsClopen (U : Set E) from ⟨U.isClosed, U.isOpen⟩)).isLocallyConstant |
| 93 | change IsLocallyConstant ((U : Set E).indicator (1 : E → ℂ)) at h |
| 94 | convert! h using 1 |
| 95 | |
| 96 | theorem subgroup_indicator_compactSupport |
| 97 | {E : Type*} [TopologicalSpace E] [AddGroup E] [IsTopologicalAddGroup E] [T2Space E] |
| 98 | (U : OpenAddSubgroup E) (hU : IsCompact (U : Set E)) : |
| 99 | HasCompactSupport ((U : Set E).indicator (fun _ => (1 : ℂ))) := by |
| 100 | apply HasCompactSupport.intro hU |
| 101 | intro x hx |
| 102 | simp [hx] |
| 103 | |
| 104 | theorem additiveAnnihilator_compact_open |
| 105 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 106 | [MeasurableSpace k] [BorelSpace k] [NonarchimedeanAddGroup k] |
| 107 | [ProperSpace k] [SecondCountableTopology k] {n : ℕ} |
| 108 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 109 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) |
| 110 | (μ : Measure (Local.FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] |
| 111 | (U : OpenAddSubgroup (Local.FunctionsMetaplectic.Construction.Position k n)) (hU : IsCompact (U : Set (Local.FunctionsMetaplectic.Construction.Position k n))) : |
| 112 | IsCompact (additiveAnnihilator ψ U.toAddSubgroup : Set (Local.FunctionsMetaplectic.Construction.Position k n)) ∧ |
| 113 | IsOpen (additiveAnnihilator ψ U.toAddSubgroup : Set (Local.FunctionsMetaplectic.Construction.Position k n)) := by |
| 114 | let f : Local.FunctionsMetaplectic.Construction.Position k n → ℂ := (U : Set (Local.FunctionsMetaplectic.Construction.Position k n)).indicator (fun _ => (1 : ℂ)) |
| 115 | have hf := subgroup_indicator_compactSupport U hU |
| 116 | have hF := NonarchimedeanIntertwiner.LocalAnalysis.fourierIntegral_locallyConstant ψ |
| 117 | (NonarchimedeanIntertwiner.LocalAnalysis.nonarchimedean_character_locallyConstant ψ hu hc) μ hf |
| 118 | have hμ : (μ.real (U : Set (Local.FunctionsMetaplectic.Construction.Position k n)) : ℂ) ≠ 0 := by |
| 119 | apply Complex.ofReal_ne_zero.mpr |
| 120 | apply (ENNReal.toReal_pos _ hU.measure_ne_top).ne' |
| 121 | exact (Measure.measure_pos_of_nonempty_interior μ |
| 122 | (by rw [U.isOpen.interior_eq]; exact ⟨0, U.zero_mem⟩)).ne' |
| 123 | have hann : (additiveAnnihilator ψ U.toAddSubgroup : Set (Local.FunctionsMetaplectic.Construction.Position k n)) = |
| 124 | {x | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ μ f x = (μ.real (U : Set (Local.FunctionsMetaplectic.Construction.Position k n)) : ℂ)} := by |
| 125 | ext x |
| 126 | change x ∈ additiveAnnihilator ψ U.toAddSubgroup ↔ |
| 127 | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ μ ((U : Set (Local.FunctionsMetaplectic.Construction.Position k n)).indicator (fun _ => (1 : ℂ))) x = _ |
| 128 | rw [fourier_indicator_subgroup] |
| 129 | by_cases hx : x ∈ additiveAnnihilator ψ U.toAddSubgroup <;> simp [hx, hμ.symm] |
| 130 | have hclosed : IsClosed (additiveAnnihilator ψ U.toAddSubgroup : Set (Local.FunctionsMetaplectic.Construction.Position k n)) := by |
| 131 | rw [hann] |
| 132 | exact hF.isClosed_fiber _ |
| 133 | have hcompact := NonarchimedeanIntertwiner.LocalAnalysis.fourierIntegral_compactSupport_of_locallyConstant ψ hn μ |
| 134 | (subgroup_indicator_locallyConstant U) hf |
| 135 | constructor |
| 136 | · apply hcompact.of_isClosed_subset hclosed |
| 137 | intro x hx |
| 138 | apply subset_tsupport (Local.FunctionsMetaplectic.Construction.fourierIntegral ψ μ f) |
| 139 | have hx' := congrArg (fun S : Set (Local.FunctionsMetaplectic.Construction.Position k n) => x ∈ S) hann |
| 140 | have heq : Local.FunctionsMetaplectic.Construction.fourierIntegral ψ μ f x = (μ.real (U : Set (Local.FunctionsMetaplectic.Construction.Position k n)) : ℂ) := by |
| 141 | exact (Eq.mp hx' hx) |
| 142 | change Local.FunctionsMetaplectic.Construction.fourierIntegral ψ μ f x ≠ 0 |
| 143 | rwa [heq] |
| 144 | · rw [hann] |
| 145 | exact hF.isOpen_fiber _ |
| 146 | |
| 147 | end |
| 148 | |
| 149 | /-! A vacuum-fixed oscillator constrains the character annihilator through |
| 150 | its momentum-to-position matrix entries. -/ |
| 151 | |
| 152 | open scoped Classical |
| 153 | |
| 154 | section Algebra |
| 155 | variable {k : Type} [Field k] (R : Subring k) (n : ℕ) |
| 156 | |
| 157 | def ringVacuum : Local.FunctionsMetaplectic.Construction.Position k n → ℂ := |
| 158 | (Set.univ.pi (fun _ : Fin n => (R : Set k))).indicator (fun _ => 1) |
| 159 | |
| 160 | theorem ringVacuum_zero : ringVacuum R n 0 = 1 := by |
| 161 | simp [ringVacuum] |
| 162 | |
| 163 | theorem heisenberg_ringVacuum_single |
| 164 | (ψ : AddChar k ℂ) (j : Fin n) (u : k) (hu : ∀ t ∈ R, ψ (u * t) = 1) : |
| 165 | Local.FunctionsMetaplectic.Construction.heisenbergFunction ψ (Pi.single (.inr j) u) (ringVacuum R n) = ringVacuum R n := by |
| 166 | funext x |
| 167 | have he : Local.FunctionsMetaplectic.Construction.heisenbergFunction ψ (Pi.single (.inr j) u) (ringVacuum R n) x = |
| 168 | ψ (u * x j) * ringVacuum R n x := by |
| 169 | simp [Local.FunctionsMetaplectic.Construction.heisenbergFunction, Pi.single_apply] |
| 170 | rw [he] |
| 171 | by_cases hx : x ∈ Set.univ.pi (fun _ : Fin n => (R : Set k)) |
| 172 | · rw [hu _ (hx j (Set.mem_univ j)), one_mul] |
| 173 | · simp [ringVacuum, hx] |
| 174 | |
| 175 | theorem heisenberg_ringVacuum_fixed_position |
| 176 | (ψ : AddChar k ℂ) (hu : ∀ t, ‖ψ t‖ = 1) (v : Local.FunctionsMetaplectic.Construction.PhaseSpace k n) |
| 177 | (h : Local.FunctionsMetaplectic.Construction.heisenbergFunction ψ v (ringVacuum R n) = ringVacuum R n) : |
| 178 | ∀ i, v (.inl i) ∈ R := by |
| 179 | let q : Local.FunctionsMetaplectic.Construction.Position k n := fun i => v (.inl i) |
| 180 | have he := congrFun h q |
| 181 | have hz : (fun i => q i - v (.inl i)) = (0 : Local.FunctionsMetaplectic.Construction.Position k n) := by ext i; simp [q] |
| 182 | change ψ (∑ i, v (.inr i) * (q i - v (.inl i) / 2)) * |
| 183 | ringVacuum R n (fun i => q i - v (.inl i)) = ringVacuum R n q at he |
| 184 | rw [hz, ringVacuum_zero, mul_one] at he |
| 185 | have hn : ringVacuum R n q ≠ 0 := by |
| 186 | intro hh |
| 187 | have ht := hu (∑ i, v (.inr i) * (q i - v (.inl i) / 2)) |
| 188 | rw [he, hh, norm_zero] at ht |
| 189 | exact zero_ne_one ht |
| 190 | have hq : q ∈ Set.univ.pi (fun _ : Fin n => (R : Set k)) := by |
| 191 | by_contra hq |
| 192 | exact hn (Set.indicator_of_notMem hq _) |
| 193 | intro i |
| 194 | exact hq i (Set.mem_univ i) |
| 195 | |
| 196 | end Algebra |
| 197 | |
| 198 | variable {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 199 | [MeasurableSpace k] [BorelSpace k] {n : ℕ} |
| 200 | |
| 201 | theorem vacuum_fixed_oscillator_mixing |
| 202 | (ψ : AddChar k ℂ) (hu : ∀ t, ‖ψ t‖ = 1) (R : Subring k) |
| 203 | (φ : Local.FunctionsMetaplectic.Construction.schwartzBruhat k n) (hφ : φ.val = ringVacuum R n) |
| 204 | (T : Local.FunctionsMetaplectic.Construction.Oscillator k n ψ) (hT : T.val.2 φ = φ) |
| 205 | (i j : Fin n) (u : k) (huR : ∀ t ∈ R, ψ (u * t) = 1) : |
| 206 | T.val.1.val (.inl i) (.inr j) * u ∈ R := by |
| 207 | let v : Local.FunctionsMetaplectic.Construction.PhaseSpace k n := Pi.single (.inr j) u |
| 208 | have hv : Local.FunctionsMetaplectic.Construction.heisenbergGraph ψ v φ φ := by |
| 209 | change φ.val = Local.FunctionsMetaplectic.Construction.heisenbergFunction ψ v φ.val |
| 210 | rw [hφ] |
| 211 | exact (heisenberg_ringVacuum_single R n ψ j u huR).symm |
| 212 | have ht := (T.property.2 v φ φ).mp hv |
| 213 | change (T.val.2 φ).val = Local.FunctionsMetaplectic.Construction.heisenbergFunction ψ (Local.FunctionsMetaplectic.Construction.symplecticAction T.val.1 v) (T.val.2 φ).val at ht |
| 214 | rw [hT, hφ] at ht |
| 215 | have h := heisenberg_ringVacuum_fixed_position R n ψ hu (Local.FunctionsMetaplectic.Construction.symplecticAction T.val.1 v) ht.symm i |
| 216 | simpa [v, Local.FunctionsMetaplectic.Construction.symplecticAction, Matrix.mulVec, dotProduct, Pi.single_apply] using h |
| 217 | |
| 218 | end |
| 219 | |
| 220 | end OAI.RepresentationTheory.Weil.AdelicSplitting.CompactCharacter.LocalAnalysis |