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.AlgebraicGeometry.HodgeConjecture.CMExtraction.Parameters |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.LocalPadic |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicModelMap |
| 4 | |
| 5 | /-! # Compatible Qadic Choice -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CompatibleQadicChoice.ParameterChoices |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Construct a q-adic choice while preserving the already chosen complex |
| 14 | and local closure embeddings. Normality aligns any available embedding |
| 15 | of the arithmetic field with this exact local closure. -/ |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Coefficients.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ChosenCharacters.CM |
| 18 | open OAI.AlgebraicGeometry.PELModuli.CMPoints.LocalPadic |
| 19 | |
| 20 | variable {K : Type} [Field K] [NumberField K] |
| 21 | |
| 22 | def fieldInChosenClosure (j : ParameterChoices.Qbar →+* ℂ) (κ : K →+* ℂ) : K →ₐ[ℚ] ParameterChoices.Qbar := |
| 23 | (HeckeCycles.ChosenCharacters.CM.chosenClosureEquiv j).symm.toAlgHom.comp |
| 24 | (κ.toRatAlgHom.codRestrict HeckeCycles.Coefficients.CM.algebraicField.toSubalgebra |
| 25 | (fun x => mem_algebraicClosure_iff.mpr |
| 26 | ((Algebra.IsAlgebraic.isAlgebraic (R := ℚ) x).algHom κ.toRatAlgHom))) |
| 27 | |
| 28 | theorem fieldInChosenClosure_image (j : ParameterChoices.Qbar →+* ℂ) (κ : K →+* ℂ) (x : K) : |
| 29 | j (fieldInChosenClosure j κ x) = κ x := HeckeCycles.ChosenCharacters.CM.chosenClosureEquiv_inverse j _ |
| 30 | |
| 31 | theorem fieldInChosenClosure_compatible (j : ParameterChoices.Qbar →+* ℂ) (κ : K →+* ℂ) : |
| 32 | j.comp (fieldInChosenClosure j κ).toRingHom = κ := by |
| 33 | ext x |
| 34 | exact fieldInChosenClosure_image j κ x |
| 35 | |
| 36 | variable {q : ℕ} [Fact q.Prime] |
| 37 | |
| 38 | def compatiblePadicEmbedding [IsGalois ℚ K] |
| 39 | (ψ : K →+* ParameterChoices.Qbar) (ι : ParameterChoices.Qbar →+* AlgebraicClosure ℚ_[q]) (f : K →+* ℚ_[q]) : K →+* ℚ_[q] := |
| 40 | f.comp (GaloisDiscrete.ParameterChoices.embeddingAutEquiv ((algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp f) |
| 41 | (ι.comp ψ).toRatAlgHom).toRingHom |
| 42 | |
| 43 | theorem compatiblePadicEmbedding_spec [IsGalois ℚ K] |
| 44 | (ψ : K →+* ParameterChoices.Qbar) (ι : ParameterChoices.Qbar →+* AlgebraicClosure ℚ_[q]) (f : K →+* ℚ_[q]) : |
| 45 | (algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp (compatiblePadicEmbedding ψ ι f) = ι.comp ψ := by |
| 46 | ext x |
| 47 | exact GaloisDiscrete.ParameterChoices.embeddingAutEquiv_spec ((algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp f) |
| 48 | (ι.comp ψ).toRatAlgHom x |
| 49 | |
| 50 | def qadicChoiceInChosenClosure (κ : K →+* ℂ) (j : ParameterChoices.Qbar →+* ℂ) |
| 51 | (ι : ParameterChoices.Qbar →+* AlgebraicClosure ℚ_[q]) (f : K →+* ℚ_[q]) |
| 52 | (hf : (algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp f = |
| 53 | ι.comp (fieldInChosenClosure j κ).toRingHom) : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q where |
| 54 | complexClosure := j |
| 55 | fieldInClosure := (fieldInChosenClosure j κ).toRingHom |
| 56 | complex_compatibility := fieldInChosenClosure_compatible j κ |
| 57 | iota := ι |
| 58 | prime := PELModuli.CMPoints.LocalPadic.embeddingPlace f |
| 59 | liesOver := PELModuli.CMPoints.LocalPadic.embeddingPlace_liesOver f |
| 60 | completion := PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv f |
| 61 | completion_continuous := PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv_continuous f |
| 62 | completion_inverse_continuous := PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv_symm_continuous f |
| 63 | closure_compatibility := by rw [PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv_comp]; exact hf.symm |
| 64 | integralEmbedding := PELModuli.CMPoints.LocalPadic.integersToPadicInt f |
| 65 | integral_compatibility := by |
| 66 | rw [PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv_comp] |
| 67 | ext x |
| 68 | exact PELModuli.CMPoints.LocalPadic.integersToPadicInt_coe f x |
| 69 | |
| 70 | theorem qadicChoiceInChosenClosure_embedding (κ : K →+* ℂ) (j : ParameterChoices.Qbar →+* ℂ) |
| 71 | (ι : ParameterChoices.Qbar →+* AlgebraicClosure ℚ_[q]) (f : K →+* ℚ_[q]) |
| 72 | (hf : (algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp f = |
| 73 | ι.comp (fieldInChosenClosure j κ).toRingHom) : |
| 74 | HeckeCycles.QadicModelMap.CM.localFieldEmbedding (qadicChoiceInChosenClosure κ j ι f hf) = f := |
| 75 | PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv_comp f |
| 76 | |
| 77 | def normalFieldQadicChoice [IsGalois ℚ K] (κ : K →+* ℂ) (j : ParameterChoices.Qbar →+* ℂ) |
| 78 | (ι : ParameterChoices.Qbar →+* AlgebraicClosure ℚ_[q]) (f : K →+* ℚ_[q]) : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q := |
| 79 | qadicChoiceInChosenClosure κ j ι |
| 80 | (compatiblePadicEmbedding (fieldInChosenClosure j κ).toRingHom ι f) |
| 81 | (compatiblePadicEmbedding_spec _ ι f) |
| 82 | |
| 83 | theorem normalFieldQadicChoice_closures [IsGalois ℚ K] (κ : K →+* ℂ) (j : ParameterChoices.Qbar →+* ℂ) |
| 84 | (ι : ParameterChoices.Qbar →+* AlgebraicClosure ℚ_[q]) (f : K →+* ℚ_[q]) : |
| 85 | (normalFieldQadicChoice κ j ι f).complexClosure = j ∧ |
| 86 | (normalFieldQadicChoice κ j ι f).iota = ι := ⟨rfl, rfl⟩ |
| 87 | |
| 88 | end |
| 89 | |
| 90 | section |
| 91 | |
| 92 | /-! A prime chosen to split one normal field containing the arithmetic |
| 93 | base supplies the comparison place for every preselected closure embedding. |
| 94 | The arithmetic base itself need not be normal. -/ |
| 95 | |
| 96 | open OAI.AlgebraicGeometry.PELModuli.CMPoints.LocalPadic |
| 97 | |
| 98 | variable {K F : Type} [Field K] [NumberField K] [Field F] [NumberField F] |
| 99 | {q : ℕ} [Fact q.Prime] |
| 100 | |
| 101 | def extendLocalFieldEmbedding (i : K →+* F) (g : K →+* AlgebraicClosure ℚ_[q]) : |
| 102 | F →+* AlgebraicClosure ℚ_[q] := by |
| 103 | let : Algebra K F := i.toAlgebra |
| 104 | let : IsScalarTower ℚ K F := IsScalarTower.of_algebraMap_eq (fun r => by |
| 105 | change (r : F) = i (r : K) |
| 106 | simp) |
| 107 | let : Algebra.IsAlgebraic K F := Algebra.IsAlgebraic.tower_top (K := ℚ) K |
| 108 | let : Algebra K (AlgebraicClosure ℚ_[q]) := g.toAlgebra |
| 109 | exact (IsAlgClosed.lift : F →ₐ[K] AlgebraicClosure ℚ_[q]).toRingHom |
| 110 | |
| 111 | theorem extendLocalFieldEmbedding_spec (i : K →+* F) (g : K →+* AlgebraicClosure ℚ_[q]) : |
| 112 | (extendLocalFieldEmbedding i g).comp i = g := by |
| 113 | let : Algebra K F := i.toAlgebra |
| 114 | let : IsScalarTower ℚ K F := IsScalarTower.of_algebraMap_eq (fun r => by |
| 115 | change (r : F) = i (r : K) |
| 116 | simp) |
| 117 | let : Algebra.IsAlgebraic K F := Algebra.IsAlgebraic.tower_top (K := ℚ) K |
| 118 | let : Algebra K (AlgebraicClosure ℚ_[q]) := g.toAlgebra |
| 119 | ext x |
| 120 | exact (IsAlgClosed.lift : F →ₐ[K] AlgebraicClosure ℚ_[q]).commutes x |
| 121 | |
| 122 | def normalExtensionPadicEmbedding [IsGalois ℚ F] |
| 123 | (i : K →+* F) (g : K →+* AlgebraicClosure ℚ_[q]) (f : F →+* ℚ_[q]) : K →+* ℚ_[q] := |
| 124 | (f.comp (GaloisDiscrete.ParameterChoices.embeddingAutEquiv ((algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp f) |
| 125 | (extendLocalFieldEmbedding i g).toRatAlgHom).toRingHom).comp i |
| 126 | |
| 127 | theorem normalExtensionPadicEmbedding_spec [IsGalois ℚ F] |
| 128 | (i : K →+* F) (g : K →+* AlgebraicClosure ℚ_[q]) (f : F →+* ℚ_[q]) : |
| 129 | (algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp (normalExtensionPadicEmbedding i g f) = g := by |
| 130 | ext x |
| 131 | exact (GaloisDiscrete.ParameterChoices.embeddingAutEquiv_spec ((algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp f) |
| 132 | (extendLocalFieldEmbedding i g).toRatAlgHom (i x)).trans |
| 133 | (RingHom.congr_fun (extendLocalFieldEmbedding_spec i g) x) |
| 134 | |
| 135 | def normalExtensionQadicChoice [IsGalois ℚ F] |
| 136 | (κ : K →+* ℂ) (j : ParameterChoices.Qbar →+* ℂ) (ι : ParameterChoices.Qbar →+* AlgebraicClosure ℚ_[q]) |
| 137 | (i : K →+* F) (f : F →+* ℚ_[q]) : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q := |
| 138 | qadicChoiceInChosenClosure κ j ι |
| 139 | (normalExtensionPadicEmbedding i (ι.comp (fieldInChosenClosure j κ).toRingHom) f) |
| 140 | (normalExtensionPadicEmbedding_spec i _ f) |
| 141 | |
| 142 | theorem exists_fixed_closure_qadicChoice_bound [IsGalois ℚ F] |
| 143 | (κ : K →+* ℂ) (i : K →+* F) : |
| 144 | ∃ d : ℕ, ∀ (q : ℕ) [Fact q.Prime], d < q → PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt F q → |
| 145 | ∀ (j : ParameterChoices.Qbar →+* ℂ) (ι : ParameterChoices.Qbar →+* AlgebraicClosure ℚ_[q]), |
| 146 | ∃ J : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q, |
| 147 | J.complexClosure = j ∧ J.iota = ι ∧ |
| 148 | J.fieldInClosure = (fieldInChosenClosure j κ).toRingHom := by |
| 149 | obtain ⟨d, hd⟩ := PELModuli.CMPoints.LocalPadic.exists_padic_embedding_bound F |
| 150 | refine ⟨d, fun q _ hq hs j ι => ?_⟩ |
| 151 | obtain ⟨f⟩ := hd q hq hs |
| 152 | exact ⟨normalExtensionQadicChoice κ j ι i f, rfl, rfl, rfl⟩ |
| 153 | |
| 154 | end |
| 155 | |
| 156 | /-! The comparison place retains the exact complex embedding, native |
| 157 | closure valuation, and distinguished local embedding on E. -/ |
| 158 | |
| 159 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicModelMap.CM OAI.AlgebraicGeometry.PELModuli.CMPoints.LocalPadic |
| 160 | |
| 161 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 162 | {K : Type} [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 163 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (hg : D.HasIntegralModelGeometry) |
| 164 | (hμ : D.reference.μ = E.val.toRingHom) |
| 165 | (j : ParameterChoices.Qbar →+* ℂ) (ιE : E →ₐ[ℚ] ParameterChoices.Qbar) (hι : ∀ x : E, j (ιE x) = (x : ℂ)) |
| 166 | |
| 167 | include hg hμ hι in |
| 168 | theorem native_fieldInChosenClosure_restrict : |
| 169 | (fieldInChosenClosure j D.complexEmbedding).toRingHom.comp D.fieldEmbedding = ιE.toRingHom := by |
| 170 | ext x |
| 171 | apply j.injective |
| 172 | change j (fieldInChosenClosure j D.complexEmbedding (D.fieldEmbedding x)) = j (ιE x) |
| 173 | rw [fieldInChosenClosure_image, hι] |
| 174 | exact (RingHom.congr_fun hg.embedding x).trans (RingHom.congr_fun hμ x) |
| 175 | |
| 176 | variable {F : Type} [Field F] [NumberField F] [IsGalois ℚ F] |
| 177 | (i : K →+* F) (f : F →+* ℚ_[q]) |
| 178 | |
| 179 | def nativeQadicChoice : PELModuli.CMPoints.Arithmetic.QadicChoice K D.complexEmbedding q := |
| 180 | normalExtensionQadicChoice D.complexEmbedding j |
| 181 | (ClosureSplitting.ParameterChoices.nativeClosureEmbedding D ιE (D.reference.distinguished, false)) i f |
| 182 | |
| 183 | include hg hμ hι in |
| 184 | theorem nativeQadicChoice_local : |
| 185 | (HeckeCycles.QadicModelMap.CM.localFieldEmbedding (nativeQadicChoice E D j ιE i f)).comp D.fieldEmbedding = |
| 186 | LocalEmbedding.ParameterChoices.nativeFieldEmbedding D (D.reference.distinguished, false) := by |
| 187 | let J := nativeQadicChoice E D j ιE i f |
| 188 | have hJ := J.closure_compatibility |
| 189 | have hE := native_fieldInChosenClosure_restrict E D hg hμ j ιE hι |
| 190 | ext x |
| 191 | apply (algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).injective |
| 192 | have h := RingHom.congr_fun hJ (D.fieldEmbedding x) |
| 193 | change ClosureSplitting.ParameterChoices.nativeClosureEmbedding D ιE (D.reference.distinguished, false) |
| 194 | (fieldInChosenClosure j D.complexEmbedding (D.fieldEmbedding x)) = |
| 195 | algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q]) (HeckeCycles.QadicModelMap.CM.localFieldEmbedding J (D.fieldEmbedding x)) at h |
| 196 | have hx : fieldInChosenClosure j D.complexEmbedding (D.fieldEmbedding x) = ιE x := |
| 197 | RingHom.congr_fun hE x |
| 198 | rw [hx, ClosureSplitting.ParameterChoices.nativeClosureEmbedding_spec] at h |
| 199 | exact h.symm |
| 200 | |
| 201 | theorem nativeQadicChoice_closures : |
| 202 | (nativeQadicChoice E D j ιE i f).complexClosure = j ∧ |
| 203 | (nativeQadicChoice E D j ιE i f).iota = |
| 204 | ClosureSplitting.ParameterChoices.nativeClosureEmbedding D ιE (D.reference.distinguished, false) ∧ |
| 205 | (nativeQadicChoice E D j ιE i f).fieldInClosure = |
| 206 | (fieldInChosenClosure j D.complexEmbedding).toRingHom := ⟨rfl, rfl, rfl⟩ |
| 207 | |
| 208 | omit [Fact q.Prime] in |
| 209 | theorem exists_native_qadicChoice_bound (i : K →+* F) : |
| 210 | ∃ d : ℕ, ∀ (q : ℕ) [Fact q.Prime], d < q → PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt F q → |
| 211 | ∀ (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (_hg : D.HasIntegralModelGeometry) |
| 212 | (_hμ : D.reference.μ = E.val.toRingHom) (j : ParameterChoices.Qbar →+* ℂ) (ιE : E →ₐ[ℚ] ParameterChoices.Qbar), |
| 213 | (∀ x : E, j (ιE x) = (x : ℂ)) → |
| 214 | ∃ J : PELModuli.CMPoints.Arithmetic.QadicChoice K D.complexEmbedding q, |
| 215 | J.complexClosure = j ∧ |
| 216 | J.iota = ClosureSplitting.ParameterChoices.nativeClosureEmbedding D ιE (D.reference.distinguished, false) ∧ |
| 217 | J.fieldInClosure = (fieldInChosenClosure j D.complexEmbedding).toRingHom ∧ |
| 218 | (HeckeCycles.QadicModelMap.CM.localFieldEmbedding J).comp D.fieldEmbedding = |
| 219 | LocalEmbedding.ParameterChoices.nativeFieldEmbedding D (D.reference.distinguished, false) := by |
| 220 | obtain ⟨d, hd⟩ := PELModuli.CMPoints.LocalPadic.exists_padic_embedding_bound F |
| 221 | refine ⟨d, fun q _ hq hs D hg hμ j ιE hι => ?_⟩ |
| 222 | obtain ⟨f⟩ := hd q hq hs |
| 223 | exact ⟨nativeQadicChoice E D j ιE i f, rfl, rfl, rfl, |
| 224 | nativeQadicChoice_local E D hg hμ j ιE hι i f⟩ |
| 225 | |
| 226 | end |
| 227 | |
| 228 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CompatibleQadicChoice.ParameterChoices |