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.Resolution.Blowups.Affine.QuotientBaseChange |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.QuotientKernel |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.EqualityGluing |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.GeneratedBlowupCover |
| 5 | |
| 6 | /-! # Ideal Chart Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Affine.IdealChartDescent.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual isomorphic blowup charts detect original affine ideal containments. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem affineQuotientKernel_comap_hom {R S : Type u} [CommRing R] [CommRing S] |
| 19 | (I : Ideal R) (φ : R →+* S) : |
| 20 | (QuotientKernel.Construction.affineQuotientKernel I).comap (Spec.map (CommRingCat.ofHom φ)) = |
| 21 | QuotientKernel.Construction.affineQuotientKernel (I.map φ) := by |
| 22 | let : Algebra R S := φ.toAlgebra |
| 23 | exact QuotientBaseChange.Construction.affineQuotient_kernel_comap (S := S) I |
| 24 | |
| 25 | theorem affineQuotientKernel_le_iff {R : Type u} [CommRing R] (I J : Ideal R) : |
| 26 | QuotientKernel.Construction.affineQuotientKernel I ≤ QuotientKernel.Construction.affineQuotientKernel J ↔ I ≤ J := by |
| 27 | constructor |
| 28 | · intro h |
| 29 | have htop := h ⟨⊤, isAffineOpen_top (Spec (.of R))⟩ |
| 30 | rw [QuotientKernel.Construction.affineQuotientKernel_idealTop, QuotientKernel.Construction.affineQuotientKernel_idealTop] at htop |
| 31 | exact (Ideal.comap_le_comap_iff_of_surjective (Scheme.ΓSpecIso (.of R)).hom.hom |
| 32 | (Scheme.ΓSpecIso (.of R)).commRingCatIsoToRingEquiv.surjective I J).mp htop |
| 33 | · intro h |
| 34 | apply Scheme.IdealSheafData.le_of_isAffine |
| 35 | rw [QuotientKernel.Construction.affineQuotientKernel_idealTop, QuotientKernel.Construction.affineQuotientKernel_idealTop] |
| 36 | exact Ideal.comap_mono h |
| 37 | |
| 38 | theorem idealSheaf_comap_le_iff_isIso {X Y : Scheme.{u}} (I J : Y.IdealSheafData) |
| 39 | (g : X ⟶ Y) [IsIso g] : I.comap g ≤ J.comap g ↔ I ≤ J := by |
| 40 | constructor |
| 41 | · intro h |
| 42 | have h' := Scheme.IdealSheafData.comap_mono (inv g) h |
| 43 | change (I.comap g).comap (inv g) ≤ (J.comap g).comap (inv g) at h' |
| 44 | rw [← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp, |
| 45 | IsIso.inv_hom_id, Scheme.IdealSheafData.comap_id, Scheme.IdealSheafData.comap_id] at h' |
| 46 | exact h' |
| 47 | · intro h |
| 48 | exact Scheme.IdealSheafData.comap_mono g h |
| 49 | |
| 50 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 51 | |
| 52 | /-- Original ideal containments can be checked on every actual denominator |
| 53 | chart of an isomorphic blowup, without choosing a localization presentation. -/ |
| 54 | theorem ideal_le_of_isIso_blowup_chart_maps (I J K : Ideal R) |
| 55 | [IsIso (ReesGrading.Construction.affineBlowupToSpec I)] |
| 56 | (h : ∀ a : I, J.map (Blowup.Charts.Construction.blowupChartConstants I a) ≤ K.map (Blowup.Charts.Construction.blowupChartConstants I a)) : J ≤ K := by |
| 57 | let π := ReesGrading.Construction.affineBlowupToSpec I |
| 58 | let : IsLocallyNoetherian (ReesGrading.Construction.affineBlowup I) := LocallyOfFiniteType.isLocallyNoetherian π |
| 59 | apply (affineQuotientKernel_le_iff J K).mp |
| 60 | apply (idealSheaf_comap_le_iff_isIso _ _ π).mp |
| 61 | have hchart (a : I) : |
| 62 | ((QuotientKernel.Construction.affineQuotientKernel J).comap π).comap |
| 63 | (Proj.awayι (ReesGrading.Construction.reesGrade I) (Blowup.Charts.Construction.reesGenerator I a) (Blowup.Charts.Construction.reesGenerator_mem I a) (by decide)) ≤ |
| 64 | ((QuotientKernel.Construction.affineQuotientKernel K).comap π).comap |
| 65 | (Proj.awayι (ReesGrading.Construction.reesGrade I) (Blowup.Charts.Construction.reesGenerator I a) (Blowup.Charts.Construction.reesGenerator_mem I a) (by decide)) := by |
| 66 | rw [← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp] |
| 67 | change (QuotientKernel.Construction.affineQuotientKernel J).comap (_ ≫ ReesGrading.Construction.affineBlowupToSpec I) ≤ |
| 68 | (QuotientKernel.Construction.affineQuotientKernel K).comap (_ ≫ ReesGrading.Construction.affineBlowupToSpec I) |
| 69 | rw [Blowup.Charts.Construction.affineBlowup_chart_structureMap, affineQuotientKernel_comap_hom, |
| 70 | affineQuotientKernel_comap_hom] |
| 71 | exact (affineQuotientKernel_le_iff _ _).mpr (h a) |
| 72 | exact IdealSheaf.EqualityGluing.Construction.idealSheaf_le_of_openCover _ _ (Blowup.Cover.Construction.affineBlowupAffineCover I).openCover hchart |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Resolution.Blowups.Affine.IdealChartDescent.Construction |