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.ComplexTheorem |
| 2 | import OAI.RepresentationTheory.Weil.Local.ComplexFieldAnalytic |
| 3 | import OAI.RepresentationTheory.Weil.Local.FieldOscillator |
| 4 | import OAI.RepresentationTheory.Weil.Local.FieldCoordinates |
| 5 | import OAI.RepresentationTheory.Weil.Local.FieldGeneratorMatrices |
| 6 | import OAI.RepresentationTheory.Weil.Local.ArchimedeanKernel |
| 7 | |
| 8 | /-! # Complex Field Theorem -/ |
| 9 | |
| 10 | namespace OAI.RepresentationTheory.Weil.Local.ComplexFieldTheorem.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! All clauses of repaired LocalWeil for every complex topological field presentation. -/ |
| 15 | |
| 16 | open _root_.MeasureTheory Filter |
| 17 | open scoped BigOperators _root_.Topology |
| 18 | |
| 19 | theorem complexField_schrodinger_generator_formulas |
| 20 | {k : Type} [NormedField k] [CompleteSpace k] [LocallyCompactSpace k] [CharZero k] |
| 21 | [MeasurableSpace k] [BorelSpace k] |
| 22 | (hNondiscrete : ¬ DiscreteTopology k) (hArch : ¬ ∀ m : ℕ, ‖(m : k)‖ ≤ 1) |
| 23 | (e : k ≃+* ℂ) (he : Continuous e) (he' : Continuous e.symm) |
| 24 | (n : ℕ) (hn : 0 < n) |
| 25 | (ψ : AddChar k ℂ) |
| 26 | (hContinuous : Continuous (fun t : k => ψ t)) |
| 27 | (hUnitary : ∀ t : k, ‖ψ t‖ = 1) |
| 28 | (hNontrivial : ∃ t : k, ψ t ≠ 1) : |
| 29 | -- Positivity prevents the Haar normalization from degenerating. |
| 30 | (0 < FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ) ∧ |
| 31 | (FunctionsMetaplectic.Construction.selfDualMeasure k ψ).IsAddHaarMeasure ∧ |
| 32 | -- The Gaussian phase is taken from an actual nonzero oscillatory limit. |
| 33 | (∀ a : k, a ≠ 0 → |
| 34 | Tendsto (FunctionsMetaplectic.Construction.regularizedGaussian k ψ a) (𝓝[>] (0 : ℝ)) |
| 35 | (𝓝 (FunctionsMetaplectic.Construction.gaussianIntegral k ψ a)) ∧ |
| 36 | FunctionsMetaplectic.Construction.gaussianIntegral k ψ a ≠ 0 ∧ FunctionsMetaplectic.Construction.gaussianIndex k ψ a ^ 8 = 1) ∧ |
| 37 | -- The selected Haar measure is self-dual for the coordinate pairing. |
| 38 | (∀ (φ : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n), |
| 39 | FunctionsMetaplectic.Construction.fourierIntegral ψ (FunctionsMetaplectic.Construction.positionMeasure k n ψ) |
| 40 | (FunctionsMetaplectic.Construction.fourierIntegral ψ (FunctionsMetaplectic.Construction.positionMeasure k n ψ) φ.val) x = φ.val (-x)) ∧ |
| 41 | Function.Surjective (FunctionsMetaplectic.Construction.metaplecticProjection k n ψ) ∧ |
| 42 | ∃ (m : FunctionsMetaplectic.Construction.GeneralLinear k n → FunctionsMetaplectic.Construction.Metaplectic k n ψ) |
| 43 | (u : FunctionsMetaplectic.Construction.SymmetricMatrix k n → FunctionsMetaplectic.Construction.Metaplectic k n ψ) |
| 44 | (w : FunctionsMetaplectic.Construction.Metaplectic k n ψ), |
| 45 | (∀ A : FunctionsMetaplectic.Construction.GeneralLinear k n, |
| 46 | FunctionsMetaplectic.Construction.metaplecticProjection k n ψ (m A) = Generators.Construction.leviSymplectic A) ∧ |
| 47 | (∀ B : FunctionsMetaplectic.Construction.SymmetricMatrix k n, |
| 48 | FunctionsMetaplectic.Construction.metaplecticProjection k n ψ (u B) = Generators.Construction.quadraticSymplectic B) ∧ |
| 49 | FunctionsMetaplectic.Construction.metaplecticProjection k n ψ w = Generators.Construction.weylSymplectic k n ∧ |
| 50 | (∀ (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (φ : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n), |
| 51 | (FunctionsMetaplectic.Construction.weilRepresentation k n ψ (m A) φ).val x = |
| 52 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ (FunctionsMetaplectic.Construction.determinantUnit k A) / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) * |
| 53 | ((Real.sqrt (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A)))⁻¹ : ℂ) * |
| 54 | φ.val (Matrix.mulVec (↑(A⁻¹) : Matrix (Fin n) (Fin n) k) x)) ∧ |
| 55 | (∀ (B : FunctionsMetaplectic.Construction.SymmetricMatrix k n) (φ : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n), |
| 56 | (FunctionsMetaplectic.Construction.weilRepresentation k n ψ (u B) φ).val x = |
| 57 | ψ ((∑ i, ∑ j, x i * B.val i j * x j) / 2) * φ.val x) ∧ |
| 58 | (∀ (φ : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n), |
| 59 | (FunctionsMetaplectic.Construction.weilRepresentation k n ψ w φ).val x = |
| 60 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 ^ n)⁻¹ * |
| 61 | ∫ y : FunctionsMetaplectic.Construction.Position k n, |
| 62 | φ.val y * ψ (-(∑ i, x i * y i)) ∂(FunctionsMetaplectic.Construction.positionMeasure k n ψ)) ∧ |
| 63 | (∀ g h : FunctionsMetaplectic.Construction.Metaplectic k n ψ, |
| 64 | FunctionsMetaplectic.Construction.metaplecticProjection k n ψ g = FunctionsMetaplectic.Construction.metaplecticProjection k n ψ h → |
| 65 | ∃ ε : ℂ, ε ^ 2 = 1 ∧ |
| 66 | ∀ φ : FunctionsMetaplectic.Construction.schwartzBruhat k n, |
| 67 | FunctionsMetaplectic.Construction.weilRepresentation k n ψ h φ = ε • FunctionsMetaplectic.Construction.weilRepresentation k n ψ g φ) := by |
| 68 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hNondiscrete |
| 69 | let η := FieldFourier.Construction.fieldCharacter e ψ |
| 70 | have hηc := ArchimedeanKernel.Construction.fieldCharacter_continuous e he' ψ hContinuous |
| 71 | have hηu := ArchimedeanKernel.Construction.fieldCharacter_unitary e ψ hUnitary |
| 72 | have hηn := ArchimedeanKernel.Construction.fieldCharacter_nontrivial e ψ hNontrivial |
| 73 | have ha := ComplexFieldAnalytic.Construction.complexField_analytic_normalization hNondiscrete hArch e he he' ψ |
| 74 | hContinuous hUnitary hNontrivial n |
| 75 | obtain ⟨_, hηHaar, _, _, hsurj, m, u, w, hm, hu, hw, hma, hua, hwa, _⟩ := |
| 76 | ComplexTheorem.Construction.complex_schrodinger_generator_formulas n hn η hηc hηu hηn |
| 77 | let : (FunctionsMetaplectic.Construction.selfDualMeasure ℂ η).IsAddHaarMeasure := hηHaar |
| 78 | have hγ (a : k) (ha : a ≠ 0) : FunctionsMetaplectic.Construction.gaussianIndex k ψ a = FunctionsMetaplectic.Construction.gaussianIndex ℂ η (e a) := |
| 79 | by |
| 80 | rw [(ComplexFieldGaussian.Construction.complexField_gaussian_normalization hArch e he he' ψ hContinuous hUnitary hNontrivial a ha).2.2, |
| 81 | (ArchimedeanTestSpace.Construction.complex_gaussian_normalization η hηc hηu hηn (e a) ((map_ne_zero e).mpr ha)).2.2] |
| 82 | have hγ1 : FunctionsMetaplectic.Construction.gaussianIndex ℂ η 1 = FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 := by |
| 83 | simpa only [map_one] using (hγ 1 one_ne_zero).symm |
| 84 | refine ⟨ha.1, ha.2.1, ha.2.2.1, ha.2.2.2, |
| 85 | FieldOscillator.Construction.field_metaplecticProjection_surjective e he he' n ψ hsurj, |
| 86 | (fun A => FieldOscillator.Construction.fieldMetaplecticPullback e he he' n ψ (m (FieldGeneratorMatrices.Construction.fieldGeneralLinear e n A))), |
| 87 | (fun B => FieldOscillator.Construction.fieldMetaplecticPullback e he he' n ψ (u (FieldGeneratorMatrices.Construction.fieldSymmetricMatrix e B))), |
| 88 | FieldOscillator.Construction.fieldMetaplecticPullback e he he' n ψ w, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩ |
| 89 | · intro A |
| 90 | rw [FieldOscillator.Construction.fieldMetaplecticPullback_projection, hm, ← FieldGeneratorMatrices.Construction.fieldSymplecticMap_levi, FieldOscillator.Construction.fieldSymplecticMap_symm] |
| 91 | · intro B |
| 92 | rw [FieldOscillator.Construction.fieldMetaplecticPullback_projection, hu, ← FieldGeneratorMatrices.Construction.fieldSymplecticMap_quadratic, FieldOscillator.Construction.fieldSymplecticMap_symm] |
| 93 | · rw [FieldOscillator.Construction.fieldMetaplecticPullback_projection, hw, ← FieldGeneratorMatrices.Construction.fieldSymplecticMap_weyl e n, FieldOscillator.Construction.fieldSymplecticMap_symm] |
| 94 | · intro A f x |
| 95 | have hγdet : FunctionsMetaplectic.Construction.gaussianIndex ℂ η (FunctionsMetaplectic.Construction.determinantUnit ℂ (FieldGeneratorMatrices.Construction.fieldGeneralLinear e n A)) = |
| 96 | FunctionsMetaplectic.Construction.gaussianIndex k ψ (FunctionsMetaplectic.Construction.determinantUnit k A) := by |
| 97 | rw [FieldGeneratorMatrices.Construction.fieldGeneralLinear_determinant] |
| 98 | exact (hγ (FunctionsMetaplectic.Construction.determinantUnit k A) (FunctionsMetaplectic.Construction.determinantUnit k A).ne_zero).symm |
| 99 | have hmod : FunctionsMetaplectic.Construction.localModulus ℂ (FunctionsMetaplectic.Construction.determinantUnit ℂ (FieldGeneratorMatrices.Construction.fieldGeneralLinear e n A)) = |
| 100 | FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) := by |
| 101 | rw [FieldGeneratorMatrices.Construction.fieldGeneralLinear_determinant] |
| 102 | exact (FieldCoordinates.Construction.field_localModulus e he he' (FunctionsMetaplectic.Construction.determinantUnit k A)).symm |
| 103 | rw [FieldOscillator.Construction.fieldMetaplecticPullback_apply, hma, hγdet, hγ1, hmod] |
| 104 | change _ * f.val (fun i => e.symm (Matrix.mulVec |
| 105 | (↑((FieldGeneratorMatrices.Construction.fieldGeneralLinear e n A)⁻¹) : Matrix (Fin n) (Fin n) ℂ) (fun j => e (x j)) i)) = _ |
| 106 | rw [FieldGeneratorMatrices.Construction.fieldGeneralLinear_inverse_mulVec] |
| 107 | · intro B f x |
| 108 | rw [FieldOscillator.Construction.fieldMetaplecticPullback_apply, hua] |
| 109 | change ψ (e.symm ((∑ i, ∑ j, e (x i) * (FieldGeneratorMatrices.Construction.fieldSymmetricMatrix e B).val i j * e (x j)) / 2)) * |
| 110 | f.val (fun i => e.symm (e (x i))) = _ |
| 111 | rw [FieldGeneratorMatrices.Construction.fieldSymmetricMatrix_quadratic] |
| 112 | simp only [RingEquiv.symm_apply_apply] |
| 113 | · intro f x |
| 114 | rw [FieldOscillator.Construction.fieldMetaplecticPullback_apply, hwa, hγ1] |
| 115 | have hmap := (ComplexFieldNormalization.Construction.complexField_selfDual_normalization e he he' ψ hContinuous hUnitary hNontrivial).2.2 |
| 116 | have hF := FieldFourier.Construction.field_fourierIntegral e he he' (FunctionsMetaplectic.Construction.selfDualMeasure k ψ) (FunctionsMetaplectic.Construction.selfDualMeasure ℂ η) |
| 117 | hmap n ψ f.val (fun i => e (x i)) |
| 118 | simp only [RingEquiv.symm_apply_apply] at hF |
| 119 | exact congrArg (fun z : ℂ => (FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 ^ n)⁻¹ * z) hF |
| 120 | · intro g h hgh |
| 121 | have hker : FunctionsMetaplectic.Construction.metaplecticProjection k n ψ (h * g⁻¹) = 1 := by |
| 122 | rw [map_mul, map_inv, hgh, mul_inv_cancel] |
| 123 | obtain ⟨ε, hε, hs⟩ := ArchimedeanKernel.Construction.archimedean_metaplectic_kernel_sign hNondiscrete hArch ψ |
| 124 | hContinuous hUnitary hNontrivial (h * g⁻¹) hker |
| 125 | refine ⟨ε, hε, fun f => ?_⟩ |
| 126 | have hh := hs (g.val.val.2 f) |
| 127 | change h.val.val.2 (g.val.val.2.symm (g.val.val.2 f)) = ε • g.val.val.2 f at hh |
| 128 | simpa only [LinearEquiv.symm_apply_apply] using! hh |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.RepresentationTheory.Weil.Local.ComplexFieldTheorem.Construction |