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.ClosedCarrierCenters |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.ClosedMap |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.ControlledIdealNaturality |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.HypersurfaceBlowupKernel |
| 5 | |
| 6 | /-! # Blowup Kernel Sheaf -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Affine.BlowupKernelSheaf.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Exact native kernel sheaves for affine blowup comparisons and framed hypersurfaces. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem specMap_kernel_eq_affineQuotientKernel {R S : Type u} [CommRing R] [CommRing S] |
| 19 | (φ : R →+* S) : |
| 20 | (Spec.map (CommRingCat.ofHom φ)).ker = QuotientKernel.Construction.affineQuotientKernel (RingHom.ker φ) := by |
| 21 | apply Scheme.IdealSheafData.ext_of_isAffine |
| 22 | rw [QuotientKernel.Construction.affineQuotientKernel_idealTop, Scheme.Hom.ker_apply] |
| 23 | change RingHom.ker (Spec.map (CommRingCat.ofHom φ)).appTop.hom = _ |
| 24 | rw [← RingHom.ker_equiv_comp _ (Scheme.ΓSpecIso (.of S)).commRingCatIsoToRingEquiv] |
| 25 | change RingHom.ker ((Spec.map (CommRingCat.ofHom φ)).appTop ≫ |
| 26 | (Scheme.ΓSpecIso (.of S)).hom).hom = _ |
| 27 | rw [Scheme.ΓSpecIso_naturality, CommRingCat.hom_comp, ← RingHom.comap_ker] |
| 28 | rfl |
| 29 | |
| 30 | theorem affineBlowupMap_ker_comap_chart {R S : Type u} [CommRing R] [CommRing S] |
| 31 | (I : Ideal R) (φ : R →+* S) (hφ : Function.Surjective φ) (a : I) : |
| 32 | (ReesMap.Construction.affineBlowupMap I φ).ker.comap |
| 33 | (Proj.awayι (ReesGrading.Construction.reesGrade I) (Blowup.Charts.Construction.reesGenerator I a) (Blowup.Charts.Construction.reesGenerator_mem I a) (by decide)) = |
| 34 | QuotientKernel.Construction.affineQuotientKernel (RingHom.ker (ChartLift.Construction.blowupChartMap I φ a)) := by |
| 35 | let : IsClosedImmersion (ReesMap.Construction.affineBlowupMap I φ) := Blowup.ClosedMap.Construction.affineBlowupMap_isClosedImmersion I φ hφ |
| 36 | rw [ClosedCarrierCenters.Construction.kernel_comap_of_closed_pullback _ _ _ _ (Blowup.FlatBaseChange.Construction.affineBlowupMap_chart_isPullback I φ a), |
| 37 | specMap_kernel_eq_affineQuotientKernel] |
| 38 | |
| 39 | /-- A smooth normal frame identifies the closed hypersurface blowup with the |
| 40 | native controlled hypersurface ideal on the entire affine ambient blowup. -/ |
| 41 | theorem framed_hypersurface_affineBlowup_ker |
| 42 | {k R ι : Type u} [CommRing k] [CommRing R] [Algebra k R] |
| 43 | [IsNoetherianRing R] [Algebra ℚ R] [DecidableEq ι] |
| 44 | (I : Ideal R) (g : ι → I) (D : ι → Derivation k R R) |
| 45 | (hD : ∀ i j, D i (g j).val = if i = j then 1 else 0) |
| 46 | (hgen : Ideal.span (Set.range (fun i => (g i).val)) = I) (j : ι) : |
| 47 | (ReesMap.Construction.affineBlowupMap I (Ideal.Quotient.mk (Ideal.span {(g j).val}))).ker = |
| 48 | ControlledIdealNaturality.Construction.affineControlledIdealSheaf I (Ideal.span {(g j).val}) 1 := by |
| 49 | let : IsLocallyNoetherian (ReesGrading.Construction.affineBlowup I) := |
| 50 | LocallyOfFiniteType.isLocallyNoetherian (ReesGrading.Construction.affineBlowupToSpec I) |
| 51 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover _ _ (GeneratedBlowupCover.Construction.affineBlowupGeneratorAffineCover I g hgen).openCover |
| 52 | intro i |
| 53 | change ι at i |
| 54 | change (ReesMap.Construction.affineBlowupMap I (Ideal.Quotient.mk (Ideal.span {(g j).val}))).ker.comap |
| 55 | (Proj.awayι (ReesGrading.Construction.reesGrade I) (Blowup.Charts.Construction.reesGenerator I (g i)) (Blowup.Charts.Construction.reesGenerator_mem I (g i)) (by decide)) = |
| 56 | (ControlledIdealNaturality.Construction.affineControlledIdealSheaf I (Ideal.span {(g j).val}) 1).comap |
| 57 | (Proj.awayι (ReesGrading.Construction.reesGrade I) (Blowup.Charts.Construction.reesGenerator I (g i)) (Blowup.Charts.Construction.reesGenerator_mem I (g i)) (by decide)) |
| 58 | rw [affineBlowupMap_ker_comap_chart I _ Ideal.Quotient.mk_surjective, |
| 59 | ControlledIdealNaturality.Construction.affineControlledIdealSheaf_comap_chart] |
| 60 | exact congrArg QuotientKernel.Construction.affineQuotientKernel (HypersurfaceBlowupKernel.Construction.framed_hypersurface_blowupChart_ker I g D hD i j) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Resolution.Blowups.Affine.BlowupKernelSheaf.Construction |