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.Nonvanishing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.Units |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.LineBundles |
| 4 | |
| 5 | /-! # Power Locus -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.PowerLocus |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The nonvanishing open of a line-bundle section is unchanged by any positive tensor power. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} {L M : Y.Modules} |
| 18 | |
| 19 | /-- The canonical restriction comparison transports invertibility in both directions. -/ |
| 20 | theorem isIso_tensorPowerMap_restrict_iff (f : X ⟶ Y) [IsOpenImmersion f] |
| 21 | (a : L ⟶ M) (n : ℕ) : |
| 22 | IsIso (TensorPower.Maps.tensorPowerMap ((Scheme.Modules.restrictFunctor f).map a) n) ↔ |
| 23 | IsIso ((Scheme.Modules.restrictFunctor f).map (TensorPower.Maps.tensorPowerMap a n)) := by |
| 24 | have h := congrArg (fun z => IsIso z) (TensorPower.RestrictionMaps.tensorPowerRestrictIso_naturality (n := n) f a) |
| 25 | simpa only [isIso_comp_right_iff, isIso_comp_left_iff] using h.to_iff |
| 26 | |
| 27 | /-- A section frame restricts to any smaller open subscheme. -/ |
| 28 | theorem pullbackSection_isIso_of_le {U V : Y.Opens} (h : V ≤ U) |
| 29 | (s : Line.Bundles.structureModule Y ⟶ L) [IsIso (Ample.LineBundles.pullbackSection U.ι s)] : |
| 30 | IsIso (Ample.LineBundles.pullbackSection V.ι s) := by |
| 31 | have ht : IsIso (Ample.LineBundles.pullbackSection (Y.homOfLE h ≫ U.ι) s) := |
| 32 | (Nonvanishing.isIso_pullbackSection_comp_iff U.ι (Y.homOfLE h) s).mp inferInstance |
| 33 | exact (congrArg (fun a : V.toScheme ⟶ Y => IsIso (Ample.LineBundles.pullbackSection a s)) |
| 34 | (Y.homOfLE_ι h)).mp ht |
| 35 | |
| 36 | /-- A frame of a positive section power forces the section itself to be a frame |
| 37 | on every open where its line bundle is trivialized. -/ |
| 38 | theorem section_isIso_of_tensorPowerSection {L : Line.Bundles.LineBundle Y} |
| 39 | (s : Line.Bundles.structureModule Y ⟶ L.sheaf) (n : ℕ) (hn : 0 < n) (U : Y.Opens) |
| 40 | (e : (Scheme.Modules.pullback U.ι).obj L.sheaf ≅ Line.Bundles.structureModule U.toScheme) |
| 41 | [IsIso (Ample.LineBundles.pullbackSection U.ι (TensorPower.Maps.tensorPowerSection s n))] : |
| 42 | IsIso (Ample.LineBundles.pullbackSection U.ι s) := by |
| 43 | have hsp : IsIso ((Scheme.Modules.pullback U.ι).map (TensorPower.Maps.tensorPowerSection s n)) := |
| 44 | (Nonvanishing.isIso_pullbackSection_iff U.ι _).mp inferInstance |
| 45 | have hp : IsIso ((Scheme.Modules.pullback U.ι).map (TensorPower.Maps.tensorPowerMap s n)) := by |
| 46 | simpa only [TensorPower.Maps.tensorPowerSection, Functor.map_comp, isIso_comp_left_iff] using hsp |
| 47 | have hr : IsIso ((Scheme.Modules.restrictFunctor U.ι).map (TensorPower.Maps.tensorPowerMap s n)) := |
| 48 | (Power.Nonvanishing.isIso_restrict_map_iff U.ι _).mpr hp |
| 49 | have : IsIso (TensorPower.Maps.tensorPowerMap ((Scheme.Modules.restrictFunctor U.ι).map s) n) := |
| 50 | (isIso_tensorPowerMap_restrict_iff U.ι s n).mpr hr |
| 51 | have : IsIso ((Scheme.Modules.restrictFunctor U.ι).map s) := |
| 52 | TensorPower.Units.isIso_of_tensorPowerMap_of_frames _ n hn |
| 53 | ((Scheme.Modules.restrictFunctorIsoPullback U.ι).app (Line.Bundles.structureModule Y) ≪≫ |
| 54 | Line.Bundles.structureModulePullbackIso U.ι) |
| 55 | ((Scheme.Modules.restrictFunctorIsoPullback U.ι).app L.sheaf ≪≫ e) |
| 56 | exact (Nonvanishing.isIso_pullbackSection_iff U.ι s).mpr ((Power.Nonvanishing.isIso_restrict_map_iff U.ι s).mp this) |
| 57 | |
| 58 | /-- Positive powers have exactly the same nonvanishing open as the original line-bundle section. -/ |
| 59 | theorem sectionNonvanishing_tensorPowerSection {L : Line.Bundles.LineBundle Y} |
| 60 | (s : Line.Bundles.structureModule Y ⟶ L.sheaf) (n : ℕ) (hn : 0 < n) : |
| 61 | Ample.LineBundles.sectionNonvanishing (TensorPower.Maps.tensorPowerSection s n) = Ample.LineBundles.sectionNonvanishing s := by |
| 62 | apply le_antisymm |
| 63 | · intro x hx |
| 64 | obtain ⟨U, hU, hxU⟩ := TopologicalSpace.Opens.mem_sSup.mp hx |
| 65 | change Y.Opens at U |
| 66 | have : IsIso (Ample.LineBundles.pullbackSection U.ι (TensorPower.Maps.tensorPowerSection s n)) := hU |
| 67 | obtain ⟨V, hxV, ⟨e⟩⟩ := L.locallyTrivial x |
| 68 | have : IsIso (Ample.LineBundles.pullbackSection (U ⊓ V).ι (TensorPower.Maps.tensorPowerSection s n)) := |
| 69 | pullbackSection_isIso_of_le inf_le_left (TensorPower.Maps.tensorPowerSection s n) |
| 70 | have hs : IsIso (Ample.LineBundles.pullbackSection (U ⊓ V).ι s) := |
| 71 | section_isIso_of_tensorPowerSection s n hn (U ⊓ V) (L.frameRestrict inf_le_right e) |
| 72 | exact TopologicalSpace.Opens.mem_sSup.mpr ⟨U ⊓ V, hs, ⟨hxU, hxV⟩⟩ |
| 73 | · exact Power.Nonvanishing.sectionNonvanishing_le_tensorPowerSection s n |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.PowerLocus |