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.Frame.Comparison |
| 2 | |
| 3 | /-! # Pullback Coherence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.PullbackCoherence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Ratios are compatible with successive pullbacks and with restriction from a nonvanishing open. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y Z : Scheme.{u}} |
| 16 | |
| 17 | /-- The structure-module frame for a composite module-pullback functor. -/ |
| 18 | def structureModuleIteratedPullbackIso (f : Y ⟶ Z) (h : X ⟶ Y) : |
| 19 | (Scheme.Modules.pullback h).obj ((Scheme.Modules.pullback f).obj (Line.Bundles.structureModule Z)) ≅ |
| 20 | Line.Bundles.structureModule X := |
| 21 | (Scheme.Modules.pullback h).mapIso (Line.Bundles.structureModulePullbackIso f) ≪≫ Line.Bundles.structureModulePullbackIso h |
| 22 | |
| 23 | theorem section_iteratedPullback (f : Y ⟶ Z) (h : X ⟶ Y) {L : Z.Modules} |
| 24 | (s : Line.Bundles.structureModule Z ⟶ L) : |
| 25 | (structureModuleIteratedPullbackIso f h).inv ≫ |
| 26 | (Scheme.Modules.pullback h).map ((Scheme.Modules.pullback f).map s) = |
| 27 | Ample.LineBundles.pullbackSection h (Ample.LineBundles.pullbackSection f s) := by |
| 28 | simp only [structureModuleIteratedPullbackIso, Iso.trans_inv, Functor.mapIso_inv, |
| 29 | Ample.LineBundles.pullbackSection, Functor.map_comp, Category.assoc] |
| 30 | |
| 31 | /-- Taking regular ratios gives the same result after successive pullbacks and composite pullback. -/ |
| 32 | theorem frameCoordinate_pullbackComp (f : Y ⟶ Z) (h : X ⟶ Y) {L : Z.Modules} |
| 33 | (s t : Line.Bundles.structureModule Z ⟶ L) |
| 34 | [IsIso (Ample.LineBundles.pullbackSection h (Ample.LineBundles.pullbackSection f s))] [IsIso (Ample.LineBundles.pullbackSection (h ≫ f) s)] : |
| 35 | Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection (h ≫ f) s) (Ample.LineBundles.pullbackSection (h ≫ f) t) = |
| 36 | Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection h (Ample.LineBundles.pullbackSection f s)) (Ample.LineBundles.pullbackSection h (Ample.LineBundles.pullbackSection f t)) := by |
| 37 | have hs : (structureModuleIteratedPullbackIso f h).inv ≫ |
| 38 | (Scheme.Modules.pullback f ⋙ Scheme.Modules.pullback h).map s = |
| 39 | Ample.LineBundles.pullbackSection h (Ample.LineBundles.pullbackSection f s) := section_iteratedPullback f h s |
| 40 | have ht : (structureModuleIteratedPullbackIso f h).inv ≫ |
| 41 | (Scheme.Modules.pullback f ⋙ Scheme.Modules.pullback h).map t = |
| 42 | Ample.LineBundles.pullbackSection h (Ample.LineBundles.pullbackSection f t) := section_iteratedPullback f h t |
| 43 | have : IsIso ((structureModuleIteratedPullbackIso f h).inv ≫ |
| 44 | (Scheme.Modules.pullback f ⋙ Scheme.Modules.pullback h).map s) := hs.symm ▸ inferInstance |
| 45 | have : IsIso ((Line.Bundles.structureModulePullbackIso (h ≫ f)).inv ≫ (Scheme.Modules.pullback (h ≫ f)).map s) := |
| 46 | inferInstanceAs (IsIso (Ample.LineBundles.pullbackSection (h ≫ f) s)) |
| 47 | have he := Comparison.frameCoordinate_functorComparison |
| 48 | (Scheme.Modules.pullback f ⋙ Scheme.Modules.pullback h) (Scheme.Modules.pullback (h ≫ f)) |
| 49 | (Scheme.Modules.pullbackComp h f) (structureModuleIteratedPullbackIso f h) |
| 50 | (Line.Bundles.structureModulePullbackIso (h ≫ f)) s t |
| 51 | exact he.trans (FrameRestriction.frameCoordinate_congr hs ht) |
| 52 | |
| 53 | /-- Equal base maps give equal regular ratios of the pulled-back sections. -/ |
| 54 | theorem frameCoordinate_pullbackCongr {f h : X ⟶ Y} (he : f = h) {L : Y.Modules} |
| 55 | (s t : Line.Bundles.structureModule Y ⟶ L) [IsIso (Ample.LineBundles.pullbackSection f s)] [IsIso (Ample.LineBundles.pullbackSection h s)] : |
| 56 | Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t) = |
| 57 | Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection h s) (Ample.LineBundles.pullbackSection h t) := by |
| 58 | subst h |
| 59 | rfl |
| 60 | |
| 61 | /-- A section remains a frame after any map into its nonvanishing open. -/ |
| 62 | instance pullbackSection_through_nonvanishing_isIso {L : Y.Modules} |
| 63 | (s : Line.Bundles.structureModule Y ⟶ L) (h : X ⟶ (Ample.LineBundles.sectionNonvanishing s).toScheme) : |
| 64 | IsIso (Ample.LineBundles.pullbackSection (h ≫ (Ample.LineBundles.sectionNonvanishing s).ι) s) := |
| 65 | (Section.Nonvanishing.isIso_pullbackSection_comp_iff (Ample.LineBundles.sectionNonvanishing s).ι h s).mp inferInstance |
| 66 | |
| 67 | /-- Restricting the canonical section ratio to an open part of the nonvanishing open |
| 68 | is the ratio of the sections pulled directly to that open. -/ |
| 69 | theorem sectionRatio_restrict {L : Y.Modules} (s t : Line.Bundles.structureModule Y ⟶ L) |
| 70 | (h : X ⟶ (Ample.LineBundles.sectionNonvanishing s).toScheme) [IsOpenImmersion h] : |
| 71 | h.appTop (Section.Frames.sectionRatio s t) = Coordinates.frameCoordinate |
| 72 | (Ample.LineBundles.pullbackSection (h ≫ (Ample.LineBundles.sectionNonvanishing s).ι) s) |
| 73 | (Ample.LineBundles.pullbackSection (h ≫ (Ample.LineBundles.sectionNonvanishing s).ι) t) := by |
| 74 | exact (congrArg (fun a => h.appTop a) (Coordinates.sectionRatio_eq_frameCoordinate s t)).trans |
| 75 | ((FrameRestriction.frameCoordinate_pullback h (Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing s).ι s) |
| 76 | (Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing s).ι t)).symm.trans |
| 77 | (frameCoordinate_pullbackComp (Ample.LineBundles.sectionNonvanishing s).ι h s t).symm) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.PullbackCoherence |