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.FinitePositionInsert |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.FiniteTensorFourier |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.TestFamilyAction |
| 4 | |
| 5 | /-! # Finite Fourier Relations -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.FiniteFourierRelations.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual restricted Fourier operator preserves linear relations |
| 12 | between the finite-adelic values of restricted test families. The proof |
| 13 | integrates over one common finite set of exceptional places. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | open IsDedekindDomain Filter _root_.MeasureTheory |
| 17 | |
| 18 | local instance finiteRelationMeasurableSpace (F : Type) [Field F] [NumberField F] |
| 19 | (v : HeightOneSpectrum (𝓞 F)) : MeasurableSpace (v.adicCompletion F) := |
| 20 | borel (v.adicCompletion F) |
| 21 | |
| 22 | local instance finiteRelationBorelSpace (F : Type) [Field F] [NumberField F] |
| 23 | (v : HeightOneSpectrum (𝓞 F)) : BorelSpace (v.adicCompletion F) := ⟨rfl⟩ |
| 24 | |
| 25 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 26 | variable (ψ : AddChar (ArchimedeanAdeles.Construction.Adeles F) ℂ) (hc : Continuous ψ) (hu : ∀ x, ‖ψ x‖ = 1) |
| 27 | variable (hμ : ∀ v : HeightOneSpectrum (𝓞 F), |
| 28 | (Local.FunctionsMetaplectic.Construction.positionMeasure (ArchimedeanAdeles.Construction.Completion F (.inr v)) N (Characters.Construction.localAdditiveCharacter F ψ (.inr v))).IsAddHaarMeasure) |
| 29 | |
| 30 | include hc hu hμ in |
| 31 | theorem finite_fourier_preserves_relation {J : Type} [Fintype J] |
| 32 | (a : Rational.Construction.RestrictedCover F N ψ) (ha : Rational.Construction.IsRationalFourier F N ψ a) |
| 33 | (f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) (g : J → RestrictedTestFamilies.Construction.RestrictedTestFamily F N) (c : J → ℂ) |
| 34 | (hrel : ∀ x : Fin N → ArchimedeanAdeles.Construction.FiniteAdeles F, f.finiteValue F N x = ∑ j, c j * (g j).finiteValue F N x) |
| 35 | (ξ : Fin N → ArchimedeanAdeles.Construction.FiniteAdeles F) : |
| 36 | (f.act F N ψ a).finiteValue F N ξ = ∑ j, c j * ((g j).act F N ψ a).finiteValue F N ξ := by |
| 37 | have ht : ∀ᶠ v : HeightOneSpectrum (𝓞 F) in cofinite, |
| 38 | f (.inr v) = Vacuum.Construction.finiteVacuum F N v ∧ |
| 39 | (f.act F N ψ a) (.inr v) = Vacuum.Construction.finiteVacuum F N v ∧ |
| 40 | (∀ j, g j (.inr v) = Vacuum.Construction.finiteVacuum F N v) ∧ |
| 41 | (∀ j, ((g j).act F N ψ a) (.inr v) = Vacuum.Construction.finiteVacuum F N v) ∧ |
| 42 | ∀ i, ξ i v ∈ v.adicCompletionIntegers F := by |
| 43 | filter_upwards [f.unramified, (f.act F N ψ a).unramified, |
| 44 | eventually_all.mpr (fun j => (g j).unramified), |
| 45 | eventually_all.mpr (fun j => ((g j).act F N ψ a).unramified), |
| 46 | eventually_all.mpr (fun i => (ξ i).property)] with v hf hfa hg hga hξ |
| 47 | exact ⟨hf, hfa, hg, hga, hξ⟩ |
| 48 | let bad := eventually_cofinite.mp ht |
| 49 | let s := bad.toFinset |
| 50 | have hout (v : HeightOneSpectrum (𝓞 F)) (hv : v ∉ s) : |
| 51 | f (.inr v) = Vacuum.Construction.finiteVacuum F N v ∧ |
| 52 | (f.act F N ψ a) (.inr v) = Vacuum.Construction.finiteVacuum F N v ∧ |
| 53 | (∀ j, g j (.inr v) = Vacuum.Construction.finiteVacuum F N v) ∧ |
| 54 | (∀ j, ((g j).act F N ψ a) (.inr v) = Vacuum.Construction.finiteVacuum F N v) ∧ |
| 55 | ∀ i, ξ i v ∈ v.adicCompletionIntegers F := by |
| 56 | simpa only [s, Set.Finite.mem_toFinset, Set.mem_ofPred_eq, not_not] using hv |
| 57 | let μ (v : s) := Local.FunctionsMetaplectic.Construction.positionMeasure (ArchimedeanAdeles.Construction.Completion F (.inr v.val)) N (Characters.Construction.localAdditiveCharacter F ψ (.inr v.val)) |
| 58 | let : ∀ v : s, (μ v).IsAddHaarMeasure := fun v => hμ v.val |
| 59 | let K (v : s) (x : Local.FunctionsMetaplectic.Construction.Position (ArchimedeanAdeles.Construction.Completion F (.inr v.val)) N) := |
| 60 | Characters.Construction.localAdditiveCharacter F ψ (.inr v.val) (-Local.FunctionsMetaplectic.Construction.dot (fun i => ξ i v.val) x) |
| 61 | have hvalue (b : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) (hb : ∀ v ∉ s, b (.inr v) = Vacuum.Construction.finiteVacuum F N v) : |
| 62 | b.finiteValue F N ξ = ∏ v : s, (b (.inr v.val)).val (fun i => ξ i v.val) := by |
| 63 | have hξ : ξ ∈ FinitePositionInsert.Construction.finiteIntegralTail F N s := fun i v hv => (hout v hv).2.2.2.2 i |
| 64 | rw [b.finiteValue_formula F N s hb, Set.indicator_of_mem hξ, mul_one, ← Finset.prod_coe_sort] |
| 65 | have hF (b : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) |
| 66 | (hb : ∀ v ∉ s, (b.act F N ψ a) (.inr v) = Vacuum.Construction.finiteVacuum F N v) : |
| 67 | (b.act F N ψ a).finiteValue F N ξ = ∏ v : s, |
| 68 | ∫ x, (b (.inr v.val)).val x * K v x ∂μ v := by |
| 69 | rw [hvalue _ hb] |
| 70 | apply Finset.prod_congr rfl |
| 71 | intro v _ |
| 72 | exact ha.2 (.inr v.val) (b (.inr v.val)) (fun i => ξ i v.val) |
| 73 | have hg (j : J) (v : s) : Integrable (fun x => (g j (.inr v.val)).val x * K v x) (μ v) := |
| 74 | FourierTools.LocalAnalysis.fourierKernel_integrable (Characters.Construction.localAdditiveCharacter F ψ (.inr v.val)) |
| 75 | (Characters.Construction.localAdditiveCharacter_unitary F ψ hu (.inr v.val)) |
| 76 | (Characters.Construction.localAdditiveCharacter_continuous F ψ hc (.inr v.val)) (μ v) |
| 77 | (TestSpace.LocalAnalysis.schwartzBruhat_integrable (μ v) (g j (.inr v.val))) (fun i => ξ i v.val) |
| 78 | have hp (x : ∀ v : s, Local.FunctionsMetaplectic.Construction.Position (ArchimedeanAdeles.Construction.Completion F (.inr v.val)) N) : |
| 79 | (∏ v : s, (f (.inr v.val)).val (x v)) = ∑ j, c j * ∏ v : s, (g j (.inr v.val)).val (x v) := by |
| 80 | rw [← f.finiteValue_insert F N s (fun v hv => (hout v hv).1) x, hrel] |
| 81 | apply Finset.sum_congr rfl |
| 82 | intro j _ |
| 83 | rw [(g j).finiteValue_insert F N s (fun v hv => (hout v hv).2.2.1 j) x] |
| 84 | calc |
| 85 | _ = ∏ v : s, ∫ x, (f (.inr v.val)).val x * K v x ∂μ v := |
| 86 | hF f (fun v hv => (hout v hv).2.1) |
| 87 | _ = ∑ j, c j * ∏ v : s, ∫ x, (g j (.inr v.val)).val x * K v x ∂μ v := |
| 88 | FiniteTensorFourier.Construction.finite_tensor_integral_relation μ (fun v => (f (.inr v.val)).val) |
| 89 | (fun j v => (g j (.inr v.val)).val) c K hg hp |
| 90 | _ = _ := by |
| 91 | apply Finset.sum_congr rfl |
| 92 | intro j _ |
| 93 | rw [hF (g j) (fun v hv => (hout v hv).2.2.2.1 j)] |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.RepresentationTheory.Weil.AdelicSplitting.FiniteFourierRelations.Construction |