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.RationalLevi |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.NonarchimedeanIntertwiner |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.ArchimedeanCharacters |
| 4 | import OAI.RepresentationTheory.Weil.AdelicSplitting.FieldTransport |
| 5 | import OAI.RepresentationTheory.Weil.AdelicSplitting.UnramifiedCharacter |
| 6 | |
| 7 | /-! # Quadratic Generators -/ |
| 8 | |
| 9 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.QuadraticGenerators.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Actual quadratic oscillator generators at all places of a number field. -/ |
| 14 | |
| 15 | open Filter |
| 16 | open scoped Classical _root_.NumberField |
| 17 | |
| 18 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 19 | (ψ : AddChar (ArchimedeanAdeles.Construction.Adeles F) ℂ) (hu : ∀ x, ‖ψ x‖ = 1) (hc : Continuous ψ) |
| 20 | |
| 21 | include hu hc in |
| 22 | theorem localQuadratic_stability (v : ArchimedeanAdeles.Construction.Places F) |
| 23 | (B : Matrix (Fin N) (Fin N) (ArchimedeanAdeles.Construction.Completion F v)) (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat (ArchimedeanAdeles.Construction.Completion F v) N) : |
| 24 | Local.FunctionsMetaplectic.Construction.quadraticOperator (Characters.Construction.localAdditiveCharacter F ψ v) B f.val ∈ Local.FunctionsMetaplectic.Construction.schwartzBruhat (ArchimedeanAdeles.Construction.Completion F v) N := by |
| 25 | cases v with |
| 26 | | inl v => |
| 27 | rcases v.isReal_or_isComplex with hv | hv |
| 28 | · let e := NumberField.InfinitePlace.Completion.ringEquivRealOfIsReal hv |
| 29 | have he : Continuous e := |
| 30 | (NumberField.InfinitePlace.Completion.isometryEquivRealOfIsReal hv).continuous |
| 31 | have hi : Continuous e.symm := |
| 32 | (NumberField.InfinitePlace.Completion.isometryEquivRealOfIsReal hv).symm.continuous |
| 33 | apply FieldTransport.LocalAnalysis.quadratic_stability_fieldTransport e he hi _ _ B f |
| 34 | intro A g |
| 35 | apply ArchimedeanCharacters.LocalAnalysis.quadraticOperator_archimedean_mem _ _ A g.property |
| 36 | exact ArchimedeanCharacters.LocalAnalysis.real_character_temperate _ |
| 37 | ((Characters.Construction.localAdditiveCharacter_continuous F ψ hc (.inl v)).comp hi) |
| 38 | (fun t => Characters.Construction.localAdditiveCharacter_unitary F ψ hu (.inl v) _) |
| 39 | · let e := NumberField.InfinitePlace.Completion.ringEquivComplexOfIsComplex hv |
| 40 | have he : Continuous e := |
| 41 | (NumberField.InfinitePlace.Completion.isometryEquivComplexOfIsComplex hv).continuous |
| 42 | have hi : Continuous e.symm := |
| 43 | (NumberField.InfinitePlace.Completion.isometryEquivComplexOfIsComplex hv).symm.continuous |
| 44 | apply FieldTransport.LocalAnalysis.quadratic_stability_fieldTransport e he hi _ _ B f |
| 45 | intro A g |
| 46 | apply ArchimedeanCharacters.LocalAnalysis.quadraticOperator_archimedean_mem _ _ A g.property |
| 47 | exact ArchimedeanCharacters.LocalAnalysis.complex_character_temperate _ |
| 48 | ((Characters.Construction.localAdditiveCharacter_continuous F ψ hc (.inl v)).comp hi) |
| 49 | (fun t => Characters.Construction.localAdditiveCharacter_unitary F ψ hu (.inl v) _) |
| 50 | | inr v => |
| 51 | exact NonarchimedeanIntertwiner.LocalAnalysis.nonarchimedean_quadratic_mem (Characters.Construction.localAdditiveCharacter F ψ (.inr v)) |
| 52 | (Characters.Construction.localAdditiveCharacter_unitary F ψ hu (.inr v)) |
| 53 | (Characters.Construction.localAdditiveCharacter_continuous F ψ hc (.inr v)) B f |
| 54 | |
| 55 | def quadraticAtPlace (v : ArchimedeanAdeles.Construction.Places F) (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix (ArchimedeanAdeles.Construction.Completion F v) N) : Vacuum.Construction.CoverAt F N ψ v := |
| 56 | NonarchimedeanIntertwiner.LocalAnalysis.quadraticOscillator (Characters.Construction.localAdditiveCharacter F ψ v) (localQuadratic_stability F N ψ hu hc v) |
| 57 | (Characters.Construction.localAdditiveCharacter_unitary F ψ hu v) B |
| 58 | |
| 59 | theorem quadraticAtPlace_covers (v : ArchimedeanAdeles.Construction.Places F) (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix (ArchimedeanAdeles.Construction.Completion F v) N) : |
| 60 | Vacuum.Construction.projectionAt F N ψ v (quadraticAtPlace F N ψ hu hc v B) = Local.Generators.Construction.quadraticSymplectic B := rfl |
| 61 | |
| 62 | theorem quadraticAtPlace_apply (v : ArchimedeanAdeles.Construction.Places F) (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix (ArchimedeanAdeles.Construction.Completion F v) N) |
| 63 | (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat (ArchimedeanAdeles.Construction.Completion F v) N) (x : Local.FunctionsMetaplectic.Construction.Position (ArchimedeanAdeles.Construction.Completion F v) N) : |
| 64 | (Oscillator.Construction.localOperator (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v) |
| 65 | (quadraticAtPlace F N ψ hu hc v B) f).val x = |
| 66 | Characters.Construction.localAdditiveCharacter F ψ v (Local.FunctionsMetaplectic.Construction.quadratic B.val x) * f.val x := rfl |
| 67 | |
| 68 | theorem finite_quadratic_vacuum |
| 69 | (v : IsDedekindDomain.HeightOneSpectrum (𝓞 F)) |
| 70 | (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix (ArchimedeanAdeles.Construction.Completion F (.inr v)) N) |
| 71 | (hB : ∀ i j, B.val i j / 2 ∈ v.adicCompletionIntegers F) |
| 72 | (hψ : ∀ x ∈ v.adicCompletionIntegers F, Characters.Construction.localAdditiveCharacter F ψ (.inr v) x = 1) : |
| 73 | (quadraticAtPlace F N ψ hu hc (.inr v) B).val.2 (Vacuum.Construction.finiteVacuum F N v) = |
| 74 | Vacuum.Construction.finiteVacuum F N v := by |
| 75 | apply Subtype.ext |
| 76 | funext x |
| 77 | rw [show ((quadraticAtPlace F N ψ hu hc (.inr v) B).val.2 (Vacuum.Construction.finiteVacuum F N v)).val x = |
| 78 | Characters.Construction.localAdditiveCharacter F ψ (.inr v) (Local.FunctionsMetaplectic.Construction.quadratic B.val x) * (Vacuum.Construction.finiteVacuum F N v).val x from |
| 79 | quadraticAtPlace_apply F N ψ hu hc (.inr v) B (Vacuum.Construction.finiteVacuum F N v) x] |
| 80 | by_cases hx : x ∈ Vacuum.Construction.finitePositionLattice F N v |
| 81 | · have hq : Local.FunctionsMetaplectic.Construction.quadratic B.val x ∈ v.adicCompletionIntegers F := by |
| 82 | have he : Local.FunctionsMetaplectic.Construction.quadratic B.val x = ∑ i, ∑ j, x i * (B.val i j / 2) * x j := by |
| 83 | simp only [Local.FunctionsMetaplectic.Construction.quadratic, Finset.sum_div] |
| 84 | apply Finset.sum_congr rfl |
| 85 | intro i _ |
| 86 | apply Finset.sum_congr rfl |
| 87 | intro j _ |
| 88 | ring |
| 89 | rw [he] |
| 90 | apply (v.adicCompletionIntegers F).sum_mem |
| 91 | intro i _ |
| 92 | apply (v.adicCompletionIntegers F).sum_mem |
| 93 | intro j _ |
| 94 | exact (v.adicCompletionIntegers F).toSubring.mul_mem |
| 95 | ((v.adicCompletionIntegers F).toSubring.mul_mem (hx i (Set.mem_univ i)) (hB i j)) |
| 96 | (hx j (Set.mem_univ j)) |
| 97 | rw [hψ _ hq, one_mul] |
| 98 | · have hzero : (Vacuum.Construction.finiteVacuum F N v).val x = 0 := Set.indicator_of_notMem hx _ |
| 99 | rw [hzero, mul_zero] |
| 100 | |
| 101 | def localizeQuadratic (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix F N) (v : ArchimedeanAdeles.Construction.Places F) : |
| 102 | Local.FunctionsMetaplectic.Construction.SymmetricMatrix (ArchimedeanAdeles.Construction.Completion F v) N := |
| 103 | ⟨B.val.map (ArchimedeanAdeles.Construction.rationalScalar F v), B.property.map _⟩ |
| 104 | |
| 105 | def rationalQuadraticFamilyLocal (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix F N) (v : ArchimedeanAdeles.Construction.Places F) : Vacuum.Construction.CoverAt F N ψ v := |
| 106 | quadraticAtPlace F N ψ hu hc v (localizeQuadratic F N B v) |
| 107 | |
| 108 | theorem rationalQuadraticFamilyLocal_covers (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix F N) (v : ArchimedeanAdeles.Construction.Places F) : |
| 109 | Vacuum.Construction.projectionAt F N ψ v (rationalQuadraticFamilyLocal F N ψ hu hc B v) = |
| 110 | Vacuum.Construction.rationalSymplecticLocal F N v (Local.Generators.Construction.quadraticSymplectic B) := by |
| 111 | apply Subtype.ext |
| 112 | ext i j |
| 113 | cases i <;> cases j <;> |
| 114 | simp [rationalQuadraticFamilyLocal, quadraticAtPlace, NonarchimedeanIntertwiner.LocalAnalysis.quadraticOscillator, |
| 115 | Vacuum.Construction.projectionAt, Oscillator.Construction.localProjection, Local.Generators.Construction.quadraticSymplectic, localizeQuadratic, |
| 116 | Vacuum.Construction.rationalSymplecticLocal, Vacuum.Construction.mapSymplectic, Matrix.fromBlocks, Matrix.one_apply] |
| 117 | |
| 118 | theorem rationalQuadraticFamilyLocal_integral (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix F N) : |
| 119 | ∀ᶠ v in cofinite, rationalQuadraticFamilyLocal F N ψ hu hc B v ∈ Vacuum.Construction.coverIntegral F N ψ v := by |
| 120 | have hhalf : ∀ᶠ v in cofinite, ∀ i j, |
| 121 | ArchimedeanAdeles.Construction.rationalScalar F v (B.val i j / 2) ∈ Integral.Construction.localIntegerRing F v := |
| 122 | Filter.eventually_all.mpr (fun i => Filter.eventually_all.mpr (fun j => |
| 123 | Integral.Construction.rationalScalar_integral F (B.val i j / 2))) |
| 124 | have hchar := UnramifiedCharacter.Construction.eventually_cofinite_sum_right (I := NumberField.InfinitePlace F) _ |
| 125 | (UnramifiedCharacter.Construction.localAdditiveCharacter_unramified_finite F ψ hu hc) |
| 126 | filter_upwards [Vacuum.Construction.rationalSymplecticLocal_integral F N (Local.Generators.Construction.quadraticSymplectic B), hhalf, hchar] |
| 127 | with v hp hB hψ |
| 128 | refine ⟨?_, ?_⟩ |
| 129 | · change Vacuum.Construction.projectionAt F N ψ v (rationalQuadraticFamilyLocal F N ψ hu hc B v) ∈ |
| 130 | Vacuum.Construction.symplecticIntegral F N v |
| 131 | rwa [rationalQuadraticFamilyLocal_covers] |
| 132 | · cases v with |
| 133 | | inl v => trivial |
| 134 | | inr v => |
| 135 | apply finite_quadratic_vacuum F N ψ hu hc v (localizeQuadratic F N B (.inr v)) _ hψ |
| 136 | intro i j |
| 137 | change ArchimedeanAdeles.Construction.rationalScalar F (.inr v) (B.val i j) / 2 ∈ Integral.Construction.localIntegerRing F (.inr v) |
| 138 | simpa only [map_div₀, map_ofNat] using hB i j |
| 139 | |
| 140 | def rationalQuadraticFamily (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix F N) : Rational.Construction.RestrictedCover F N ψ := |
| 141 | ⟨rationalQuadraticFamilyLocal F N ψ hu hc B, |
| 142 | rationalQuadraticFamilyLocal_integral F N ψ hu hc B⟩ |
| 143 | |
| 144 | theorem rationalQuadraticFamily_spec (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix F N) : |
| 145 | Rational.Construction.IsRationalQuadratic F N ψ B (rationalQuadraticFamily F N ψ hu hc B) := by |
| 146 | constructor |
| 147 | · exact rationalQuadraticFamilyLocal_covers F N ψ hu hc B |
| 148 | · intro v f x |
| 149 | rfl |
| 150 | |
| 151 | theorem rationalGraph_contains_quadratic (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix F N) : |
| 152 | (Local.Generators.Construction.quadraticSymplectic B, Rational.Construction.assembleGlobalCover F N ψ (rationalQuadraticFamily F N ψ hu hc B)) ∈ |
| 153 | Rational.Construction.rationalGraph F N ψ := |
| 154 | Subgroup.subset_closure (Or.inr (Or.inl ⟨B, rationalQuadraticFamily F N ψ hu hc B, |
| 155 | rationalQuadraticFamily_spec F N ψ hu hc B, rfl⟩)) |
| 156 | |
| 157 | end |
| 158 | |
| 159 | end OAI.RepresentationTheory.Weil.AdelicSplitting.QuadraticGenerators.Construction |