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.Quotients.FiniteDescent.PullbackScalarsValue |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SectionFrameApps |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoordinatesOnOpenSubschemes |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.PullbackCoherence |
| 5 | |
| 6 | /-! # Frame Coordinate Pullback -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FrameCoordinatePullback.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Frame coordinates under arbitrary scheme morphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem frameCoordinate_pullback_any {X Y : Scheme.{u}} (f : X ⟶ Y) {L : Y.Modules} |
| 19 | (s t : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ L) [IsIso s] : |
| 20 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s) (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f t) = |
| 21 | f.appTop (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate s t) := by |
| 22 | have he : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinateEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s) (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f t) = |
| 23 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).inv ≫ |
| 24 | (Scheme.Modules.pullback f).map (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinateEnd s t) ≫ |
| 25 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom := by |
| 26 | apply (cancel_mono (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s)).mp |
| 27 | rw [AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinateEnd_frame] |
| 28 | simp only [AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection, AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinateEnd, Category.assoc, Iso.hom_inv_id_assoc, |
| 29 | ← Functor.map_comp, IsIso.inv_hom_id, Category.comp_id] |
| 30 | exact (congrArg (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X) he).trans |
| 31 | (AlgebraicGeometry.Quotients.FiniteDescent.PullbackScalarsValue.Construction.PullbackScalars.value_pullback f (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinateEnd s t)) |
| 32 | |
| 33 | def sectionAppCoordinate {X : Scheme.{u}} {M : X.Modules} |
| 34 | (s t : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) {U : X.Opens} (hU : U ≤ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : Γ(X, U) := |
| 35 | (SectionFrameApps.Construction.sectionAppLinearEquiv s hU).symm (t.app U (1 : Γ(X, U))) |
| 36 | |
| 37 | theorem sectionAppCoordinate_smul {X : Scheme.{u}} {M : X.Modules} |
| 38 | (s t : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) {U : X.Opens} (hU : U ≤ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) (r : Γ(X, U)) : |
| 39 | (SectionFrameApps.Construction.sectionAppLinearEquiv s hU).symm (t.app U r) = r * sectionAppCoordinate s t hU := by |
| 40 | have ht : t.app U r = r • t.app U (1 : Γ(X, U)) := by |
| 41 | have he := t.app_smul r (1 : Γ(X, U)) |
| 42 | change t.app U (show Γ(X, U) from r * 1) = r • t.app U (1 : Γ(X, U)) at he |
| 43 | exact (congrArg (fun z : Γ(X, U) => t.app U z) (mul_one r)).symm.trans he |
| 44 | rw [ht, map_smul] |
| 45 | rfl |
| 46 | |
| 47 | theorem sectionAppCoordinate_restrict {X : Scheme.{u}} {M : X.Modules} |
| 48 | (s t : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) {U V : X.Opens} (h : V ≤ U) |
| 49 | (hU : U ≤ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : |
| 50 | X.presheaf.map (homOfLE h).op (sectionAppCoordinate s t hU) = |
| 51 | sectionAppCoordinate s t (h.trans hU) := by |
| 52 | have ht : M.presheaf.map (homOfLE h).op (t.app U (1 : Γ(X, U))) = |
| 53 | t.app V (1 : Γ(X, V)) := by |
| 54 | have hn := PresheafOfModules.naturality_apply t.val (homOfLE h).op (1 : Γ(X, U)) |
| 55 | exact hn.symm.trans (congrArg (fun r : Γ(X, V) => t.app V r) |
| 56 | ((X.presheaf.map (homOfLE h).op).hom.map_one)) |
| 57 | exact (SectionFrameApps.Construction.sectionAppLinearEquiv_symm_restrict s h hU (t.app U (1 : Γ(X, U)))).trans |
| 58 | (congrArg (SectionFrameApps.Construction.sectionAppLinearEquiv s (h.trans hU)).symm ht) |
| 59 | |
| 60 | theorem sectionAppCoordinate_eq_frameCoordinate {X : Scheme.{u}} {M : X.Modules} |
| 61 | (s t : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) {U : X.Opens} (hU : U ≤ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : |
| 62 | letI := AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.PowerLocus.pullbackSection_isIso_of_le hU s |
| 63 | sectionAppCoordinate s t hU = U.topIso.hom |
| 64 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s) (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι t)) := by |
| 65 | have : IsIso (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s) := AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.PowerLocus.pullbackSection_isIso_of_le hU s |
| 66 | let c := U.topIso.hom (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s) (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι t)) |
| 67 | apply (SectionFrameApps.Construction.sectionAppLinearEquiv s hU).injective |
| 68 | have he : s.app U c = c • s.app U (1 : Γ(X, U)) := by |
| 69 | have hh := s.app_smul c (1 : Γ(X, U)) |
| 70 | change s.app U (show Γ(X, U) from c * 1) = c • s.app U (1 : Γ(X, U)) at hh |
| 71 | exact (congrArg (fun r : Γ(X, U) => s.app U r) (mul_one c)).symm.trans hh |
| 72 | exact ((SectionFrameApps.Construction.sectionAppLinearEquiv s hU).apply_symm_apply (t.app U (1 : Γ(X, U)))).trans |
| 73 | ((AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoordinatesOnOpenSubschemes.local_frameCoordinate_value_on_open U s t).trans he.symm) |
| 74 | |
| 75 | theorem sectionRatio_pullback_any {X Y : Scheme.{u}} {M : Y.Modules} |
| 76 | (s t : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ M) (h : X ⟶ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).toScheme) : |
| 77 | h.appTop (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.Frames.sectionRatio s t) = AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate |
| 78 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (h ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι) s) |
| 79 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (h ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι) t) := |
| 80 | (congrArg h.appTop (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.sectionRatio_eq_frameCoordinate s t)).trans |
| 81 | ((frameCoordinate_pullback_any h (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι s) |
| 82 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι t)).symm.trans |
| 83 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.PullbackCoherence.frameCoordinate_pullbackComp (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι h s t).symm) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FrameCoordinatePullback.Construction |