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.FrameRestriction |
| 2 | |
| 3 | /-! # Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Comparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Frame coordinates are independent of isomorphic choices in module-sheaf pullback. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} {L : X.Modules} |
| 16 | |
| 17 | /-- Changing the source frame of both sections leaves their ratio unchanged. -/ |
| 18 | theorem frameCoordinate_sourceIso (s t : Line.Bundles.structureModule X ⟶ L) [IsIso s] |
| 19 | (e : Line.Bundles.structureModule X ≅ Line.Bundles.structureModule X) : |
| 20 | Coordinates.frameCoordinate (e.hom ≫ s) (e.hom ≫ t) = Coordinates.frameCoordinate s t := by |
| 21 | let a : End (Line.Bundles.structureModule X) := e.hom |
| 22 | let b : End (Line.Bundles.structureModule X) := e.inv |
| 23 | have he : Coordinates.frameCoordinateEnd (e.hom ≫ s) (e.hom ≫ t) = |
| 24 | b * Coordinates.frameCoordinateEnd s t * a := by |
| 25 | apply (cancel_mono (e.hom ≫ s)).mp |
| 26 | rw [Coordinates.frameCoordinateEnd_frame] |
| 27 | change e.hom ≫ t = (e.hom ≫ (t ≫ inv s) ≫ e.inv) ≫ (e.hom ≫ s) |
| 28 | simp only [Category.assoc, Iso.inv_hom_id_assoc, IsIso.inv_hom_id, Category.comp_id] |
| 29 | have hba : b * a = 1 := e.hom_inv_id |
| 30 | have hu : Coordinates.structureModuleEndValue X b * Coordinates.structureModuleEndValue X a = 1 := |
| 31 | (map_mul (Coordinates.structureModuleEndValue X) b a).symm.trans |
| 32 | ((congrArg (Coordinates.structureModuleEndValue X) hba).trans (map_one (Coordinates.structureModuleEndValue X))) |
| 33 | change Coordinates.structureModuleEndValue X (Coordinates.frameCoordinateEnd _ _) = Coordinates.structureModuleEndValue X (Coordinates.frameCoordinateEnd s t) |
| 34 | rw [he, map_mul, map_mul, mul_assoc, mul_comm (Coordinates.structureModuleEndValue X (Coordinates.frameCoordinateEnd s t)) |
| 35 | (Coordinates.structureModuleEndValue X a), ← mul_assoc, hu, one_mul] |
| 36 | |
| 37 | /-- A natural isomorphism of module functors transports a section, up to the induced source frame. -/ |
| 38 | theorem framedSection_functorComparison (F G : Y.Modules ⥤ X.Modules) (e : F ≅ G) |
| 39 | (uF : F.obj (Line.Bundles.structureModule Y) ≅ Line.Bundles.structureModule X) |
| 40 | (uG : G.obj (Line.Bundles.structureModule Y) ≅ Line.Bundles.structureModule X) |
| 41 | {L : Y.Modules} (s : Line.Bundles.structureModule Y ⟶ L) : |
| 42 | (((uG.symm ≪≫ e.symm.app (Line.Bundles.structureModule Y) ≪≫ uF).hom ≫ (uF.inv ≫ F.map s)) ≫ |
| 43 | (e.app L).hom) = uG.inv ≫ G.map s := by |
| 44 | change ((uG.inv ≫ (e.app (Line.Bundles.structureModule Y)).inv ≫ uF.hom) ≫ |
| 45 | (uF.inv ≫ F.map s)) ≫ (e.app L).hom = _ |
| 46 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 47 | exact (congrArg (fun z : F.obj (Line.Bundles.structureModule Y) ⟶ G.obj L => |
| 48 | uG.inv ≫ (e.app (Line.Bundles.structureModule Y)).inv ≫ z) (e.hom.naturality s)).trans |
| 49 | (congrArg (fun z : G.obj (Line.Bundles.structureModule Y) ⟶ G.obj L => uG.inv ≫ z) |
| 50 | ((e.app (Line.Bundles.structureModule Y)).inv_hom_id_assoc (G.map s))) |
| 51 | |
| 52 | /-- Ratios of transported sections are independent of a natural isomorphism between the functors |
| 53 | and the chosen comparisons with the structure module. -/ |
| 54 | theorem frameCoordinate_functorComparison (F G : Y.Modules ⥤ X.Modules) (e : F ≅ G) |
| 55 | (uF : F.obj (Line.Bundles.structureModule Y) ≅ Line.Bundles.structureModule X) |
| 56 | (uG : G.obj (Line.Bundles.structureModule Y) ≅ Line.Bundles.structureModule X) |
| 57 | {L : Y.Modules} (s t : Line.Bundles.structureModule Y ⟶ L) |
| 58 | [IsIso (uF.inv ≫ F.map s)] [IsIso (uG.inv ≫ G.map s)] : |
| 59 | Coordinates.frameCoordinate (uG.inv ≫ G.map s) (uG.inv ≫ G.map t) = |
| 60 | Coordinates.frameCoordinate (uF.inv ≫ F.map s) (uF.inv ≫ F.map t) := by |
| 61 | let a := uG.symm ≪≫ e.symm.app (Line.Bundles.structureModule Y) ≪≫ uF |
| 62 | have hs := framedSection_functorComparison F G e uF uG s |
| 63 | have ht := framedSection_functorComparison F G e uF uG t |
| 64 | exact (FrameRestriction.frameCoordinate_congr hs ht).symm.trans |
| 65 | ((FrameRestriction.frameCoordinate_targetIso (a.hom ≫ (uF.inv ≫ F.map s)) |
| 66 | (a.hom ≫ (uF.inv ≫ F.map t)) (e.app L)).trans |
| 67 | (frameCoordinate_sourceIso (uF.inv ≫ F.map s) (uF.inv ≫ F.map t) a)) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Comparison |