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.CycleClass.Thom.MinimalSupportPrimes |
| 2 | import Mathlib.RingTheory.Ideal.MinimalPrime.Localization |
| 3 | import Mathlib.RingTheory.Spectrum.Prime.Topology |
| 4 | |
| 5 | /-! # Surjective Minimal Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SurjectiveMinimalSupport.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Minimal module-support primes correspond exactly under a |
| 12 | surjective scalar map, including their canonical finite enumerations. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.MinimalSupportPrimes.Constructions |
| 17 | |
| 18 | universe u v w |
| 19 | variable (R : Type u) (S : Type v) [CommRing R] [CommRing S] [Algebra R S] |
| 20 | (M : Type w) [AddCommGroup M] [Module R M] [Module S M] [IsScalarTower R S M] |
| 21 | (hs : Function.Surjective (algebraMap R S)) |
| 22 | |
| 23 | include hs |
| 24 | |
| 25 | theorem comap_mem_minimalPrimes_iff (q : PrimeSpectrum S) : |
| 26 | (PrimeSpectrum.comap (algebraMap R S) q).asIdeal ∈ (Module.annihilator R M).minimalPrimes ↔ |
| 27 | q.asIdeal ∈ (Module.annihilator S M).minimalPrimes := by |
| 28 | have ha : (Module.annihilator S M).comap (algebraMap R S) = Module.annihilator R M := |
| 29 | Module.comap_annihilator |
| 30 | rw [← ha, Ideal.comap_minimalPrimes_eq_of_surjective hs] |
| 31 | constructor |
| 32 | · rintro ⟨I, hI, he⟩ |
| 33 | have hIq : I = q.asIdeal := Ideal.comap_injective_of_surjective (algebraMap R S) hs he |
| 34 | exact hIq ▸ hI |
| 35 | · intro hq |
| 36 | exact ⟨q.asIdeal, hq, rfl⟩ |
| 37 | |
| 38 | theorem exists_comap_of_minimal (p : PrimeSpectrum R) |
| 39 | (hp : p.asIdeal ∈ (Module.annihilator R M).minimalPrimes) : |
| 40 | ∃ q : PrimeSpectrum S, q.asIdeal ∈ (Module.annihilator S M).minimalPrimes ∧ |
| 41 | PrimeSpectrum.comap (algebraMap R S) q = p := by |
| 42 | have ha : (Module.annihilator S M).comap (algebraMap R S) = Module.annihilator R M := |
| 43 | Module.comap_annihilator |
| 44 | rw [← ha, Ideal.comap_minimalPrimes_eq_of_surjective hs] at hp |
| 45 | obtain ⟨I, hI, he⟩ := hp |
| 46 | exact ⟨⟨I, hI.isPrime⟩, hI, PrimeSpectrum.ext he⟩ |
| 47 | |
| 48 | theorem minimalSupportPrimes_image [IsNoetherianRing R] [IsNoetherianRing S] : |
| 49 | (MinimalSupportPrimes.Constructions.minimalSupportPrimes S M).image (PrimeSpectrum.comap (algebraMap R S)) = |
| 50 | MinimalSupportPrimes.Constructions.minimalSupportPrimes R M := by |
| 51 | ext p |
| 52 | rw [Finset.mem_image, MinimalSupportPrimes.Constructions.mem_minimalSupportPrimes] |
| 53 | constructor |
| 54 | · rintro ⟨q, hq, rfl⟩ |
| 55 | exact (comap_mem_minimalPrimes_iff R S M hs q).mpr ((MinimalSupportPrimes.Constructions.mem_minimalSupportPrimes S M q).mp hq) |
| 56 | · intro hp |
| 57 | obtain ⟨q, hq, he⟩ := exists_comap_of_minimal R S M hs p hp |
| 58 | exact ⟨q, (MinimalSupportPrimes.Constructions.mem_minimalSupportPrimes S M q).mpr hq, he⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.CycleClass.Thom.SurjectiveMinimalSupport.Constructions |