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.Power.FrameCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Comparison |
| 3 | |
| 4 | /-! # Power Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.PowerCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Tensor-power coordinate formulas for sections which become frames only after |
| 12 | restriction. The comparison uses the actual pullback and tensor-power functors. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] (n : ℕ) |
| 20 | |
| 21 | /-- The restriction comparison is natural in the module sheaf. -/ |
| 22 | def tensorPowerRestrictNatIso : |
| 23 | Scheme.Modules.restrictFunctor f ⋙ TensorPower.Maps.tensorPowerFunctor X n ≅ |
| 24 | TensorPower.Maps.tensorPowerFunctor Y n ⋙ Scheme.Modules.restrictFunctor f := |
| 25 | NatIso.ofComponents (fun L => TensorPower.RestrictionMaps.tensorPowerRestrictIso f L n) |
| 26 | (fun a => TensorPower.RestrictionMaps.tensorPowerRestrictIso_naturality f a) |
| 27 | |
| 28 | /-- Tensor powers commute with pullback along open immersions, naturally in |
| 29 | the original module sheaf. -/ |
| 30 | def tensorPowerPullbackNatIso : |
| 31 | Scheme.Modules.pullback f ⋙ TensorPower.Maps.tensorPowerFunctor X n ≅ |
| 32 | TensorPower.Maps.tensorPowerFunctor Y n ⋙ Scheme.Modules.pullback f := |
| 33 | Functor.isoWhiskerRight (Scheme.Modules.restrictFunctorIsoPullback f).symm |
| 34 | (TensorPower.Maps.tensorPowerFunctor X n) ≪≫ |
| 35 | tensorPowerRestrictNatIso f n ≪≫ |
| 36 | Functor.isoWhiskerLeft (TensorPower.Maps.tensorPowerFunctor Y n) (Scheme.Modules.restrictFunctorIsoPullback f) |
| 37 | |
| 38 | /-- Unit comparison for taking a tensor power after pullback. -/ |
| 39 | def powerPullbackUnitIso : |
| 40 | (Scheme.Modules.pullback f ⋙ TensorPower.Maps.tensorPowerFunctor X n).obj (Line.Bundles.structureModule Y) ≅ |
| 41 | Line.Bundles.structureModule X := |
| 42 | (TensorPower.Maps.tensorPowerFunctor X n).mapIso (Line.Bundles.structureModulePullbackIso f) ≪≫ TensorPower.Maps.tensorPowerUnitIso X n |
| 43 | |
| 44 | /-- Unit comparison for pulling back a tensor power. -/ |
| 45 | def pullbackPowerUnitIso : |
| 46 | (TensorPower.Maps.tensorPowerFunctor Y n ⋙ Scheme.Modules.pullback f).obj (Line.Bundles.structureModule Y) ≅ |
| 47 | Line.Bundles.structureModule X := |
| 48 | (Scheme.Modules.pullback f).mapIso (TensorPower.Maps.tensorPowerUnitIso Y n) ≪≫ Line.Bundles.structureModulePullbackIso f |
| 49 | |
| 50 | omit [IsOpenImmersion f] in |
| 51 | theorem powerPullbackUnitIso_section {L : Y.Modules} (s : Line.Bundles.structureModule Y ⟶ L) : |
| 52 | (powerPullbackUnitIso f n).inv ≫ |
| 53 | (Scheme.Modules.pullback f ⋙ TensorPower.Maps.tensorPowerFunctor X n).map s = |
| 54 | TensorPower.Maps.tensorPowerSection (Ample.LineBundles.pullbackSection f s) n := by |
| 55 | change ((TensorPower.Maps.tensorPowerUnitIso X n).inv ≫ TensorPower.Maps.tensorPowerMap (Line.Bundles.structureModulePullbackIso f).inv n) ≫ |
| 56 | TensorPower.Maps.tensorPowerMap ((Scheme.Modules.pullback f).map s) n = |
| 57 | (TensorPower.Maps.tensorPowerUnitIso X n).inv ≫ |
| 58 | TensorPower.Maps.tensorPowerMap ((Line.Bundles.structureModulePullbackIso f).inv ≫ (Scheme.Modules.pullback f).map s) n |
| 59 | rw [TensorPower.Maps.tensorPowerMap_comp, Category.assoc] |
| 60 | |
| 61 | omit [IsOpenImmersion f] in |
| 62 | theorem pullbackPowerUnitIso_section {L : Y.Modules} (s : Line.Bundles.structureModule Y ⟶ L) : |
| 63 | (pullbackPowerUnitIso f n).inv ≫ |
| 64 | (TensorPower.Maps.tensorPowerFunctor Y n ⋙ Scheme.Modules.pullback f).map s = |
| 65 | Ample.LineBundles.pullbackSection f (TensorPower.Maps.tensorPowerSection s n) := by |
| 66 | change ((Line.Bundles.structureModulePullbackIso f).inv ≫ |
| 67 | (Scheme.Modules.pullback f).map (TensorPower.Maps.tensorPowerUnitIso Y n).inv) ≫ |
| 68 | (Scheme.Modules.pullback f).map (TensorPower.Maps.tensorPowerMap s n) = |
| 69 | (Line.Bundles.structureModulePullbackIso f).inv ≫ (Scheme.Modules.pullback f).map |
| 70 | ((TensorPower.Maps.tensorPowerUnitIso Y n).inv ≫ TensorPower.Maps.tensorPowerMap s n) |
| 71 | rw [Functor.map_comp, Category.assoc] |
| 72 | |
| 73 | /-- If a denominator section is a frame on an open subscheme, the coordinates |
| 74 | of its powers on that open are the ordinary powers of the original coordinates. -/ |
| 75 | theorem frameCoordinate_local_tensorPower {L : Y.Modules} |
| 76 | (s t : Line.Bundles.structureModule Y ⟶ L) [IsIso (Ample.LineBundles.pullbackSection f s)] : |
| 77 | letI := Power.Nonvanishing.tensorPowerSection_pullback_isIso f s n |
| 78 | Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection f (TensorPower.Maps.tensorPowerSection s n)) |
| 79 | (Ample.LineBundles.pullbackSection f (TensorPower.Maps.tensorPowerSection t n)) = |
| 80 | (Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t)) ^ n := by |
| 81 | have : IsIso (Ample.LineBundles.pullbackSection f (TensorPower.Maps.tensorPowerSection s n)) := |
| 82 | Power.Nonvanishing.tensorPowerSection_pullback_isIso f s n |
| 83 | let F := Scheme.Modules.pullback f ⋙ TensorPower.Maps.tensorPowerFunctor X n |
| 84 | let G := TensorPower.Maps.tensorPowerFunctor Y n ⋙ Scheme.Modules.pullback f |
| 85 | let uF := powerPullbackUnitIso f n |
| 86 | let uG := pullbackPowerUnitIso f n |
| 87 | have hFs : uF.inv ≫ F.map s = TensorPower.Maps.tensorPowerSection (Ample.LineBundles.pullbackSection f s) n := |
| 88 | powerPullbackUnitIso_section f n s |
| 89 | have hFt : uF.inv ≫ F.map t = TensorPower.Maps.tensorPowerSection (Ample.LineBundles.pullbackSection f t) n := |
| 90 | powerPullbackUnitIso_section f n t |
| 91 | have hGs : uG.inv ≫ G.map s = Ample.LineBundles.pullbackSection f (TensorPower.Maps.tensorPowerSection s n) := |
| 92 | pullbackPowerUnitIso_section f n s |
| 93 | have hGt : uG.inv ≫ G.map t = Ample.LineBundles.pullbackSection f (TensorPower.Maps.tensorPowerSection t n) := |
| 94 | pullbackPowerUnitIso_section f n t |
| 95 | have hFi : IsIso (uF.inv ≫ F.map s) := hFs.symm ▸ inferInstanceAs |
| 96 | (IsIso (TensorPower.Maps.tensorPowerSection (Ample.LineBundles.pullbackSection f s) n)) |
| 97 | have hGi : IsIso (uG.inv ≫ G.map s) := hGs.symm ▸ Power.Nonvanishing.tensorPowerSection_pullback_isIso f s n |
| 98 | have hGc := @Frame.FrameRestriction.frameCoordinate_congr X (G.obj L) _ _ _ _ hGi |
| 99 | (Power.Nonvanishing.tensorPowerSection_pullback_isIso f s n) hGs hGt |
| 100 | have hFc := @Frame.FrameRestriction.frameCoordinate_congr X (F.obj L) _ _ _ _ hFi |
| 101 | (inferInstanceAs (IsIso (TensorPower.Maps.tensorPowerSection (Ample.LineBundles.pullbackSection f s) n))) hFs hFt |
| 102 | exact hGc.symm.trans |
| 103 | ((Frame.Comparison.frameCoordinate_functorComparison F G (tensorPowerPullbackNatIso f n) uF uG s t).trans |
| 104 | (hFc.trans |
| 105 | (Power.FrameCoordinates.frameCoordinate_tensorPowerSection (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t) n))) |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.PowerCoordinates |