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.NumberTheory.PadicHodge.GeometricComparison.RelativeSectionCoefficients |
| 2 | import Mathlib.AlgebraicGeometry.OpenImmersion |
| 3 | |
| 4 | /-! # Principal Affine -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.PrincipalAffine.PrincipalAffineChart |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Principal localization gives an actual open affine chart between the native relative models, with its exact image. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable (R A B : Type) [CommRing R] [CommRing A] [CommRing B] |
| 15 | [Algebra R A] [Algebra R B] [Algebra A B] [IsScalarTower R A B] |
| 16 | |
| 17 | def map : RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R B ⟶ RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A := |
| 18 | RelativeSectionCoefficients.RelativeSpecMaps.map (IsScalarTower.toAlgHom R A B) |
| 19 | |
| 20 | theorem isOpenImmersion (a : A) [IsLocalization.Away a B] : IsOpenImmersion (map R A B).left := |
| 21 | IsOpenImmersion.of_isLocalization a |
| 22 | |
| 23 | theorem image_top (a : A) [IsLocalization.Away a B] : |
| 24 | letI : IsOpenImmersion (map R A B).left := isOpenImmersion R A B a |
| 25 | (map R A B).left ''ᵁ ⊤ = (PrimeSpectrum.basicOpen a : (Spec (CommRingCat.of A)).Opens) := by |
| 26 | let : IsOpenImmersion (map R A B).left := isOpenImmersion R A B a |
| 27 | apply (Scheme.Hom.image_top_eq_opensRange (map R A B).left).trans |
| 28 | apply TopologicalSpace.Opens.ext |
| 29 | exact PrimeSpectrum.localization_away_comap_range B a |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.NumberTheory.PadicHodge.GeometricComparison.PrincipalAffine.PrincipalAffineChart |