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 | /- |
| 2 | Copyright (c) 2026 Chris Birkbeck. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: Chris Birkbeck |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PullbackTensorGeneral |
| 8 | |
| 9 | /-! # Pullback Tensor Obj -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.PullbackTensorObj.Scheme.Modules |
| 12 | |
| 13 | open _root_.AlgebraicGeometry |
| 14 | open _root_.AlgebraicGeometry.Scheme |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | |
| 17 | /-! |
| 18 | # Pullback commutes with the sheafified tensor (general morphisms) |
| 19 | |
| 20 | The general-`f` closure of `[PIC-P1b-MONO]`'s last registered leaf, relocated from |
| 21 | `Picard/InvertibleSheaf.lean` (which cannot import the monoidal-pullback machinery — the |
| 22 | import chain runs the other way): for any morphism of schemes `f: Y ⟶ X` and |
| 23 | `𝒪ₓ`-modules `M, N`, |
| 24 | |
| 25 | `f^*(M ⊗ N) ≅ f^*M ⊗ f^*N` |
| 26 | |
| 27 | for the sheafified tensor `tensorObj` of `Picard/InvertibleSheaf.lean`. Assembled from |
| 28 | mathlib's `sheafificationCompPullback` (the pullback of a sheafification), the tensorator |
| 29 | of the monoidal presheaf pullback (`PresheafOfModules.pullbackMonoidal` — the |
| 30 | `[D-PresPB′-general]` payoff), and the double-sheafification collapse |
| 31 | `nonempty_sheafify_tensor_idem` (the D-Idem leaf). |
| 32 | -/ |
| 33 | |
| 34 | universe u |
| 35 | |
| 36 | open _root_.CategoryTheory MonoidalCategory |
| 37 | |
| 38 | variable {X Y : Scheme.{u}} |
| 39 | |
| 40 | /-- Bridging instance: the monoidal structure on presheaves of modules over the |
| 41 | `sheafToPresheaf`-spelled underlying presheaf of the ring sheaf (the clothing produced by |
| 42 | `Sheaf.Hom.hom`-projections), transported from the `CommRingCat`-derived clothing. -/ |
| 43 | noncomputable instance (X : Scheme.{u}) : MonoidalCategory |
| 44 | (_root_.PresheafOfModules.{u} |
| 45 | ((sheafToPresheaf (Opens.grothendieckTopology ↥X) RingCat).obj |
| 46 | X.ringCatSheaf)) := |
| 47 | inferInstanceAs (MonoidalCategory |
| 48 | (_root_.PresheafOfModules.{u} (X.sheaf.obj ⋙ forget₂ CommRingCat RingCat))) |
| 49 | |
| 50 | set_option backward.isDefEq.respectTransparency.types false in |
| 51 | /-- The pullback of a sheaf of modules is the sheafification of the presheaf pullback of |
| 52 | its underlying presheaf (`sheafificationCompPullback`, precomposed with the counit |
| 53 | identification `sh(M.val) ≅ M`). -/ |
| 54 | noncomputable def pullbackIsoSheafifyPresheafPullback (f : Y ⟶ X) (M : X.Modules) : |
| 55 | (Modules.pullback f).obj M ≅ |
| 56 | (PresheafOfModules.sheafification (𝟙 Y.ringCatSheaf.obj)).obj |
| 57 | ((PresheafOfModules.pullback f.toRingCatSheafHom.hom).obj M.val) := |
| 58 | (Modules.pullback f).mapIso (Invertible.Scheme.Modules.sheafifyValIso M).symm ≪≫ |
| 59 | (SheafOfModules.sheafificationCompPullback.{u} f.toRingCatSheafHom).app M.val |
| 60 | |
| 61 | set_option backward.isDefEq.respectTransparency.types false in |
| 62 | /-- **(GAP-1 downstream core, general `f`, closed.)** Pullback commutes with the |
| 63 | sheafified tensor: `f^*(M ⊗ N) ≅ f^*M ⊗ f^*N`. Relocated from |
| 64 | `Picard/InvertibleSheaf.lean` and proved: express both sides through the sheafification |
| 65 | of the presheaf pullback (`pullbackIsoSheafifyPresheafPullback`), apply the tensorator of |
| 66 | the monoidal presheaf pullback, and collapse the double sheafification |
| 67 | (`nonempty_sheafify_tensor_idem`). -/ |
| 68 | theorem nonempty_pullback_tensorObj (f : Y ⟶ X) (M N : X.Modules) : |
| 69 | Nonempty ((Modules.pullback f).obj (Invertible.Scheme.Modules.tensorObj M N) ≅ |
| 70 | Invertible.Scheme.Modules.tensorObj ((Modules.pullback f).obj M) ((Modules.pullback f).obj N)) := by |
| 71 | -- Pulling back the sheafified tensor gives the sheafification of the |
| 72 | -- presheaf pullback of the presheaf tensor. |
| 73 | have pullbackTensorSheafificationIso : (Modules.pullback f).obj (Invertible.Scheme.Modules.tensorObj M N) ≅ |
| 74 | (PresheafOfModules.sheafification (𝟙 Y.ringCatSheaf.obj)).obj |
| 75 | ((PresheafOfModules.pullback f.toRingCatSheafHom.hom).obj (M.val ⊗ N.val)) := |
| 76 | (SheafOfModules.sheafificationCompPullback.{u} f.toRingCatSheafHom).app (M.val ⊗ N.val) |
| 77 | -- The monoidal presheaf pullback supplies the tensor comparison in the |
| 78 | -- definitionally equal `CommRingCat` presentation used here. |
| 79 | obtain ⟨presheafPullbackTensorIso⟩ := PullbackTensorGeneral.Scheme.Modules.nonempty_sheafify_presheafPullback_tensor f M.val N.val |
| 80 | -- Idempotence collapses the repeated sheafification. |
| 81 | obtain ⟨repeatedSheafificationTensorIso⟩ := PullbackTensorMonoidal.PresheafOfModules.nonempty_sheafify_tensor_idem |
| 82 | Y.sheaf.obj Y.ringCatSheaf.property |
| 83 | ((PresheafOfModules.pullback f.toRingCatSheafHom.hom).obj M.val) |
| 84 | ((PresheafOfModules.pullback f.toRingCatSheafHom.hom).obj N.val) |
| 85 | -- Finally, identify the sheafified factors with the module pullbacks. |
| 86 | have sheafifiedFactorsPullbackIso : Invertible.Scheme.Modules.tensorObj |
| 87 | ((PresheafOfModules.sheafification (𝟙 Y.ringCatSheaf.obj)).obj |
| 88 | ((PresheafOfModules.pullback f.toRingCatSheafHom.hom).obj M.val)) |
| 89 | ((PresheafOfModules.sheafification (𝟙 Y.ringCatSheaf.obj)).obj |
| 90 | ((PresheafOfModules.pullback f.toRingCatSheafHom.hom).obj N.val)) ≅ |
| 91 | Invertible.Scheme.Modules.tensorObj ((Modules.pullback f).obj M) ((Modules.pullback f).obj N) := |
| 92 | Invertible.Scheme.Modules.tensorObjCongr (pullbackIsoSheafifyPresheafPullback f M).symm |
| 93 | (pullbackIsoSheafifyPresheafPullback f N).symm |
| 94 | exact ⟨pullbackTensorSheafificationIso ≪≫ presheafPullbackTensorIso ≪≫ |
| 95 | repeatedSheafificationTensorIso ≪≫ sheafifiedFactorsPullbackIso⟩ |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.PullbackTensorObj.Scheme.Modules |