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.Affine.IdealCoefficientTests |
| 2 | |
| 3 | /-! # Quotient Coefficient Lift -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.QuotientCoefficientLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coefficient ideals on a quotient base give the least base ideal |
| 10 | among ideals containing that quotient's kernel. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem ideal_comap_le_iff_closed {X Y : Scheme.{u}} (j : X ⟶ Y) |
| 17 | [IsClosedImmersion j] (I J : Y.IdealSheafData) (hJ : j.ker ≤ J) : |
| 18 | I.comap j ≤ J.comap j ↔ I ≤ J := by |
| 19 | constructor |
| 20 | · intro h |
| 21 | have he := Scheme.IdealSheafData.le_map_iff_comap_le.mpr h |
| 22 | rwa [Closed.ImmersionIdealEmbedding.ideal_map_comap_closed j J hJ] at he |
| 23 | · exact fun h => Scheme.IdealSheafData.comap_mono j h |
| 24 | |
| 25 | theorem affine_quotient_coefficient_lift {R A : CommRingCat.{u}} {X : Scheme.{u}} |
| 26 | (f : X ⟶ Spec R) (K : X.IdealSheafData) (φ : R ⟶ A) |
| 27 | (hφ : Function.Surjective φ) (C : Ideal A) |
| 28 | (hC : IdealCoefficientTests.IsAffineIdealCoefficient A (pullback.snd f (Spec.map φ)) |
| 29 | (K.comap (pullback.fst f (Spec.map φ))) C) : |
| 30 | RingHom.ker φ.hom ≤ C.comap φ.hom ∧ |
| 31 | ∀ L : Ideal R, RingHom.ker φ.hom ≤ L → |
| 32 | (K ≤ ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm L).comap f ↔ C.comap φ.hom ≤ L) := by |
| 33 | let g := Spec.map φ |
| 34 | let p := pullback.fst f g |
| 35 | let q := pullback.snd f g |
| 36 | let : IsClosedImmersion g := IsClosedImmersion.spec_of_surjective φ hφ |
| 37 | refine ⟨fun r hr => by change φ r ∈ C; rw [show φ r = 0 from hr]; exact C.zero_mem, ?_⟩ |
| 38 | intro L hL |
| 39 | have hbase : ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm L).comap g = |
| 40 | (SpectrumIdealCoordinates.spectrumIdealCoordinates A).symm (L.map φ.hom) := by |
| 41 | apply (SpectrumIdealCoordinates.spectrumIdealCoordinates A).injective |
| 42 | rw [SpectrumIdealCoordinates.spectrumIdealCoordinates_comap, OrderIso.apply_symm_apply, OrderIso.apply_symm_apply] |
| 43 | have hker : p.ker ≤ ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm L).comap f := by |
| 44 | rw [Scheme.IdealSheafData.ker_fst_of_isClosedImmersion] |
| 45 | apply Scheme.IdealSheafData.comap_mono f |
| 46 | apply (SpectrumIdealCoordinates.spectrumIdealCoordinates R).le_iff_le.mp |
| 47 | rw [SpectrumIdealCoordinates.spectrumIdealCoordinates_kernel, OrderIso.apply_symm_apply] |
| 48 | exact hL |
| 49 | have hpull : (((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm L).comap f).comap p = |
| 50 | ((SpectrumIdealCoordinates.spectrumIdealCoordinates A).symm (L.map φ.hom)).comap q := by |
| 51 | rw [← Scheme.IdealSheafData.comap_comp, pullback.condition, |
| 52 | Scheme.IdealSheafData.comap_comp, hbase] |
| 53 | have he := ideal_comap_le_iff_closed p K _ hker |
| 54 | rw [hpull, hC] at he |
| 55 | refine he.symm.trans ⟨?_, ?_⟩ |
| 56 | · intro hc |
| 57 | have hm := Ideal.comap_mono (f := φ.hom) hc |
| 58 | rw [Ideal.comap_map_of_surjective φ.hom hφ, ← RingHom.ker_eq_comap_bot, |
| 59 | sup_eq_left.mpr hL] at hm |
| 60 | exact hm |
| 61 | · intro hc |
| 62 | have hm := Ideal.map_mono (f := φ.hom) hc |
| 63 | rw [Ideal.map_comap_of_surjective φ.hom hφ] at hm |
| 64 | exact hm |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.QuotientCoefficientLift |