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.Rational |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.NonarchimedeanIntertwiner |
| 3 | |
| 4 | /-! # Rational Levi -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.RationalLevi.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual normalized rational Levi lifts and their finite-place vacua. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory |
| 13 | open scoped Classical _root_.NumberField BigOperators |
| 14 | |
| 15 | open OAI.RepresentationTheory.Weil.AdelicSplitting.NonarchimedeanIntertwiner.LocalAnalysis |
| 16 | |
| 17 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 18 | |
| 19 | instance completionSecondCountableTopology (v : ArchimedeanAdeles.Construction.Places F) : |
| 20 | SecondCountableTopology (ArchimedeanAdeles.Construction.Completion F v) := by |
| 21 | cases v with |
| 22 | | inl v => |
| 23 | let : NontriviallyNormedField v.Completion := |
| 24 | { (inferInstance : NormedField v.Completion) with |
| 25 | non_trivial := ⟨algebraMap F v.Completion 2, by |
| 26 | change 1 < ‖((WithAbs.equiv v.1).symm (2 : F) : v.Completion)‖ |
| 27 | rw [NumberField.InfinitePlace.Completion.norm_coe] |
| 28 | change 1 < v (2 : F) |
| 29 | rw [show (2 : F) = (2 : ℕ) from rfl, v.map_natCast] |
| 30 | norm_num⟩ } |
| 31 | let : ProperSpace v.Completion := |
| 32 | ProperSpace.of_nontriviallyNormedField_of_weaklyLocallyCompactSpace v.Completion |
| 33 | infer_instance |
| 34 | | inr v => infer_instance |
| 35 | |
| 36 | theorem positive_scalar_eigenvector |
| 37 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 38 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] |
| 39 | {N : ℕ} {ψ : AddChar k ℂ} (T : Oscillator.Construction.LocalCover k N ψ) |
| 40 | (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat k N) (hf : f ≠ 0) (c : ℝ) (hc : 0 < c) |
| 41 | (he : Oscillator.Construction.localOperator k N ψ T f = (c : ℂ) • f) : c = 1 := by |
| 42 | have hE : Local.FunctionsMetaplectic.Construction.l2Energy k N f ≠ 0 := by |
| 43 | exact (TestSpace.LocalAnalysis.schwartzBruhat_integral_norm_sq_eq_zero_iff |
| 44 | (Measure.pi (fun _ : Fin N => (Measure.addHaar : Measure k))) f).not.mpr hf |
| 45 | have h := T.property.1 f |
| 46 | change Local.FunctionsMetaplectic.Construction.l2Energy k N (Oscillator.Construction.localOperator k N ψ T f) = Local.FunctionsMetaplectic.Construction.l2Energy k N f at h |
| 47 | rw [he] at h |
| 48 | have hscale : Local.FunctionsMetaplectic.Construction.l2Energy k N ((c : ℂ) • f) = c ^ 2 * Local.FunctionsMetaplectic.Construction.l2Energy k N f := by |
| 49 | unfold Local.FunctionsMetaplectic.Construction.l2Energy |
| 50 | simp only [Submodule.coe_smul, Pi.smul_apply, smul_eq_mul, norm_mul, |
| 51 | Complex.norm_real, Real.norm_eq_abs, abs_of_pos hc, mul_pow] |
| 52 | exact integral_const_mul _ _ |
| 53 | rw [hscale] at h |
| 54 | have hc2 : c ^ 2 = 1 := mul_right_cancel₀ hE (h.trans (one_mul _).symm) |
| 55 | nlinarith |
| 56 | |
| 57 | theorem finitePositionLattice_mulVec |
| 58 | (v : IsDedekindDomain.HeightOneSpectrum (𝓞 F)) |
| 59 | (A : Matrix (Fin N) (Fin N) (v.adicCompletion F)) |
| 60 | (hA : ∀ i j, A i j ∈ v.adicCompletionIntegers F) |
| 61 | {x : Local.FunctionsMetaplectic.Construction.Position (v.adicCompletion F) N} (hx : x ∈ Vacuum.Construction.finitePositionLattice F N v) : |
| 62 | A.mulVec x ∈ Vacuum.Construction.finitePositionLattice F N v := by |
| 63 | intro i _ |
| 64 | apply (v.adicCompletionIntegers F).sum_mem |
| 65 | intro j _ |
| 66 | exact (v.adicCompletionIntegers F).toSubring.mul_mem (hA i j) (hx j (Set.mem_univ j)) |
| 67 | |
| 68 | theorem finiteVacuum_substitution |
| 69 | (v : IsDedekindDomain.HeightOneSpectrum (𝓞 F)) |
| 70 | (A : Local.FunctionsMetaplectic.Construction.GeneralLinear (v.adicCompletion F) N) |
| 71 | (hA : ∀ i j, A.val i j ∈ v.adicCompletionIntegers F) |
| 72 | (hAi : ∀ i j, (A⁻¹).val i j ∈ v.adicCompletionIntegers F) |
| 73 | (x : Local.FunctionsMetaplectic.Construction.Position (v.adicCompletion F) N) : |
| 74 | (Vacuum.Construction.finiteVacuum F N v).val ((A⁻¹).val.mulVec x) = (Vacuum.Construction.finiteVacuum F N v).val x := by |
| 75 | have hi : (A⁻¹).val.mulVec x ∈ Vacuum.Construction.finitePositionLattice F N v ↔ |
| 76 | x ∈ Vacuum.Construction.finitePositionLattice F N v := by |
| 77 | constructor |
| 78 | · intro hx |
| 79 | have h := finitePositionLattice_mulVec F N v A.val hA hx |
| 80 | simpa only [Matrix.mulVec_mulVec, ← Units.val_mul, mul_inv_cancel, |
| 81 | Units.val_one, Matrix.one_mulVec] using h |
| 82 | · exact finitePositionLattice_mulVec F N v (A⁻¹).val hAi |
| 83 | change (Vacuum.Construction.finitePositionLattice F N v).indicator (fun _ => (1 : ℂ)) |
| 84 | ((A⁻¹).val.mulVec x) = (Vacuum.Construction.finitePositionLattice F N v).indicator (fun _ => (1 : ℂ)) x |
| 85 | simp only [Set.indicator_apply, hi] |
| 86 | |
| 87 | theorem finite_linearOscillator_fixes_vacuum |
| 88 | (v : IsDedekindDomain.HeightOneSpectrum (𝓞 F)) |
| 89 | [MeasurableSpace (v.adicCompletion F)] [BorelSpace (v.adicCompletion F)] |
| 90 | (ψ : AddChar (v.adicCompletion F) ℂ) (A : Local.FunctionsMetaplectic.Construction.GeneralLinear (v.adicCompletion F) N) |
| 91 | (hA : ∀ i j, A.val i j ∈ v.adicCompletionIntegers F) |
| 92 | (hAi : ∀ i j, (A⁻¹).val i j ∈ v.adicCompletionIntegers F) : |
| 93 | Oscillator.Construction.localOperator (v.adicCompletion F) N ψ (NonarchimedeanIntertwiner.LocalAnalysis.linearOscillator ψ A) (Vacuum.Construction.finiteVacuum F N v) = |
| 94 | Vacuum.Construction.finiteVacuum F N v := by |
| 95 | let c := LinearSubstitution.LocalAnalysis.coordinateScale (LinearSubstitution.LocalAnalysis.positionAddEquiv A) |
| 96 | have he : Oscillator.Construction.localOperator (v.adicCompletion F) N ψ (NonarchimedeanIntertwiner.LocalAnalysis.linearOscillator ψ A) |
| 97 | (Vacuum.Construction.finiteVacuum F N v) = (c : ℂ) • Vacuum.Construction.finiteVacuum F N v := by |
| 98 | apply Subtype.ext |
| 99 | funext x |
| 100 | change (c : ℂ) * (Vacuum.Construction.finiteVacuum F N v).val ((A⁻¹).val.mulVec x) = |
| 101 | (c : ℂ) * (Vacuum.Construction.finiteVacuum F N v).val x |
| 102 | rw [finiteVacuum_substitution F N v A hA hAi] |
| 103 | have hf : Vacuum.Construction.finiteVacuum F N v ≠ 0 := by |
| 104 | intro h |
| 105 | have hz := Vacuum.Construction.finiteVacuum_zero F N v |
| 106 | rw [h] at hz |
| 107 | exact zero_ne_one hz |
| 108 | have hc := positive_scalar_eigenvector (NonarchimedeanIntertwiner.LocalAnalysis.linearOscillator ψ A) (Vacuum.Construction.finiteVacuum F N v) |
| 109 | hf c (LinearSubstitution.LocalAnalysis.coordinateScale_pos (LinearSubstitution.LocalAnalysis.positionAddEquiv A)) he |
| 110 | simpa only [hc, Complex.ofReal_one, one_smul] using he |
| 111 | |
| 112 | variable (ψ : AddChar (ArchimedeanAdeles.Construction.Adeles F) ℂ) |
| 113 | |
| 114 | def rationalLeviLocal (A : Local.FunctionsMetaplectic.Construction.GeneralLinear F N) (v : ArchimedeanAdeles.Construction.Places F) : Vacuum.Construction.CoverAt F N ψ v := |
| 115 | NonarchimedeanIntertwiner.LocalAnalysis.linearOscillator (Characters.Construction.localAdditiveCharacter F ψ v) (Rational.Construction.localizeLinear F N A v) |
| 116 | |
| 117 | theorem rationalLeviLocal_covers (A : Local.FunctionsMetaplectic.Construction.GeneralLinear F N) (v : ArchimedeanAdeles.Construction.Places F) : |
| 118 | Vacuum.Construction.projectionAt F N ψ v (rationalLeviLocal F N ψ A v) = |
| 119 | Vacuum.Construction.rationalSymplecticLocal F N v (Local.Generators.Construction.leviSymplectic A) := by |
| 120 | apply Subtype.ext |
| 121 | ext i j |
| 122 | cases i <;> cases j <;> |
| 123 | simp [rationalLeviLocal, Vacuum.Construction.projectionAt, Oscillator.Construction.localProjection, NonarchimedeanIntertwiner.LocalAnalysis.linearOscillator, |
| 124 | Rational.Construction.localizeLinear, Vacuum.Construction.rationalSymplecticLocal, Vacuum.Construction.mapSymplectic, Local.Generators.Construction.leviSymplectic, Matrix.fromBlocks] |
| 125 | |
| 126 | theorem localizeLinear_integral (A : Local.FunctionsMetaplectic.Construction.GeneralLinear F N) : |
| 127 | ∀ᶠ v in Filter.cofinite, |
| 128 | (∀ i j, (Rational.Construction.localizeLinear F N A v).val i j ∈ Integral.Construction.localIntegerRing F v) ∧ |
| 129 | (∀ i j, ((Rational.Construction.localizeLinear F N A v)⁻¹).val i j ∈ Integral.Construction.localIntegerRing F v) := by |
| 130 | have hA : ∀ᶠ v in Filter.cofinite, ∀ i j, |
| 131 | ArchimedeanAdeles.Construction.rationalScalar F v (A.val i j) ∈ Integral.Construction.localIntegerRing F v := |
| 132 | Filter.eventually_all.mpr fun i => Filter.eventually_all.mpr fun j => |
| 133 | Integral.Construction.rationalScalar_integral F (A.val i j) |
| 134 | have hAi : ∀ᶠ v in Filter.cofinite, ∀ i j, |
| 135 | ArchimedeanAdeles.Construction.rationalScalar F v ((A⁻¹).val i j) ∈ Integral.Construction.localIntegerRing F v := |
| 136 | Filter.eventually_all.mpr fun i => Filter.eventually_all.mpr fun j => |
| 137 | Integral.Construction.rationalScalar_integral F ((A⁻¹).val i j) |
| 138 | exact hA.and hAi |
| 139 | |
| 140 | theorem rationalLeviLocal_integral (A : Local.FunctionsMetaplectic.Construction.GeneralLinear F N) : |
| 141 | ∀ᶠ v in Filter.cofinite, rationalLeviLocal F N ψ A v ∈ Vacuum.Construction.coverIntegral F N ψ v := by |
| 142 | filter_upwards [Vacuum.Construction.rationalSymplecticLocal_integral F N (Local.Generators.Construction.leviSymplectic A), |
| 143 | localizeLinear_integral F N A] with v hp hA |
| 144 | refine ⟨?_, ?_⟩ |
| 145 | · change Vacuum.Construction.projectionAt F N ψ v (rationalLeviLocal F N ψ A v) ∈ Vacuum.Construction.symplecticIntegral F N v |
| 146 | rwa [rationalLeviLocal_covers] |
| 147 | · cases v with |
| 148 | | inl v => trivial |
| 149 | | inr v => |
| 150 | let : MeasurableSpace (v.adicCompletion F) := ArchimedeanAdeles.Construction.completionMeasurableSpace F (.inr v) |
| 151 | let : BorelSpace (v.adicCompletion F) := ArchimedeanAdeles.Construction.completionBorelSpace F (.inr v) |
| 152 | exact finite_linearOscillator_fixes_vacuum F N v (Characters.Construction.localAdditiveCharacter F ψ (.inr v)) |
| 153 | (Rational.Construction.localizeLinear F N A (.inr v)) hA.1 hA.2 |
| 154 | |
| 155 | def rationalLeviFamily (A : Local.FunctionsMetaplectic.Construction.GeneralLinear F N) : Rational.Construction.RestrictedCover F N ψ := |
| 156 | ⟨rationalLeviLocal F N ψ A, rationalLeviLocal_integral F N ψ A⟩ |
| 157 | |
| 158 | theorem rationalLeviFamily_spec (A : Local.FunctionsMetaplectic.Construction.GeneralLinear F N) : |
| 159 | Rational.Construction.IsRationalLevi F N ψ A (rationalLeviFamily F N ψ A) := by |
| 160 | constructor |
| 161 | · exact rationalLeviLocal_covers F N ψ A |
| 162 | · intro v f x |
| 163 | exact NonarchimedeanIntertwiner.LocalAnalysis.linearOscillator_apply (Characters.Construction.localAdditiveCharacter F ψ v) (Rational.Construction.localizeLinear F N A v) f x |
| 164 | |
| 165 | theorem rationalGraph_contains_levi (A : Local.FunctionsMetaplectic.Construction.GeneralLinear F N) : |
| 166 | (Local.Generators.Construction.leviSymplectic A, Rational.Construction.assembleGlobalCover F N ψ (rationalLeviFamily F N ψ A)) ∈ |
| 167 | Rational.Construction.rationalGraph F N ψ := |
| 168 | Subgroup.subset_closure (Or.inl ⟨A, rationalLeviFamily F N ψ A, |
| 169 | rationalLeviFamily_spec F N ψ A, rfl⟩) |
| 170 | |
| 171 | end |
| 172 | |
| 173 | end OAI.RepresentationTheory.Weil.AdelicSplitting.RationalLevi.Construction |