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.RestrictionScalars |
| 2 | |
| 3 | /-! # Frame Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.FrameRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Regular coordinates in frames commute with restriction to open subschemes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} {L M : X.Modules} |
| 16 | |
| 17 | theorem frameCoordinate_congr {s s' t t' : Line.Bundles.structureModule X ⟶ L} [IsIso s] [IsIso s'] |
| 18 | (hs : s = s') (ht : t = t') : Coordinates.frameCoordinate s t = Coordinates.frameCoordinate s' t' := by |
| 19 | subst s' |
| 20 | subst t' |
| 21 | rfl |
| 22 | |
| 23 | /-- Changing the target sheaf by an isomorphism preserves the coordinate in a frame. -/ |
| 24 | theorem frameCoordinate_targetIso (s t : Line.Bundles.structureModule X ⟶ L) [IsIso s] (h : L ≅ M) : |
| 25 | Coordinates.frameCoordinate (s ≫ h.hom) (t ≫ h.hom) = Coordinates.frameCoordinate s t := by |
| 26 | have he : Coordinates.frameCoordinateEnd (s ≫ h.hom) (t ≫ h.hom) = Coordinates.frameCoordinateEnd s t := by |
| 27 | apply (cancel_mono (s ≫ h.hom)).mp |
| 28 | rw [Coordinates.frameCoordinateEnd_frame] |
| 29 | simp only [Coordinates.frameCoordinateEnd, Category.assoc, IsIso.inv_hom_id_assoc] |
| 30 | exact congrArg (Coordinates.structureModuleEndValue X) he |
| 31 | |
| 32 | /-- Restriction in any chosen frame of the restricted structure module gives the usual |
| 33 | restriction of the regular coordinate. -/ |
| 34 | theorem frameCoordinate_restrict (f : X ⟶ Y) [IsOpenImmersion f] {L : Y.Modules} |
| 35 | (s t : Line.Bundles.structureModule Y ⟶ L) [IsIso s] |
| 36 | (e : (Line.Bundles.structureModule Y).restrict f ≅ Line.Bundles.structureModule X) : |
| 37 | Coordinates.frameCoordinate (e.inv ≫ (Scheme.Modules.restrictFunctor f).map s) |
| 38 | (e.inv ≫ (Scheme.Modules.restrictFunctor f).map t) = f.appTop (Coordinates.frameCoordinate s t) := by |
| 39 | have he : Coordinates.frameCoordinateEnd (e.inv ≫ (Scheme.Modules.restrictFunctor f).map s) |
| 40 | (e.inv ≫ (Scheme.Modules.restrictFunctor f).map t) = |
| 41 | e.inv ≫ (Scheme.Modules.restrictFunctor f).map (Coordinates.frameCoordinateEnd s t) ≫ e.hom := by |
| 42 | apply (cancel_mono (e.inv ≫ (Scheme.Modules.restrictFunctor f).map s)).mp |
| 43 | rw [Coordinates.frameCoordinateEnd_frame] |
| 44 | simp only [Coordinates.frameCoordinateEnd, Category.assoc, Iso.hom_inv_id_assoc, |
| 45 | ← Functor.map_comp, IsIso.inv_hom_id, Category.comp_id] |
| 46 | exact (congrArg (Coordinates.structureModuleEndValue X) he).trans |
| 47 | (RestrictionScalars.structureModuleEndValue_restrict f (Coordinates.frameCoordinateEnd s t) e) |
| 48 | |
| 49 | /-- Restriction and the canonical pullback give the same section after their module comparisons. -/ |
| 50 | theorem section_restrict_to_pullback (f : X ⟶ Y) [IsOpenImmersion f] {L : Y.Modules} |
| 51 | (s : Line.Bundles.structureModule Y ⟶ L) : |
| 52 | (((Scheme.Modules.restrictFunctorIsoPullback f).app (Line.Bundles.structureModule Y) ≪≫ |
| 53 | Line.Bundles.structureModulePullbackIso f).inv ≫ (Scheme.Modules.restrictFunctor f).map s) ≫ |
| 54 | ((Scheme.Modules.restrictFunctorIsoPullback f).app L).hom = Ample.LineBundles.pullbackSection f s := by |
| 55 | change ((Line.Bundles.structureModulePullbackIso f).inv ≫ |
| 56 | ((Scheme.Modules.restrictFunctorIsoPullback f).app (Line.Bundles.structureModule Y)).inv ≫ |
| 57 | (Scheme.Modules.restrictFunctor f).map s) ≫ |
| 58 | ((Scheme.Modules.restrictFunctorIsoPullback f).app L).hom = _ |
| 59 | simp only [Category.assoc] |
| 60 | have hn : (Scheme.Modules.restrictFunctor f).map s ≫ |
| 61 | ((Scheme.Modules.restrictFunctorIsoPullback f).app L).hom = |
| 62 | ((Scheme.Modules.restrictFunctorIsoPullback f).app (Line.Bundles.structureModule Y)).hom ≫ |
| 63 | (Scheme.Modules.pullback f).map s := (Scheme.Modules.restrictFunctorIsoPullback f).hom.naturality s |
| 64 | exact (congrArg (fun z : (Line.Bundles.structureModule Y).restrict f ⟶ (Scheme.Modules.pullback f).obj L => |
| 65 | (Line.Bundles.structureModulePullbackIso f).inv ≫ |
| 66 | ((Scheme.Modules.restrictFunctorIsoPullback f).app (Line.Bundles.structureModule Y)).inv ≫ z) hn).trans |
| 67 | (by simp only [Iso.inv_hom_id_assoc, Ample.LineBundles.pullbackSection]) |
| 68 | |
| 69 | /-- Regular frame coordinates pull back as regular functions on open subschemes. -/ |
| 70 | theorem frameCoordinate_pullback (f : X ⟶ Y) [IsOpenImmersion f] {L : Y.Modules} |
| 71 | (s t : Line.Bundles.structureModule Y ⟶ L) [IsIso s] : |
| 72 | Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t) = f.appTop (Coordinates.frameCoordinate s t) := by |
| 73 | let e := (Scheme.Modules.restrictFunctorIsoPullback f).app (Line.Bundles.structureModule Y) ≪≫ |
| 74 | Line.Bundles.structureModulePullbackIso f |
| 75 | have he := frameCoordinate_targetIso (e.inv ≫ (Scheme.Modules.restrictFunctor f).map s) |
| 76 | (e.inv ≫ (Scheme.Modules.restrictFunctor f).map t) ((Scheme.Modules.restrictFunctorIsoPullback f).app L) |
| 77 | have hs : (e.inv ≫ (Scheme.Modules.restrictFunctor f).map s) ≫ |
| 78 | ((Scheme.Modules.restrictFunctorIsoPullback f).app L).hom = Ample.LineBundles.pullbackSection f s := |
| 79 | section_restrict_to_pullback f s |
| 80 | have ht : (e.inv ≫ (Scheme.Modules.restrictFunctor f).map t) ≫ |
| 81 | ((Scheme.Modules.restrictFunctorIsoPullback f).app L).hom = Ample.LineBundles.pullbackSection f t := |
| 82 | section_restrict_to_pullback f t |
| 83 | exact (frameCoordinate_congr hs ht).symm.trans (he.trans (frameCoordinate_restrict f s t e)) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.FrameRestriction |