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.SheafCohomology.Sheaves |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.SheafRestriction |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Presheaf.PushforwardZeroMonoidal |
| 4 | |
| 5 | /-! # Tensor Bundles -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.TensorBundles.Projective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Local trivializations of the actual sheafified tensor products. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | def localTensor (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (U : A.carrier.Opens) |
| 16 | (M N : SheafOfModules (A.carrier.ringCatSheaf.over U)) : |
| 17 | SheafOfModules (A.carrier.ringCatSheaf.over U) := |
| 18 | (PresheafOfModules.sheafification (𝟙 (A.carrier.ringCatSheaf.over U).obj)).obj |
| 19 | (PresheafOfModulesOfCommRing.Monoidal.tensorObj |
| 20 | (R := (Over.forget U).op ⋙ A.carrier.presheaf) M.val N.val) |
| 21 | |
| 22 | def localTensorIso (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (U : A.carrier.Opens) |
| 23 | {M M' N N' : SheafOfModules (A.carrier.ringCatSheaf.over U)} |
| 24 | (e : M ≅ M') (f : N ≅ N') : localTensor A U M N ≅ localTensor A U M' N' := |
| 25 | (PresheafOfModules.sheafification (𝟙 (A.carrier.ringCatSheaf.over U).obj)).mapIso |
| 26 | (MonoidalCategory.tensorIso |
| 27 | (C := PresheafOfModules |
| 28 | (((Over.forget U).op ⋙ A.carrier.presheaf) ⋙ forget₂ CommRingCat RingCat)) |
| 29 | ((SheafOfModules.forget _).mapIso e) ((SheafOfModules.forget _).mapIso f)) |
| 30 | |
| 31 | def tensorOverIso (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (U : A.carrier.Opens) |
| 32 | (M N : A.carrier.Modules) : |
| 33 | localTensor A U (M.over U) (N.over U) ≅ (Sheaves.Projective.sheafTensor A M N).over U := |
| 34 | (PresheafOfModules.sheafification (𝟙 (A.carrier.ringCatSheaf.over U).obj)).mapIso |
| 35 | (Functor.Monoidal.μIso |
| 36 | (PresheafOfModules.pushforward₀OfCommRingCat (Over.forget U) A.carrier.presheaf) |
| 37 | M.val N.val) ≪≫ |
| 38 | SheafRestriction.Projective.overSheafificationIso A.carrier.ringCatSheaf U |
| 39 | (PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := A.carrier.presheaf) M.val N.val) |
| 40 | |
| 41 | def localTensorUnitIso (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (U : A.carrier.Opens) : |
| 42 | localTensor A U (SheafOfModules.unit _) (SheafOfModules.unit _) ≅ |
| 43 | SheafOfModules.unit (A.carrier.ringCatSheaf.over U) := |
| 44 | (PresheafOfModules.sheafification (𝟙 (A.carrier.ringCatSheaf.over U).obj)).mapIso |
| 45 | (MonoidalCategory.leftUnitor |
| 46 | (C := PresheafOfModules |
| 47 | (((Over.forget U).op ⋙ A.carrier.presheaf) ⋙ forget₂ CommRingCat RingCat)) |
| 48 | (SheafOfModules.unit (A.carrier.ringCatSheaf.over U)).val) ≪≫ |
| 49 | (asIso (PresheafOfModules.sheafificationAdjunction |
| 50 | (𝟙 (A.carrier.ringCatSheaf.over U).obj)).counit).app (SheafOfModules.unit _) |
| 51 | |
| 52 | /-- A genuine open-scheme trivialization gives one on the equivalent slice site. -/ |
| 53 | def overFrame (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (U : A.carrier.Opens) (M : A.carrier.Modules) |
| 54 | (e : M.restrict U.ι ≅ SheafOfModules.unit U.toScheme.ringCatSheaf) : |
| 55 | M.over U ≅ SheafOfModules.unit (A.carrier.ringCatSheaf.over U) := |
| 56 | (Functor.FullyFaithful.ofFullyFaithful (Scheme.Modules.overEquiv U).functor).preimageIso |
| 57 | ((Scheme.Modules.overFunctorEquiv U).app M ≪≫ e ≪≫ |
| 58 | (U.sheafOfModulesEquivOverUnit A.carrier.ringCatSheaf).symm) |
| 59 | |
| 60 | /-- Transport a slice-site trivialization back to the actual open subscheme. -/ |
| 61 | def frameFromOver (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (U : A.carrier.Opens) (M : A.carrier.Modules) |
| 62 | (e : M.over U ≅ SheafOfModules.unit (A.carrier.ringCatSheaf.over U)) : |
| 63 | M.restrict U.ι ≅ SheafOfModules.unit U.toScheme.ringCatSheaf := |
| 64 | ((Scheme.Modules.overFunctorEquiv U).app M).symm ≪≫ |
| 65 | (Scheme.Modules.overEquiv U).functor.mapIso e ≪≫ |
| 66 | U.sheafOfModulesEquivOverUnit A.carrier.ringCatSheaf |
| 67 | |
| 68 | /-- Tensoring two local rank-one trivializations gives an actual sheaf frame. -/ |
| 69 | def sheafTensorFrame (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (U : A.carrier.Opens) |
| 70 | (M N : A.carrier.Modules) |
| 71 | (e : M.restrict U.ι ≅ SheafOfModules.unit U.toScheme.ringCatSheaf) |
| 72 | (f : N.restrict U.ι ≅ SheafOfModules.unit U.toScheme.ringCatSheaf) : |
| 73 | (Sheaves.Projective.sheafTensor A M N).restrict U.ι ≅ SheafOfModules.unit U.toScheme.ringCatSheaf := |
| 74 | frameFromOver A U (Sheaves.Projective.sheafTensor A M N) |
| 75 | ((tensorOverIso A U M N).symm ≪≫ |
| 76 | localTensorIso A U (overFrame A U M e) (overFrame A U N f) ≪≫ |
| 77 | localTensorUnitIso A U) |
| 78 | |
| 79 | /-- Every actual tensor power is trivial on any open trivializing the original bundle. -/ |
| 80 | def tensorPowerFrame (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (L : Sheaves.Projective.LineBundle A) |
| 81 | (U : A.carrier.Opens) |
| 82 | (e : L.sheaf.restrict U.ι ≅ SheafOfModules.unit U.toScheme.ringCatSheaf) : |
| 83 | ∀ n, (Sheaves.Projective.tensorPower A L n).restrict U.ι ≅ SheafOfModules.unit U.toScheme.ringCatSheaf |
| 84 | | 0 => Scheme.Modules.restrictUnitIso U.ι |
| 85 | | n + 1 => sheafTensorFrame A U (Sheaves.Projective.tensorPower A L n) L.sheaf |
| 86 | (tensorPowerFrame A L U e n) e |
| 87 | |
| 88 | /-- The ProjectiveCohomology tensor power, now equipped with proved rank-one local triviality. -/ |
| 89 | def tensorPowerLineBundle (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (L : Sheaves.Projective.LineBundle A) (n : ℕ) : |
| 90 | Sheaves.Projective.LineBundle A where |
| 91 | sheaf := Sheaves.Projective.tensorPower A L n |
| 92 | locallyTrivial x := ⟨L.trivializingOpen x, L.mem_trivializingOpen x, |
| 93 | ⟨Projective.tensorPowerFrame A L (L.trivializingOpen x) (L.trivialization x) n⟩⟩ |
| 94 | |
| 95 | @[simp] theorem tensorPowerLineBundle_sheaf (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 96 | (L : Sheaves.Projective.LineBundle A) (n : ℕ) : |
| 97 | (tensorPowerLineBundle A L n).sheaf = Sheaves.Projective.tensorPower A L n := rfl |
| 98 | |
| 99 | /-- Tensoring two actual line-bundle sheaves again gives an actual line bundle. -/ |
| 100 | def tensorLineBundle (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (L M : Sheaves.Projective.LineBundle A) : Sheaves.Projective.LineBundle A where |
| 101 | sheaf := Sheaves.Projective.sheafTensor A L.sheaf M.sheaf |
| 102 | locallyTrivial x := |
| 103 | ⟨L.trivializingOpen x ⊓ M.trivializingOpen x, |
| 104 | ⟨L.mem_trivializingOpen x, M.mem_trivializingOpen x⟩, |
| 105 | ⟨sheafTensorFrame A _ L.sheaf M.sheaf |
| 106 | (L.trivializationOn x _ inf_le_left) (M.trivializationOn x _ inf_le_right)⟩⟩ |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.SheafCohomology.TensorBundles.Projective |