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.RingTheory.Localization.BaseChange |
| 2 | import Mathlib.RingTheory.Localization.Ideal |
| 3 | import Mathlib.RingTheory.Spectrum.Prime.Topology |
| 4 | |
| 5 | /-! # Localization Spectrum -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.LocalizationSpectrum |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Localizing either factor of an affine product embeds its prime |
| 12 | spectrum into the original product spectrum, preserving strict prime |
| 13 | inclusions. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem strict_comap (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 23 | (M : Submonoid R) [IsLocalization M S] : StrictMono (PrimeSpectrum.comap (algebraMap R S)) := by |
| 24 | intro p q hpq |
| 25 | exact (IsLocalization.orderEmbedding M S).strictMono hpq |
| 26 | |
| 27 | variable (K A B C : Type u) [CommRing K] [CommRing A] [CommRing B] [CommRing C] |
| 28 | [Algebra K A] [Algebra K B] [Algebra K C] [Algebra A B] [IsScalarTower K A B] |
| 29 | |
| 30 | def leftMap : A ⊗[K] C →+* B ⊗[K] C := |
| 31 | (Algebra.TensorProduct.map (IsScalarTower.toAlgHom K A B) (AlgHom.id K C)).toRingHom |
| 32 | |
| 33 | def rightMap : C ⊗[K] A →+* C ⊗[K] B := |
| 34 | (Algebra.TensorProduct.map (AlgHom.id K C) (IsScalarTower.toAlgHom K A B)).toRingHom |
| 35 | |
| 36 | theorem left_strict (M : Submonoid A) [IsLocalization M B] : |
| 37 | StrictMono (PrimeSpectrum.comap (leftMap K A B C)) := by |
| 38 | let := (leftMap K A B C).toAlgebra |
| 39 | let : IsScalarTower A (A ⊗[K] C) (B ⊗[K] C) := IsScalarTower.of_algebraMap_eq fun a => by |
| 40 | change algebraMap A B a ⊗ₜ[K] (1 : C) = algebraMap A B a ⊗ₜ[K] (AlgHom.id K C) 1 |
| 41 | rfl |
| 42 | let : IsLocalization (Algebra.algebraMapSubmonoid (A ⊗[K] C) M) (B ⊗[K] C) := |
| 43 | IsLocalization.tensorProduct_tensorProduct K C M B (by |
| 44 | ext c |
| 45 | change algebraMap A B 1 ⊗ₜ[K] c = (1 : B) ⊗ₜ[K] c |
| 46 | rw [map_one]) |
| 47 | exact strict_comap (A ⊗[K] C) (B ⊗[K] C) (Algebra.algebraMapSubmonoid (A ⊗[K] C) M) |
| 48 | |
| 49 | theorem right_strict (M : Submonoid A) [IsLocalization M B] : |
| 50 | StrictMono (PrimeSpectrum.comap (rightMap K A B C)) := by |
| 51 | let := (rightMap K A B C).toAlgebra |
| 52 | let : IsScalarTower C (C ⊗[K] A) (C ⊗[K] B) := IsScalarTower.of_algebraMap_eq fun c => by |
| 53 | change c ⊗ₜ[K] (1 : B) = (AlgHom.id K C) c ⊗ₜ[K] (algebraMap A B) 1 |
| 54 | rw [map_one] |
| 55 | rfl |
| 56 | let : IsLocalization (M.map (Algebra.TensorProduct.includeRight (R := K) (A := C))) (C ⊗[K] B) := |
| 57 | IsLocalization.tensorProduct_tensorProduct_right K C M B (by ext a; rfl) |
| 58 | exact strict_comap (C ⊗[K] A) (C ⊗[K] B) |
| 59 | (M.map (Algebra.TensorProduct.includeRight (R := K) (A := C))) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.LocalizationSpectrum |