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.SheafCohomology.Projective.IdealModule |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalSectionsSurjective |
| 3 | import Mathlib.Topology.Sheaves.LocallySurjective |
| 4 | |
| 5 | /-! # Restriction Surjective -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Projective.RestrictionSurjective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restriction to a closed projective subscheme is surjective on sections |
| 12 | after sufficiently large twists. This is the actual structure-sheaf map. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | namespace PolarizationEmbedding |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.IdealModule |
| 21 | universe u |
| 22 | |
| 23 | theorem closedImmersion_structure_epi {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] : |
| 24 | Epi (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) := by |
| 25 | let F := SheafOfModules.toSheaf Y.ringCatSheaf |
| 26 | have : F.Faithful := inferInstanceAs (SheafOfModules.toSheaf Y.ringCatSheaf).Faithful |
| 27 | have : F.ReflectsEpimorphisms := Functor.reflectsEpimorphisms_of_faithful F |
| 28 | apply F.epi_of_epi_map |
| 29 | have hlocal : TopCat.Presheaf.IsLocallySurjective |
| 30 | (F.map (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom)).hom := by |
| 31 | rw [TopCat.Presheaf.isLocallySurjective_iff] |
| 32 | intro U t y hy |
| 33 | obtain ⟨V, hV, hyV, hVU⟩ := exists_isAffineOpen_mem_and_subset hy |
| 34 | let tV := ((Scheme.Modules.pushforward f).obj (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X)).presheaf.map |
| 35 | (homOfLE hVU).op t |
| 36 | obtain ⟨s, hs⟩ := f.app_surjective V hV tV |
| 37 | exact ⟨V, hVU, ⟨s, hs⟩, hyV⟩ |
| 38 | let : CategoryTheory.Sheaf.IsLocallySurjective |
| 39 | (F.map (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom)) := hlocal |
| 40 | exact CategoryTheory.Sheaf.epi_of_isLocallySurjective _ |
| 41 | |
| 42 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 43 | |
| 44 | theorem eventually_projective_restriction_surjective {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 45 | {σ : Type} [Fintype σ] [LinearOrder σ] {X : Scheme.{u}} |
| 46 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule σ R)) [IsClosedImmersion f] (j : σ) : |
| 47 | ∃ b : ℕ, ∀ m : ℕ, b ≤ m → Function.Surjective |
| 48 | (((SheafCohomology.Projective.PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j m).functor.map |
| 49 | (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom)).app ⊤) := by |
| 50 | let Y := Proj (MvPolynomial.homogeneousSubmodule σ R) |
| 51 | have : (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y).IsQuasicoherent := |
| 52 | SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent SheafCohomology.Projective.Invertible.Scheme.Modules.isInvertible_unit |
| 53 | have : (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y).IsFinitePresentation := |
| 54 | SheafCohomology.Projective.InvertibleFinitePresentation.invertible_finitePresentation SheafCohomology.Projective.Invertible.Scheme.Modules.isInvertible_unit |
| 55 | have : (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y).IsFiniteType := inferInstance |
| 56 | have : (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X).IsQuasicoherent := |
| 57 | SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent SheafCohomology.Projective.Invertible.Scheme.Modules.isInvertible_unit |
| 58 | have : ((Scheme.Modules.pushforward f).obj (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X)).IsQuasicoherent := |
| 59 | SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom f |
| 60 | let := closedImmersion_structure_epi f |
| 61 | exact SheafCohomology.Projective.GlobalSectionsSurjective.MvPolynomial.finiteType_epi_eventually_projectiveTwist_sections_surjective |
| 62 | (M := SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y) |
| 63 | (N := (Scheme.Modules.pushforward f).obj (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X)) |
| 64 | (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) j |
| 65 | |
| 66 | end PolarizationEmbedding |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Projective.RestrictionSurjective |