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.AbelianModuli.HilbertConstruction.ZeroSections |
| 2 | import Mathlib.AlgebraicGeometry.Properties |
| 3 | |
| 4 | /-! # Reduced Sections Eq -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ReducedSectionsEq.Construction.ReducedSections |
| 7 | |
| 8 | /-! Local equality detection and nonzero sections of line bundles on reduced schemes. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroSections |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | theorem moduleMap_eq_of_locally {X : Scheme.{u}} {L M : X.Modules} (a b : L ⟶ M) |
| 15 | (h : ∀ x : X, ∃ U : X.Opens, x ∈ U ∧ |
| 16 | (Scheme.Modules.pullback U.ι).map a = (Scheme.Modules.pullback U.ι).map b) : |
| 17 | a = b := by |
| 18 | have hs (x : X) : |
| 19 | (TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).map a.mapPresheaf = |
| 20 | (TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).map b.mapPresheaf := by |
| 21 | obtain ⟨U, hx, hU⟩ := h x |
| 22 | have hr : (Scheme.Modules.restrictFunctor U.ι).map a = |
| 23 | (Scheme.Modules.restrictFunctor U.ι).map b := by |
| 24 | apply (cancel_mono ((Scheme.Modules.restrictFunctorIsoPullback U.ι).app M).hom).mp |
| 25 | exact ((Scheme.Modules.restrictFunctorIsoPullback U.ι).hom.naturality a).trans |
| 26 | ((congrArg (fun z => ((Scheme.Modules.restrictFunctorIsoPullback U.ι).app L).hom ≫ z) |
| 27 | hU).trans ((Scheme.Modules.restrictFunctorIsoPullback U.ι).hom.naturality b).symm) |
| 28 | let y : U.toScheme := ⟨x, hx⟩ |
| 29 | let e := Scheme.Modules.restrictStalkNatIso U.ι y |
| 30 | have ht := congrArg (fun z => ((Scheme.Modules.toPresheaf U.toScheme) ⋙ |
| 31 | TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} y).map z) hr |
| 32 | apply (cancel_epi (e.app L).hom).mp |
| 33 | exact (e.hom.naturality a).symm.trans |
| 34 | ((congrArg (fun z => z ≫ (e.app M).hom) ht).trans (e.hom.naturality b)) |
| 35 | apply Scheme.Modules.hom_ext |
| 36 | intro U |
| 37 | ext s |
| 38 | apply TopCat.Presheaf.section_ext (⟨M.presheaf, M.isSheaf⟩ : |
| 39 | TopCat.Sheaf AddCommGrpCat.{u} X) U |
| 40 | intro x hx |
| 41 | change M.presheaf.germ U x hx (a.mapPresheaf.app (.op U) s) = |
| 42 | M.presheaf.germ U x hx (b.mapPresheaf.app (.op U) s) |
| 43 | rw [← TopCat.Presheaf.stalkFunctor_map_germ_apply, |
| 44 | ← TopCat.Presheaf.stalkFunctor_map_germ_apply, hs x] |
| 45 | |
| 46 | theorem section_eq_zero_of_nonvanishing_eq_bot {X : Scheme.{u}} [IsReduced X] |
| 47 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf) |
| 48 | (hs : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s = ⊥) : s = 0 := by |
| 49 | apply moduleMap_eq_of_locally |
| 50 | intro x |
| 51 | obtain ⟨U, hx, ⟨e⟩⟩ := L.locallyTrivial x |
| 52 | refine ⟨U, hx, ?_⟩ |
| 53 | let t : End (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule U.toScheme) := AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s ≫ e.hom |
| 54 | have ht : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t = ⊥ := by |
| 55 | rw [AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso, AbelianModuli.HilbertConstruction.Section.Nonvanishing.sectionNonvanishing_pullback, hs] |
| 56 | rfl |
| 57 | have hz : AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue U.toScheme t = 0 := by |
| 58 | apply eq_zero_of_basicOpen_eq_bot |
| 59 | exact (AbelianModuli.HilbertConstruction.Scalar.Nonvanishing.sectionNonvanishing_scalar t).symm.trans ht |
| 60 | have ht0 : t = 0 := (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndRingEquiv U.toScheme).injective |
| 61 | (hz.trans (map_zero (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndRingEquiv U.toScheme)).symm) |
| 62 | rw [Functor.map_zero] |
| 63 | apply (cancel_epi (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso U.ι).inv).mp |
| 64 | apply (cancel_mono e.hom).mp |
| 65 | simpa only [t, AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection, comp_zero, zero_comp] using ht0 |
| 66 | |
| 67 | theorem nonvanishing_eq_bot_iff {X : Scheme.{u}} [IsReduced X] |
| 68 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 69 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s = ⊥ ↔ s = 0 := by |
| 70 | constructor |
| 71 | · exact section_eq_zero_of_nonvanishing_eq_bot L s |
| 72 | · rintro rfl |
| 73 | exact L.sectionNonvanishing_zero |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ReducedSectionsEq.Construction.ReducedSections |