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.HilbertScheme.Presentations.SpectrumProductOpenCover |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.SpectrumIdealPullback |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.CoefficientOpenCover |
| 4 | import Mathlib.RingTheory.Ideal.Prod |
| 5 | |
| 6 | /-! # Product Base Coefficients -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ProductBaseCoefficients |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Coefficient ideals on the two factors of a product base combine |
| 13 | into their product ideal. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable (A B : CommRingCat.{u}) {X : Scheme.{u}} |
| 19 | variable (f : X ⟶ Spec (CommRingCat.of (A × B))) |
| 20 | |
| 21 | theorem ideal_le_iff_product_base (K J : X.IdealSheafData) : |
| 22 | K ≤ J ↔ |
| 23 | K.comap (pullback.fst f (Spec.map (CommRingCat.ofHom (RingHom.fst A B)))) ≤ |
| 24 | J.comap (pullback.fst f (Spec.map (CommRingCat.ofHom (RingHom.fst A B)))) ∧ |
| 25 | K.comap (pullback.fst f (Spec.map (CommRingCat.ofHom (RingHom.snd A B)))) ≤ |
| 26 | J.comap (pullback.fst f (Spec.map (CommRingCat.ofHom (RingHom.snd A B)))) := by |
| 27 | constructor |
| 28 | · intro h |
| 29 | exact ⟨Scheme.IdealSheafData.comap_mono _ h, Scheme.IdealSheafData.comap_mono _ h⟩ |
| 30 | · intro h |
| 31 | apply Presentations.Ideal.ContainmentOpenLocality.ideal_le_of_openCover ((SpectrumProductOpenCover.spectrumProductOpenCover A B).pullback₁ f) |
| 32 | intro i |
| 33 | cases i |
| 34 | · exact h.1 |
| 35 | · exact h.2 |
| 36 | |
| 37 | theorem affineIdealCoefficient_product_base (K : X.IdealSheafData) (I : Ideal A) (J : Ideal B) |
| 38 | (hI : Affine.IdealCoefficientTests.IsAffineIdealCoefficient A |
| 39 | (pullback.snd f (Spec.map (CommRingCat.ofHom (RingHom.fst A B)))) |
| 40 | (K.comap (pullback.fst f (Spec.map (CommRingCat.ofHom (RingHom.fst A B))))) I) |
| 41 | (hJ : Affine.IdealCoefficientTests.IsAffineIdealCoefficient B |
| 42 | (pullback.snd f (Spec.map (CommRingCat.ofHom (RingHom.snd A B)))) |
| 43 | (K.comap (pullback.fst f (Spec.map (CommRingCat.ofHom (RingHom.snd A B))))) J) : |
| 44 | Affine.IdealCoefficientTests.IsAffineIdealCoefficient (CommRingCat.of (A × B)) f K (I.prod J) := by |
| 45 | intro L |
| 46 | rw [ideal_le_iff_product_base A B f, SpectrumIdealPullback.spectrum_ideal_pullback, SpectrumIdealPullback.spectrum_ideal_pullback] |
| 47 | erw [hI, hJ] |
| 48 | have he : (I.prod J).map (RingHom.fst A B) ≤ L.map (RingHom.fst A B) ∧ |
| 49 | (I.prod J).map (RingHom.snd A B) ≤ L.map (RingHom.snd A B) ↔ I.prod J ≤ L := |
| 50 | Ideal.idealProdEquiv.le_iff_le |
| 51 | simpa only [Ideal.map_fst_prod, Ideal.map_snd_prod, CommRingCat.hom_ofHom] using he |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ProductBaseCoefficients |