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.ComplexLevi |
| 2 | import OAI.RepresentationTheory.Weil.Local.GaussianSquareClasses |
| 3 | import OAI.RepresentationTheory.Weil.Local.RealWeyl |
| 4 | |
| 5 | /-! # Square Determinant Lift -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.Local.SquareDeterminantLift.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exact bare Levi lifts for square determinants. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory Filter _root_.Matrix |
| 14 | open scoped _root_.Topology Classical |
| 15 | |
| 16 | theorem gaussianIndex_square_mul_of_limit |
| 17 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 18 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] |
| 19 | (ψ : AddChar k ℂ) (a : k) (b : kˣ) |
| 20 | (hlim : Tendsto (FunctionsMetaplectic.Construction.regularizedGaussian k ψ a) (𝓝[>] (0 : ℝ)) (𝓝 (FunctionsMetaplectic.Construction.gaussianIntegral k ψ a))) : |
| 21 | FunctionsMetaplectic.Construction.gaussianIndex k ψ (a * b.val ^ 2) = FunctionsMetaplectic.Construction.gaussianIndex k ψ a := by |
| 22 | have hscaled := (hlim.comp |
| 23 | (GaussianSquareClasses.Construction.positive_division_tendsto_zero_right (‖b.val‖ ^ 2) (sq_pos_of_pos (norm_pos_iff.mpr b.ne_zero)))).const_smul |
| 24 | ((FunctionsMetaplectic.Construction.localModulus k b)⁻¹ : ℝ) |
| 25 | have hresult : Tendsto (FunctionsMetaplectic.Construction.regularizedGaussian k ψ (a * b.val ^ 2)) (𝓝[>] (0 : ℝ)) |
| 26 | (𝓝 (((FunctionsMetaplectic.Construction.localModulus k b)⁻¹ : ℝ) • FunctionsMetaplectic.Construction.gaussianIntegral k ψ a)) := by |
| 27 | simpa only [Function.comp_def, ← GaussianSquareClasses.Construction.regularizedGaussian_square_mul ψ a b] using hscaled |
| 28 | have hG : FunctionsMetaplectic.Construction.gaussianIntegral k ψ (a * b.val ^ 2) = |
| 29 | ((FunctionsMetaplectic.Construction.localModulus k b)⁻¹ : ℝ) • FunctionsMetaplectic.Construction.gaussianIntegral k ψ a := hresult.limUnder_eq |
| 30 | rw [FunctionsMetaplectic.Construction.gaussianIndex, hG, Complex.real_smul, |
| 31 | Gaussian.Construction.phase_positive_mul ((FunctionsMetaplectic.Construction.localModulus k b)⁻¹) (inv_pos.mpr (FunctionsMetaplectic.Construction.localModulus_pos k b))] |
| 32 | rfl |
| 33 | |
| 34 | theorem coordinateDiagonal_square |
| 35 | {k : Type} [Field k] {n : ℕ} (i : Fin n) (b : kˣ) : |
| 36 | SpecialLinearCommutators.Construction.coordinateDiagonal i b * SpecialLinearCommutators.Construction.coordinateDiagonal i b = SpecialLinearCommutators.Construction.coordinateDiagonal i (b ^ 2) := by |
| 37 | apply Units.ext |
| 38 | change diagonal (fun j => if j = i then b.val else 1) * diagonal (fun j => if j = i then b.val else 1) = |
| 39 | diagonal (fun j => if j = i then b.val ^ 2 else 1) |
| 40 | rw [diagonal_mul_diagonal] |
| 41 | congr 1 |
| 42 | funext j |
| 43 | split_ifs |
| 44 | · exact (pow_two b.val).symm |
| 45 | · exact one_mul 1 |
| 46 | |
| 47 | theorem linearOscillator_mem_of_square_det |
| 48 | {k : Type} [NormedField k] [LocallyCompactSpace k] [CharZero k] |
| 49 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 50 | (hn : 0 < n) (ψ : AddChar k ℂ) (μ : Measure k) [μ.IsAddHaarMeasure] |
| 51 | (w : FunctionsMetaplectic.Construction.Oscillator k n ψ) (hw : OscillatorProjection.Construction.oscillatorProjection k n ψ w = Generators.Construction.weylSymplectic k n) |
| 52 | (hT : ∀ f x, (w.val.2 f).val x = FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f.val x) |
| 53 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (b : kˣ) (hb : b ^ 2 = FunctionsMetaplectic.Construction.determinantUnit k A) : |
| 54 | LinearIntertwiner.Construction.linearOscillator ψ A ∈ FunctionsMetaplectic.Construction.metaplecticSubgroup k n ψ := by |
| 55 | let i : Fin n := ⟨0, hn⟩ |
| 56 | let D := SpecialLinearCommutators.Construction.coordinateDiagonal i (b ^ 2) |
| 57 | have hD : LinearIntertwiner.Construction.linearOscillator ψ D ∈ FunctionsMetaplectic.Construction.metaplecticSubgroup k n ψ := by |
| 58 | rw [show D = SpecialLinearCommutators.Construction.coordinateDiagonal i b * SpecialLinearCommutators.Construction.coordinateDiagonal i b from (coordinateDiagonal_square i b).symm] |
| 59 | exact SymmetricSquareLift.Construction.linearOscillator_symmetric_square_mem ψ μ w hw hT (SpecialLinearCommutators.Construction.coordinateDiagonal i b) (isSymm_diagonal _) |
| 60 | let S := A * D⁻¹ |
| 61 | have hS : S.val.det = 1 := by |
| 62 | change (FunctionsMetaplectic.Construction.determinantUnit k (A * D⁻¹)).val = 1 |
| 63 | rw [LinearOscillatorHom.Construction.determinantUnit_mul, FourierLinearSubstitution.Construction.determinantUnit_inv] |
| 64 | have hd : FunctionsMetaplectic.Construction.determinantUnit k D = FunctionsMetaplectic.Construction.determinantUnit k A := (ComplexLevi.Construction.coordinateDiagonal_determinant i (b ^ 2)).trans hb |
| 65 | rw [hd, mul_inv_cancel] |
| 66 | rfl |
| 67 | have h := (FunctionsMetaplectic.Construction.metaplecticSubgroup k n ψ).mul_mem (SpecialLinearCommutators.Construction.linearOscillator_mem_of_det_one ψ S hS) hD |
| 68 | rw [← LinearOscillatorHom.Construction.linearOscillator_mul] at h |
| 69 | simpa only [S, mul_assoc, inv_mul_cancel, mul_one] using h |
| 70 | |
| 71 | theorem exists_square_det_levi_metaplectic |
| 72 | {k : Type} [NormedField k] [LocallyCompactSpace k] [CharZero k] |
| 73 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 74 | (hn : 0 < n) (ψ : AddChar k ℂ) (μ : Measure k) [μ.IsAddHaarMeasure] |
| 75 | (w : FunctionsMetaplectic.Construction.Oscillator k n ψ) (hw : OscillatorProjection.Construction.oscillatorProjection k n ψ w = Generators.Construction.weylSymplectic k n) |
| 76 | (hT : ∀ f x, (w.val.2 f).val x = FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f.val x) |
| 77 | (hlim : Tendsto (FunctionsMetaplectic.Construction.regularizedGaussian k ψ 1) (𝓝[>] (0 : ℝ)) (𝓝 (FunctionsMetaplectic.Construction.gaussianIntegral k ψ 1))) |
| 78 | (hG : FunctionsMetaplectic.Construction.gaussianIntegral k ψ 1 ≠ 0) |
| 79 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (b : kˣ) (hb : b ^ 2 = FunctionsMetaplectic.Construction.determinantUnit k A) : |
| 80 | ∃ m : FunctionsMetaplectic.Construction.Metaplectic k n ψ, FunctionsMetaplectic.Construction.metaplecticProjection k n ψ m = Generators.Construction.leviSymplectic A ∧ |
| 81 | ∀ (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n), |
| 82 | (FunctionsMetaplectic.Construction.weilRepresentation k n ψ m f).val x = |
| 83 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ (FunctionsMetaplectic.Construction.determinantUnit k A) / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) * |
| 84 | ((Real.sqrt (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A)))⁻¹ : ℂ) * f.val (A⁻¹.val *ᵥ x) := by |
| 85 | let m : FunctionsMetaplectic.Construction.Metaplectic k n ψ := ⟨LinearIntertwiner.Construction.linearOscillator ψ A, linearOscillator_mem_of_square_det hn ψ μ w hw hT A b hb⟩ |
| 86 | refine ⟨m, rfl, fun f x => ?_⟩ |
| 87 | have hγ : FunctionsMetaplectic.Construction.gaussianIndex k ψ (FunctionsMetaplectic.Construction.determinantUnit k A) = FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 := by |
| 88 | rw [← hb] |
| 89 | simpa only [one_mul, Units.val_pow_eq_pow_val] using gaussianIndex_square_mul_of_limit ψ 1 b hlim |
| 90 | have hγ0 : FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 ≠ 0 := by |
| 91 | intro h |
| 92 | have hnorm := FunctionsMetaplectic.Construction.gaussianIndex_norm k ψ 1 hG |
| 93 | rw [h, norm_zero] at hnorm |
| 94 | exact zero_ne_one hnorm |
| 95 | rw [hγ, div_self hγ0, one_mul] |
| 96 | exact LinearIntertwiner.Construction.linearOscillator_apply ψ A f x |
| 97 | |
| 98 | theorem exists_real_positive_det_levi_metaplectic |
| 99 | {n : ℕ} (hn : 0 < n) (ψ : AddChar ℝ ℂ) (hc : Continuous (fun t => ψ t)) |
| 100 | (hu : ∀ t, ‖ψ t‖ = 1) (hψ : ∃ t, ψ t ≠ 1) |
| 101 | (A : FunctionsMetaplectic.Construction.GeneralLinear ℝ n) (hA : 0 < A.val.det) : |
| 102 | ∃ m : FunctionsMetaplectic.Construction.Metaplectic ℝ n ψ, FunctionsMetaplectic.Construction.metaplecticProjection ℝ n ψ m = Generators.Construction.leviSymplectic A ∧ |
| 103 | ∀ (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) (x : FunctionsMetaplectic.Construction.Position ℝ n), |
| 104 | (FunctionsMetaplectic.Construction.weilRepresentation ℝ n ψ m f).val x = |
| 105 | (FunctionsMetaplectic.Construction.gaussianIndex ℝ ψ (FunctionsMetaplectic.Construction.determinantUnit ℝ A) / FunctionsMetaplectic.Construction.gaussianIndex ℝ ψ 1) * |
| 106 | ((Real.sqrt (FunctionsMetaplectic.Construction.localModulus ℝ (FunctionsMetaplectic.Construction.determinantUnit ℝ A)))⁻¹ : ℂ) * f.val (A⁻¹.val *ᵥ x) := by |
| 107 | obtain ⟨c, hc0, rfl⟩ := RealCharacters.Construction.continuous_nontrivial_unitary_real_character ψ hc hu hψ |
| 108 | let μ := FunctionsMetaplectic.Construction.selfDualMeasure ℝ (Gaussian.Construction.realCharacter c) |
| 109 | let : μ.IsAddHaarMeasure := (RealNormalization.Construction.real_analytic_normalization (Gaussian.Construction.realCharacter c) hc hu hψ n).2.1 |
| 110 | let b : ℝˣ := Units.mk0 (Real.sqrt A.val.det) (Real.sqrt_pos.mpr hA).ne' |
| 111 | have hb : b ^ 2 = FunctionsMetaplectic.Construction.determinantUnit ℝ A := by |
| 112 | apply Units.ext |
| 113 | exact Real.sq_sqrt hA.le |
| 114 | have hG := (RealNormalization.Construction.real_analytic_normalization (Gaussian.Construction.realCharacter c) hc hu hψ n).2.2.1 1 one_ne_zero |
| 115 | exact exists_square_det_levi_metaplectic hn (Gaussian.Construction.realCharacter c) μ (RealFourierFamily.Construction.realFourierOscillatorFamily n c hc0) |
| 116 | rfl (RealFourierFamily.Construction.realNormalizedFourier_apply c hc0) hG.1 hG.2.1 A b hb |
| 117 | |
| 118 | theorem exists_nonarchimedean_square_det_levi_metaplectic |
| 119 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 120 | [MeasurableSpace k] [BorelSpace k] |
| 121 | (hNondiscrete : ¬ DiscreteTopology k) {n : ℕ} (hn : 0 < n) |
| 122 | (ψ : AddChar k ℂ) (hc : Continuous (fun t => ψ t)) |
| 123 | (hu : ∀ t, ‖ψ t‖ = 1) (hψ : ∃ t, ψ t ≠ 1) |
| 124 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (b : kˣ) (hb : b ^ 2 = FunctionsMetaplectic.Construction.determinantUnit k A) : |
| 125 | ∃ m : FunctionsMetaplectic.Construction.Metaplectic k n ψ, FunctionsMetaplectic.Construction.metaplecticProjection k n ψ m = Generators.Construction.leviSymplectic A ∧ |
| 126 | ∀ (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n), |
| 127 | (FunctionsMetaplectic.Construction.weilRepresentation k n ψ m f).val x = |
| 128 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ (FunctionsMetaplectic.Construction.determinantUnit k A) / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) * |
| 129 | ((Real.sqrt (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A)))⁻¹ : ℂ) * f.val (A⁻¹.val *ᵥ x) := by |
| 130 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hNondiscrete |
| 131 | let μ := FunctionsMetaplectic.Construction.selfDualMeasure k ψ |
| 132 | let : μ.IsAddHaarMeasure := NonarchimedeanHaar.Construction.nonarchimedean_selfDualMeasure_isAddHaarMeasure hNondiscrete ψ hu hc hψ |
| 133 | obtain ⟨w, hw, hT⟩ := NormalizedFresnel.Construction.exists_nonarchimedean_normalized_fourier_oscillator hNondiscrete n ψ hu hc hψ |
| 134 | have hG := GaussianCompact.Construction.nonarchimedean_gaussian_limit_nonzero hNondiscrete ψ hu hc hψ 1 one_ne_zero |
| 135 | exact exists_square_det_levi_metaplectic hn ψ μ w hw hT hG.1 hG.2 A b hb |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.RepresentationTheory.Weil.Local.SquareDeterminantLift.Construction |