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.Tensor.PullbackUnits |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 3 | |
| 4 | /-! # Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.BaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Regular scalar and frame coordinates commute with arbitrary scheme pullback. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | theorem structureModuleEndValue_baseChange (f : X ⟶ Y) (a : End (Line.Bundles.structureModule Y)) : |
| 19 | Frame.Coordinates.structureModuleEndValue X ((Line.Bundles.structureModulePullbackIso f).inv ≫ |
| 20 | (Scheme.Modules.pullback f).map a ≫ (Line.Bundles.structureModulePullbackIso f).hom) = |
| 21 | f.appTop (Frame.Coordinates.structureModuleEndValue Y a) := by |
| 22 | let e := Line.Bundles.structureModulePullbackIso f |
| 23 | let b : End (Line.Bundles.structureModule X) := e.inv ≫ (Scheme.Modules.pullback f).map a ≫ e.hom |
| 24 | have hb : e.hom ≫ b = (Scheme.Modules.pullback f).map a ≫ e.hom := by |
| 25 | simp only [b, Iso.hom_inv_id_assoc] |
| 26 | let v : Line.Bundles.structureModule Y ⟶ (Scheme.Modules.pushforward f).obj (Line.Bundles.structureModule X) := |
| 27 | SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom |
| 28 | have hu : (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (Line.Bundles.structureModule Y) ≫ |
| 29 | (Scheme.Modules.pushforward f).map e.hom = v := Tensor.PullbackUnits.structureModulePullbackIso_unit f |
| 30 | have hn : a ≫ (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (Line.Bundles.structureModule Y) = |
| 31 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (Line.Bundles.structureModule Y) ≫ |
| 32 | (Scheme.Modules.pushforward f).map ((Scheme.Modules.pullback f).map a) := |
| 33 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.naturality a |
| 34 | have h : v ≫ (Scheme.Modules.pushforward f).map b = a ≫ v := by |
| 35 | rw [← hu, Category.assoc, ← Functor.map_comp, hb, Functor.map_comp, ← Category.assoc, |
| 36 | ← hn, Category.assoc] |
| 37 | have hv := congrArg (fun c : Line.Bundles.structureModule Y ⟶ |
| 38 | (Scheme.Modules.pushforward f).obj (Line.Bundles.structureModule X) => c.app ⊤ (1 : Γ(Y, ⊤))) h |
| 39 | change b.app ⊤ (f.appTop (1 : Γ(Y, ⊤))) = f.appTop (a.app ⊤ (1 : Γ(Y, ⊤))) at hv |
| 40 | rw [show f.appTop (1 : Γ(Y, ⊤)) = 1 from map_one (f.appTop).hom] at hv |
| 41 | exact hv |
| 42 | |
| 43 | theorem frameCoordinate_baseChange (f : X ⟶ Y) {L : Y.Modules} |
| 44 | (s t : Line.Bundles.structureModule Y ⟶ L) [IsIso s] : |
| 45 | Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t) = |
| 46 | f.appTop (Frame.Coordinates.frameCoordinate s t) := by |
| 47 | let e := Line.Bundles.structureModulePullbackIso f |
| 48 | have he : Frame.Coordinates.frameCoordinateEnd (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t) = |
| 49 | e.inv ≫ (Scheme.Modules.pullback f).map (Frame.Coordinates.frameCoordinateEnd s t) ≫ e.hom := by |
| 50 | apply (cancel_mono (Ample.LineBundles.pullbackSection f s)).mp |
| 51 | rw [Frame.Coordinates.frameCoordinateEnd_frame] |
| 52 | simp only [Frame.Coordinates.frameCoordinateEnd, Ample.LineBundles.pullbackSection, e, Category.assoc, |
| 53 | Iso.hom_inv_id_assoc, ← Functor.map_comp, IsIso.inv_hom_id, Category.comp_id] |
| 54 | exact (congrArg (Frame.Coordinates.structureModuleEndValue X) he).trans |
| 55 | (structureModuleEndValue_baseChange f (Frame.Coordinates.frameCoordinateEnd s t)) |
| 56 | |
| 57 | theorem sectionNonvanishing_baseChange_of_frame (f : X ⟶ Y) {L : Y.Modules} |
| 58 | (s t : Line.Bundles.structureModule Y ⟶ L) [IsIso s] : |
| 59 | Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f t) = f ⁻¹ᵁ Ample.LineBundles.sectionNonvanishing t := by |
| 60 | rw [Nonvanishing.sectionNonvanishing_frameCoordinate (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t), |
| 61 | frameCoordinate_baseChange, ← f.preimage_basicOpen_top, |
| 62 | Nonvanishing.sectionNonvanishing_frameCoordinate s t] |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.BaseChange |