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.Scalar.Nonvanishing |
| 2 | |
| 3 | /-! # Pullback Scalars Value -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackScalarsValue.Construction.PullbackScalars |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Scalar sections under arbitrary scheme pullbacks. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} |
| 16 | |
| 17 | /-- Conjugating a pulled-back scalar through the canonical structure-module |
| 18 | comparison gives the usual pullback of its regular function. -/ |
| 19 | theorem value_pullback (f : X ⟶ Y) (a : End (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y)) : |
| 20 | AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X ((AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).inv ≫ |
| 21 | (Scheme.Modules.pullback f).map a ≫ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom) = |
| 22 | f.appTop (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue Y a) := by |
| 23 | have : (SheafOfModules.pushforward f.toRingCatSheafHom).IsRightAdjoint := |
| 24 | inferInstanceAs (Scheme.Modules.pushforward f).IsRightAdjoint |
| 25 | let b : End (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) := |
| 26 | (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndRingEquiv X).symm (f.appTop (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue Y a)) |
| 27 | have hb : AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X b = f.appTop (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue Y a) := |
| 28 | (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndRingEquiv X).apply_symm_apply _ |
| 29 | have he : ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _) |
| 30 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom = |
| 31 | SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom := |
| 32 | SheafOfModules.pullbackPushforwardAdjunction_homEquiv_pullbackObjUnitToUnit _ |
| 33 | have h : (Scheme.Modules.pullback f).map a ≫ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom = |
| 34 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom ≫ b := by |
| 35 | apply ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).injective |
| 36 | rw [Adjunction.homEquiv_naturality_left, Adjunction.homEquiv_naturality_right] |
| 37 | rw [he] |
| 38 | change a ≫ SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom = |
| 39 | SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom ≫ |
| 40 | (Scheme.Modules.pushforward f).map b |
| 41 | apply (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv ((Scheme.Modules.pushforward f).obj |
| 42 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X))).injective |
| 43 | change f.appTop (a.app ⊤ (1 : Γ(Y, ⊤))) = |
| 44 | b.app ⊤ (f.appTop (1 : Γ(Y, ⊤))) |
| 45 | rw [map_one] |
| 46 | exact hb.symm |
| 47 | rw [h, Iso.inv_hom_id_assoc] |
| 48 | exact hb |
| 49 | |
| 50 | /-- Arbitrary pullback preserves the usual scalar nonvanishing open. -/ |
| 51 | theorem nonvanishing_pullback_scalar (f : X ⟶ Y) (a : End (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y)) : |
| 52 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f a) = f ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing a := by |
| 53 | have h := AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f a) (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f) |
| 54 | rw [AbelianModuli.HilbertConstruction.Scalar.Nonvanishing.sectionNonvanishing_scalar] at h |
| 55 | have hv : AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X |
| 56 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f a ≫ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom) = |
| 57 | f.appTop (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue Y a) := by |
| 58 | simpa only [AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection, Category.assoc] using value_pullback f a |
| 59 | rw [hv] at h |
| 60 | rw [← h, AbelianModuli.HilbertConstruction.Scalar.Nonvanishing.sectionNonvanishing_scalar, f.preimage_basicOpen_top] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackScalarsValue.Construction.PullbackScalars |