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 Mathlib.AlgebraicGeometry.OpenImmersion |
| 2 | |
| 3 | /-! # Localization Spectrum Is -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizationSpectrumIs.LocalizationSpectrum |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Principal-localization ring maps as actual open immersions |
| 11 | |
| 12 | The localization property of a specified ring map identifies the image |
| 13 | of its actual spectrum map with the corresponding principal open. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (R S : Type u) [CommRing R] [CommRing S] (f : R →+* S) (s : R) |
| 21 | (hf : (Submonoid.powers s).IsLocalizationMap f) |
| 22 | |
| 23 | include hf in |
| 24 | theorem isOpenImmersion : IsOpenImmersion (Spec.map (CommRingCat.ofHom f)) := by |
| 25 | let : Algebra R S := f.toAlgebra |
| 26 | have : IsLocalization.Away s S := ⟨hf⟩ |
| 27 | exact IsOpenImmersion.of_isLocalization s |
| 28 | |
| 29 | include hf in |
| 30 | theorem range : Set.range (PrimeSpectrum.comap f) = PrimeSpectrum.basicOpen s := by |
| 31 | let : Algebra R S := f.toAlgebra |
| 32 | have : IsLocalization.Away s S := ⟨hf⟩ |
| 33 | exact PrimeSpectrum.localization_away_comap_range S s |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizationSpectrumIs.LocalizationSpectrum |