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.OpenPullback.FrameEquivalence |
| 2 | import Mathlib.AlgebraicGeometry.FunctionField |
| 3 | |
| 4 | /-! # Integral Line Bundle Restrictions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On an integral scheme, restriction of a line-bundle section to a nonempty open is injective. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} {M N : Y.Modules} |
| 17 | |
| 18 | theorem IntegralLineBundleRestrictions.openPullbackModuleEquiv_natural (f : X ⟶ Y) [IsOpenImmersion f] |
| 19 | (e : (Scheme.Modules.pullback f).obj M ≅ (Scheme.Modules.pullback f).obj N) |
| 20 | {U V : Y.Opens} (h : V ≤ U) (hU : U ≤ f.opensRange) (hV : V ≤ f.opensRange) |
| 21 | (s : Γ(M, U)) : |
| 22 | OpenPullback.FrameEquivalence.openPullbackModuleEquiv f e V hV (M.presheaf.map (homOfLE h).op s) = |
| 23 | N.presheaf.map (homOfLE h).op (OpenPullback.FrameEquivalence.openPullbackModuleEquiv f e U hU s) := by |
| 24 | simp only [OpenPullback.FrameEquivalence.openPullbackModuleEquiv_apply] |
| 25 | rw [← OpenPullback.ModuleValues.openPullbackModuleValue_restriction, ← OpenPullback.ModuleValues.openPullbackModuleValue_restriction] |
| 26 | exact OpenModule.MapValues.openModuleMapValue_natural f (OpenPullback.ModuleValues.pullbackModuleRestrictionMap f e.hom) h hU hV s |
| 27 | |
| 28 | theorem Line.Bundles.LineBundle.restriction_injective [IsIntegral X] (L : Line.Bundles.LineBundle X) |
| 29 | {U V : X.Opens} (h : V ≤ U) [Nonempty V] : |
| 30 | Function.Injective (L.sheaf.presheaf.map (homOfLE h).op) := by |
| 31 | intro s t hst |
| 32 | apply L.sheaf.isSheaf.section_ext |
| 33 | intro x hx |
| 34 | obtain ⟨W, hxW, ⟨e⟩⟩ := L.locallyTrivial x |
| 35 | let a : (Scheme.Modules.pullback W.ι).obj L.sheaf ≅ |
| 36 | (Scheme.Modules.pullback W.ι).obj (Line.Bundles.structureModule X) := e ≪≫ (Line.Bundles.structureModulePullbackIso W.ι).symm |
| 37 | let D : X.Opens := W ⊓ U |
| 38 | let E : X.Opens := D ⊓ V |
| 39 | have hD : D ≤ W.ι.opensRange := by simpa only [W.opensRange_ι] using (inf_le_left : D ≤ W) |
| 40 | have hE : E ≤ W.ι.opensRange := inf_le_left.trans hD |
| 41 | have hDE : E ≤ D := inf_le_left |
| 42 | have hDU : D ≤ U := inf_le_right |
| 43 | have hEV : E ≤ V := inf_le_right |
| 44 | have : Nonempty E := by |
| 45 | have hnon := nonempty_preirreducible_inter D.isOpen V.isOpen |
| 46 | (show (D : Set X).Nonempty from ⟨x, hxW, hx⟩) |
| 47 | (show (V : Set X).Nonempty from ⟨(Classical.choice (inferInstance : Nonempty V)).val, |
| 48 | (Classical.choice (inferInstance : Nonempty V)).property⟩) |
| 49 | exact hnon.to_subtype |
| 50 | refine ⟨D, hDU, ⟨hxW, hx⟩, ?_⟩ |
| 51 | apply (OpenPullback.FrameEquivalence.openPullbackModuleEquiv W.ι a D hD).injective |
| 52 | apply map_injective_of_isIntegral X (homOfLE hDE) |
| 53 | have he := congrArg (L.sheaf.presheaf.map (homOfLE hEV).op) hst |
| 54 | have he' : L.sheaf.presheaf.map (homOfLE hDE).op |
| 55 | (L.sheaf.presheaf.map (homOfLE hDU).op s) = |
| 56 | L.sheaf.presheaf.map (homOfLE hDE).op (L.sheaf.presheaf.map (homOfLE hDU).op t) := by |
| 57 | simpa only [← ConcreteCategory.comp_apply, ← Functor.map_comp, ← op_comp, homOfLE_comp] using he |
| 58 | exact (IntegralLineBundleRestrictions.openPullbackModuleEquiv_natural W.ι a hDE hD hE _).symm.trans |
| 59 | ((congrArg (OpenPullback.FrameEquivalence.openPullbackModuleEquiv W.ι a E hE) he').trans |
| 60 | (IntegralLineBundleRestrictions.openPullbackModuleEquiv_natural W.ι a hDE hD hE _)) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |