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.NonarchimedeanReference |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.TensorFourier |
| 3 | |
| 4 | /-! # Nonarchimedean Normalization -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.NonarchimedeanNormalization.LocalAnalysis |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact Fourier inversion for the prescribed self-dual measure at a |
| 11 | nonarchimedean local field, in every rank. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory |
| 14 | open scoped ENNReal |
| 15 | |
| 16 | variable {k : Type} [NormedField k] [LocallyCompactSpace k] [IsUltrametricDist k] |
| 17 | [MeasurableSpace k] [BorelSpace k] [ProperSpace k] [SecondCountableTopology k] |
| 18 | [NonarchimedeanAddGroup k] |
| 19 | (ψ : AddChar k ℂ) (hu : ∀ t, ‖ψ t‖ = 1) (hc : Continuous ψ) (hn : ∃ t, ψ t ≠ 1) |
| 20 | |
| 21 | include hu hc hn in |
| 22 | theorem nonarchimedean_fourier_square_reference (n : ℕ) |
| 23 | (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : Local.FunctionsMetaplectic.Construction.Position k n) : |
| 24 | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => (Measure.addHaar : Measure k))) |
| 25 | (Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => (Measure.addHaar : Measure k))) f.val) x = |
| 26 | ((Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ) ^ n : ℂ) * f.val (-x) := by |
| 27 | obtain ⟨c, _, hSquare⟩ := FourierCompactDomain.LocalAnalysis.nonarchimedean_fourier_square_scalar n ψ hu hc hn |
| 28 | (Measure.pi (fun _ : Fin n => (Measure.addHaar : Measure k))) |
| 29 | let B := IsUltrametricDist.closedBall_openAddSubgroup k (by norm_num : (0 : ℝ) < 1) |
| 30 | let φ : k → ℂ := (B : Set k).indicator (fun _ => 1) |
| 31 | have hφc : IsLocallyConstant φ := CompactCharacter.LocalAnalysis.subgroup_indicator_locallyConstant B |
| 32 | have hφs : HasCompactSupport φ := CompactCharacter.LocalAnalysis.subgroup_indicator_compactSupport B (isCompact_closedBall _ _) |
| 33 | have hφ0 : φ 0 = 1 := Set.indicator_of_mem B.zero_mem _ |
| 34 | let g : Local.FunctionsMetaplectic.Construction.schwartzBruhat k n := ⟨TensorFourier.LocalAnalysis.tensorFunction n φ, TensorFourier.LocalAnalysis.tensorFunction_mem n hφc hφs⟩ |
| 35 | have hsc : TensorFourier.LocalAnalysis.scalarFourier ψ (Measure.addHaar : Measure k) |
| 36 | (TensorFourier.LocalAnalysis.scalarFourier ψ (Measure.addHaar : Measure k) φ) 0 = (Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ : ℂ) := by |
| 37 | simpa only [neg_zero, hφ0, mul_one] using TensorFourier.LocalAnalysis.scalarFourier_square_of_one_coordinate ψ |
| 38 | (Measure.addHaar : Measure k) (Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ) |
| 39 | (NonarchimedeanReference.LocalAnalysis.nonarchimedean_one_coordinate_normalization ψ hu hc hn).2 hφc hφs 0 |
| 40 | have he := hSquare g 0 |
| 41 | have hg0 : g.val (-0) = 1 := by simp [g, TensorFourier.LocalAnalysis.tensorFunction, hφ0] |
| 42 | rw [hg0, mul_one] at he |
| 43 | change Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => (Measure.addHaar : Measure k))) |
| 44 | (Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => (Measure.addHaar : Measure k))) |
| 45 | (TensorFourier.LocalAnalysis.tensorFunction n φ)) 0 = (c : ℂ) at he |
| 46 | rw [TensorFourier.LocalAnalysis.fourierIntegral_tensorFunction, TensorFourier.LocalAnalysis.fourierIntegral_tensorFunction] at he |
| 47 | change (∏ _ : Fin n, TensorFourier.LocalAnalysis.scalarFourier ψ (Measure.addHaar : Measure k) |
| 48 | (TensorFourier.LocalAnalysis.scalarFourier ψ (Measure.addHaar : Measure k) φ) 0) = (c : ℂ) at he |
| 49 | simp only [hsc, Finset.prod_const, Finset.card_univ, Fintype.card_fin] at he |
| 50 | rw [← he] at hSquare |
| 51 | exact hSquare f x |
| 52 | |
| 53 | omit [IsUltrametricDist k] [ProperSpace k] in |
| 54 | theorem positionMeasure_reference_scaling (n : ℕ) (hs : 0 < Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ) : |
| 55 | Local.FunctionsMetaplectic.Construction.positionMeasure k n ψ = |
| 56 | ENNReal.ofReal ((Real.sqrt (Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ))⁻¹ ^ n) • |
| 57 | Measure.pi (fun _ : Fin n => (Measure.addHaar : Measure k)) := by |
| 58 | let : (Local.FunctionsMetaplectic.Construction.selfDualMeasure k ψ).IsAddHaarMeasure := |
| 59 | FourierTools.LocalAnalysis.selfDualMeasure_isAddHaarMeasure_of_scale_pos k ψ hs |
| 60 | unfold Local.FunctionsMetaplectic.Construction.positionMeasure |
| 61 | refine Measure.pi_eq (μ := fun _ : Fin n => Local.FunctionsMetaplectic.Construction.selfDualMeasure k ψ) fun s _ => ?_ |
| 62 | rw [Measure.smul_apply, Measure.pi_pi] |
| 63 | simp only [Local.FunctionsMetaplectic.Construction.selfDualMeasure, Measure.smul_apply, smul_eq_mul, Finset.prod_mul_distrib, |
| 64 | Finset.prod_const, Finset.card_univ, Fintype.card_fin] |
| 65 | rw [ENNReal.ofReal_pow (inv_nonneg.mpr (Real.sqrt_nonneg _))] |
| 66 | |
| 67 | omit [IsUltrametricDist k] [ProperSpace k] in |
| 68 | theorem fourierIntegral_reference_scaling (n : ℕ) (hs : 0 < Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ) |
| 69 | (f : Local.FunctionsMetaplectic.Construction.Position k n → ℂ) (x : Local.FunctionsMetaplectic.Construction.Position k n) : |
| 70 | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Local.FunctionsMetaplectic.Construction.positionMeasure k n ψ) f x = |
| 71 | ((Real.sqrt (Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ))⁻¹ ^ n : ℝ) • |
| 72 | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => (Measure.addHaar : Measure k))) f x := by |
| 73 | rw [positionMeasure_reference_scaling ψ n hs, Local.FunctionsMetaplectic.Construction.fourierIntegral, integral_smul_measure] |
| 74 | rw [ENNReal.toReal_ofReal (by positivity)] |
| 75 | rfl |
| 76 | |
| 77 | include hu hc hn in |
| 78 | theorem nonarchimedean_fourier_inversion (n : ℕ) |
| 79 | (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : Local.FunctionsMetaplectic.Construction.Position k n) : |
| 80 | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Local.FunctionsMetaplectic.Construction.positionMeasure k n ψ) |
| 81 | (Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Local.FunctionsMetaplectic.Construction.positionMeasure k n ψ) f.val) x = f.val (-x) := by |
| 82 | have hs := (NonarchimedeanReference.LocalAnalysis.nonarchimedean_one_coordinate_normalization ψ hu hc hn).1 |
| 83 | let a : ℝ := (Real.sqrt (Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ))⁻¹ |
| 84 | have hf : Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Local.FunctionsMetaplectic.Construction.positionMeasure k n ψ) f.val = |
| 85 | (a ^ n : ℂ) • Local.FunctionsMetaplectic.Construction.fourierIntegral ψ |
| 86 | (Measure.pi (fun _ : Fin n => (Measure.addHaar : Measure k))) f.val := by |
| 87 | funext y |
| 88 | rw [fourierIntegral_reference_scaling ψ n hs] |
| 89 | simp only [a, Complex.real_smul, Pi.smul_apply, smul_eq_mul, Complex.ofReal_pow, Complex.ofReal_inv] |
| 90 | rw [fourierIntegral_reference_scaling ψ n hs, hf, Local.FunctionsMetaplectic.Construction.fourierIntegral_smul, |
| 91 | Pi.smul_apply, nonarchimedean_fourier_square_reference ψ hu hc hn] |
| 92 | have hbase : a * a * Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ = 1 := by |
| 93 | have hr : Real.sqrt (Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ) ≠ 0 := (Real.sqrt_pos.mpr hs).ne' |
| 94 | calc |
| 95 | _ = a * a * (Real.sqrt (Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ) * |
| 96 | Real.sqrt (Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ)) := by rw [Real.mul_self_sqrt hs.le] |
| 97 | _ = 1 := by dsimp [a]; field_simp |
| 98 | have hcoef : a ^ n * a ^ n * Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ ^ n = 1 := by |
| 99 | rw [← mul_pow, ← mul_pow, hbase, one_pow] |
| 100 | have hcoefC : (a ^ n : ℂ) * (a ^ n : ℂ) * (Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ : ℂ) ^ n = 1 := by |
| 101 | exact_mod_cast hcoef |
| 102 | change (a ^ n : ℝ) • ((a ^ n : ℂ) * |
| 103 | ((Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ : ℂ) ^ n * f.val (-x))) = _ |
| 104 | rw [Complex.real_smul] |
| 105 | push_cast |
| 106 | rw [← mul_assoc, ← mul_assoc, hcoefC, one_mul] |
| 107 | |
| 108 | /-- The exact raw Fourier lift at a nonarchimedean field. Its Haar measure |
| 109 | is the one defined in the accepted statement through the reference compact. -/ |
| 110 | def nonarchimedeanRawFourierOscillator [CharZero k] (n : ℕ) : Local.FunctionsMetaplectic.Construction.Oscillator k n ψ := by |
| 111 | let : (Local.FunctionsMetaplectic.Construction.selfDualMeasure k ψ).IsAddHaarMeasure := |
| 112 | FourierTools.LocalAnalysis.selfDualMeasure_isAddHaarMeasure_of_scale_pos k ψ |
| 113 | (NonarchimedeanReference.LocalAnalysis.nonarchimedean_one_coordinate_normalization ψ hu hc hn).1 |
| 114 | let : (Local.FunctionsMetaplectic.Construction.positionMeasure k n ψ).IsAddHaarMeasure := by unfold Local.FunctionsMetaplectic.Construction.positionMeasure; infer_instance |
| 115 | exact FourierIntertwiner.LocalAnalysis.fourierOscillator ψ hu hc (Local.FunctionsMetaplectic.Construction.positionMeasure k n ψ) |
| 116 | (NonarchimedeanIntertwiner.LocalAnalysis.nonarchimedean_fourier_mem ψ hu hc hn (Local.FunctionsMetaplectic.Construction.positionMeasure k n ψ)) |
| 117 | (nonarchimedean_fourier_inversion ψ hu hc hn n) |
| 118 | |
| 119 | theorem nonarchimedeanRawFourierOscillator_apply [CharZero k] (n : ℕ) |
| 120 | (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : Local.FunctionsMetaplectic.Construction.Position k n) : |
| 121 | ((nonarchimedeanRawFourierOscillator ψ hu hc hn n).val.2 f).val x = |
| 122 | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Local.FunctionsMetaplectic.Construction.positionMeasure k n ψ) f.val x := rfl |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.RepresentationTheory.Weil.AdelicSplitting.NonarchimedeanNormalization.LocalAnalysis |