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.PELModuli.IntegralModel.ArithmeticCoefficientLocalization |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL.BaseChange |
| 3 | |
| 4 | /-! # Localization Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A compatible map between arithmetic localizations is an actual open |
| 11 | immersion on spectra and preserves the prescribed integral CM embedding. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.NumberField |
| 15 | |
| 16 | variable {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 17 | (B : Base.ArithmeticBaseExtension K κ) (D : ℕ) (hD : D ≠ 0) |
| 18 | (φ : B.R →+* (B.withDenominator D hD).R) |
| 19 | (hφ : (B.withDenominator D hD).toField.comp φ = B.toField) |
| 20 | |
| 21 | include hφ |
| 22 | |
| 23 | theorem Base.ArithmeticBaseExtension.coefficient_map_algebraMap : |
| 24 | φ.comp (algebraMap (𝓞 B.extension.carrier) B.R) = |
| 25 | algebraMap (𝓞 B.extension.carrier) (B.withDenominator D hD).R := by |
| 26 | apply RingHom.ext |
| 27 | intro a |
| 28 | apply (B.withDenominator D hD).toField_injective |
| 29 | exact (RingHom.congr_fun hφ (algebraMap (𝓞 B.extension.carrier) B.R a)).trans |
| 30 | ((ArithmeticGeometry.Models.Algebra.Constructions.Foundations.integersAwayToField_algebraMap B.extension.carrier B.denominator B.denominator_ne_zero a).trans |
| 31 | (ArithmeticGeometry.Models.Algebra.Constructions.Foundations.integersAwayToField_algebraMap B.extension.carrier D hD a).symm) |
| 32 | |
| 33 | theorem Base.ArithmeticBaseExtension.coefficient_map_isOpenImmersion : IsOpenImmersion (Spec.map (CommRingCat.ofHom φ)) := by |
| 34 | let a := Spec.map (CommRingCat.ofHom (algebraMap (𝓞 B.extension.carrier) B.R)) |
| 35 | let a' := Spec.map (CommRingCat.ofHom |
| 36 | (algebraMap (𝓞 B.extension.carrier) (B.withDenominator D hD).R)) |
| 37 | have ha : IsOpenImmersion a := inferInstanceAs (IsOpenImmersion |
| 38 | (Spec.map (CommRingCat.ofHom (algebraMap (𝓞 B.extension.carrier) B.R)))) |
| 39 | have ha' : IsOpenImmersion a' := inferInstanceAs (IsOpenImmersion |
| 40 | (Spec.map (CommRingCat.ofHom (algebraMap (𝓞 B.extension.carrier) (B.withDenominator D hD).R)))) |
| 41 | have he : Spec.map (CommRingCat.ofHom φ) ≫ a = a' := by |
| 42 | rw [← Spec.map_comp] |
| 43 | exact congrArg (fun f => Spec.map (CommRingCat.ofHom f)) (Base.ArithmeticBaseExtension.coefficient_map_algebraMap B D hD φ hφ) |
| 44 | have : IsOpenImmersion (Spec.map (CommRingCat.ofHom φ) ≫ a) := he.symm ▸ ha' |
| 45 | exact IsOpenImmersion.of_comp (Spec.map (CommRingCat.ofHom φ)) a |
| 46 | |
| 47 | theorem Base.ArithmeticBaseExtension.coefficient_map_integralEmbedding {E : Type} [Field E] (iota : E →+* K) : |
| 48 | φ.comp (B.integralEmbedding iota) = (B.withDenominator D hD).integralEmbedding iota := by |
| 49 | apply RingHom.ext |
| 50 | intro a |
| 51 | apply (B.withDenominator D hD).toField_injective |
| 52 | exact (RingHom.congr_fun hφ (B.integralEmbedding iota a)).trans |
| 53 | ((B.integralEmbedding_toField iota a).trans |
| 54 | ((B.withDenominator D hD).integralEmbedding_toField iota a).symm) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |