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 | /-! # Presheaf Pullback Comp Monoidal -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.PresheafPullbackCompMonoidal.PresheafOfModules |
| 12 | |
| 13 | open _root_.PresheafOfModules |
| 14 | |
| 15 | /-! |
| 16 | # Monoidality of presheaf pullback composition |
| 17 | |
| 18 | The canonical comparison from iterated pullback to pullback along a composite morphism |
| 19 | of schemes is monoidal for the presheaf-of-modules tensor products. |
| 20 | -/ |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | open _root_.AlgebraicGeometry _root_.CategoryTheory MonoidalCategory |
| 25 | |
| 26 | /-- The canonical presheaf pullback-composition comparison is monoidal. -/ |
| 27 | theorem pullbackComp_hom_isMonoidal |
| 28 | {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 29 | letI : MonoidalCategory (PresheafOfModules |
| 30 | ((TopologicalSpace.Opens.map f.base).op ⋙ |
| 31 | (X.sheaf.obj ⋙ forget₂ CommRingCat RingCat))) := by |
| 32 | rw [show (TopologicalSpace.Opens.map f.base).op ⋙ |
| 33 | (X.sheaf.obj ⋙ forget₂ CommRingCat RingCat) = |
| 34 | ((TopologicalSpace.Opens.map f.base).op ⋙ X.sheaf.obj) ⋙ |
| 35 | forget₂ CommRingCat RingCat by rfl] |
| 36 | exact PresheafOfModulesOfCommRing.monoidalCategory |
| 37 | letI := PullbackTensorGeneral.PresheafOfModules.pullbackMonoidal g |
| 38 | letI := PullbackTensorGeneral.PresheafOfModules.pullbackMonoidal f |
| 39 | letI : (pullback |
| 40 | (F := TopologicalSpace.Opens.map g.base ⋙ TopologicalSpace.Opens.map f.base) |
| 41 | (R := X.sheaf.obj ⋙ forget₂ CommRingCat RingCat) |
| 42 | (PullbackTensorGeneral.PresheafOfModules.schemeRingPresheafHom g ≫ Functor.whiskerLeft |
| 43 | (TopologicalSpace.Opens.map g.base).op (PullbackTensorGeneral.PresheafOfModules.schemeRingPresheafHom f))).Monoidal := by |
| 44 | change (pullback (PullbackTensorGeneral.PresheafOfModules.schemeRingPresheafHom (f ≫ g))).Monoidal |
| 45 | exact PullbackTensorGeneral.PresheafOfModules.pullbackMonoidal (f ≫ g) |
| 46 | (pullbackComp (PullbackTensorGeneral.PresheafOfModules.schemeRingPresheafHom g) (PullbackTensorGeneral.PresheafOfModules.schemeRingPresheafHom f)).hom.IsMonoidal := by |
| 47 | let : MonoidalCategory (PresheafOfModules |
| 48 | ((TopologicalSpace.Opens.map f.base).op ⋙ |
| 49 | (X.sheaf.obj ⋙ forget₂ CommRingCat RingCat))) := by |
| 50 | rw [show (TopologicalSpace.Opens.map f.base).op ⋙ |
| 51 | (X.sheaf.obj ⋙ forget₂ CommRingCat RingCat) = |
| 52 | ((TopologicalSpace.Opens.map f.base).op ⋙ X.sheaf.obj) ⋙ |
| 53 | forget₂ CommRingCat RingCat by rfl] |
| 54 | exact PresheafOfModulesOfCommRing.monoidalCategory |
| 55 | let φg := PullbackTensorGeneral.PresheafOfModules.schemeRingPresheafHom g |
| 56 | let φf := PullbackTensorGeneral.PresheafOfModules.schemeRingPresheafHom f |
| 57 | let φfg := PullbackTensorGeneral.PresheafOfModules.schemeRingPresheafHom (f ≫ g) |
| 58 | let qG : (PullbackTensorGeneral.PresheafOfModules.pushforwardFactored φg).LaxMonoidal := |
| 59 | PullbackTensorGeneral.PresheafOfModules.pushforwardFactoredLaxMonoidal φg |
| 60 | let qF : (PullbackTensorGeneral.PresheafOfModules.pushforwardFactored φf).LaxMonoidal := |
| 61 | PullbackTensorGeneral.PresheafOfModules.pushforwardFactoredLaxMonoidal φf |
| 62 | let qFG : (PullbackTensorGeneral.PresheafOfModules.pushforwardFactored φfg).LaxMonoidal := |
| 63 | PullbackTensorGeneral.PresheafOfModules.pushforwardFactoredLaxMonoidal φfg |
| 64 | let oG : (pullback φg).OplaxMonoidal := PullbackTensorGeneral.PresheafOfModules.pullbackOplaxMonoidal φg |
| 65 | have : IsIso (Functor.OplaxMonoidal.η (pullback φg)) := PullbackTensorGeneral.PresheafOfModules.isIso_pullback_η g |
| 66 | have : ∀ P Q, IsIso (Functor.OplaxMonoidal.δ (pullback φg) P Q) := |
| 67 | fun P Q => PullbackTensorGeneral.PresheafOfModules.isIso_pullback_δ g P Q |
| 68 | let hG : (pullback φg).Monoidal := Functor.Monoidal.ofOplaxMonoidal (pullback φg) |
| 69 | let oF : (pullback φf).OplaxMonoidal := PullbackTensorGeneral.PresheafOfModules.pullbackOplaxMonoidal φf |
| 70 | have : IsIso (Functor.OplaxMonoidal.η (pullback φf)) := PullbackTensorGeneral.PresheafOfModules.isIso_pullback_η f |
| 71 | have : ∀ P Q, IsIso (Functor.OplaxMonoidal.δ (pullback φf) P Q) := |
| 72 | fun P Q => PullbackTensorGeneral.PresheafOfModules.isIso_pullback_δ f P Q |
| 73 | let hF : (pullback φf).Monoidal := Functor.Monoidal.ofOplaxMonoidal (pullback φf) |
| 74 | let oFG : (pullback φfg).OplaxMonoidal := PullbackTensorGeneral.PresheafOfModules.pullbackOplaxMonoidal φfg |
| 75 | have : IsIso (Functor.OplaxMonoidal.η (pullback φfg)) := PullbackTensorGeneral.PresheafOfModules.isIso_pullback_η (f ≫ g) |
| 76 | have : ∀ P Q, IsIso (Functor.OplaxMonoidal.δ (pullback φfg) P Q) := |
| 77 | fun P Q => PullbackTensorGeneral.PresheafOfModules.isIso_pullback_δ (f ≫ g) P Q |
| 78 | let hFG : (pullback φfg).Monoidal := Functor.Monoidal.ofOplaxMonoidal (pullback φfg) |
| 79 | let hComp : (pullback |
| 80 | (F := TopologicalSpace.Opens.map g.base ⋙ TopologicalSpace.Opens.map f.base) |
| 81 | (R := X.sheaf.obj ⋙ forget₂ CommRingCat RingCat) |
| 82 | (φg ≫ Functor.whiskerLeft (TopologicalSpace.Opens.map g.base).op φf)).Monoidal := by |
| 83 | change (pullback φfg).Monoidal |
| 84 | exact hFG |
| 85 | let hadjG : (PullbackTensorGeneral.PresheafOfModules.pullbackPushforwardFactoredAdjunction φg).IsMonoidal := by |
| 86 | infer_instance |
| 87 | let hadjF : (PullbackTensorGeneral.PresheafOfModules.pullbackPushforwardFactoredAdjunction φf).IsMonoidal := by |
| 88 | infer_instance |
| 89 | let hadjFG : (PullbackTensorGeneral.PresheafOfModules.pullbackPushforwardFactoredAdjunction φfg).IsMonoidal := by |
| 90 | infer_instance |
| 91 | let pG : (pushforward φg).LaxMonoidal := by |
| 92 | change (PullbackTensorGeneral.PresheafOfModules.pushforwardFactored φg).LaxMonoidal |
| 93 | exact qG |
| 94 | let pF : (pushforward φf).LaxMonoidal := by |
| 95 | change (PullbackTensorGeneral.PresheafOfModules.pushforwardFactored φf).LaxMonoidal |
| 96 | exact qF |
| 97 | let pFG : (pushforward φfg).LaxMonoidal := by |
| 98 | change (PullbackTensorGeneral.PresheafOfModules.pushforwardFactored φfg).LaxMonoidal |
| 99 | exact qFG |
| 100 | have hadjOrigG : (pullbackPushforwardAdjunction φg).IsMonoidal := by |
| 101 | rw [← PullbackTensorGeneral.PresheafOfModules.pullbackPushforwardFactoredAdjunction_eq φg] |
| 102 | exact hadjG |
| 103 | have hadjOrigF : (pullbackPushforwardAdjunction φf).IsMonoidal := by |
| 104 | rw [← PullbackTensorGeneral.PresheafOfModules.pullbackPushforwardFactoredAdjunction_eq φf] |
| 105 | exact hadjF |
| 106 | have hadjOrigFG : (pullbackPushforwardAdjunction φfg).IsMonoidal := by |
| 107 | rw [← PullbackTensorGeneral.PresheafOfModules.pullbackPushforwardFactoredAdjunction_eq φfg] |
| 108 | exact hadjFG |
| 109 | let α : pushforward φfg ⟶ pushforward φf ⋙ pushforward φg := |
| 110 | (pushforwardComp φg φf).inv |
| 111 | have hα : α.IsMonoidal := by |
| 112 | refine { unit := ?_, tensor := fun M N => ?_ } |
| 113 | · rfl |
| 114 | · ext1 U |
| 115 | refine ModuleCat.MonoidalCategory.tensor_ext (fun x y => ?_) |
| 116 | rfl |
| 117 | have hadjOrigComp : ((pullbackPushforwardAdjunction φg).comp |
| 118 | (pullbackPushforwardAdjunction φf)).IsMonoidal := by |
| 119 | let := hadjOrigG |
| 120 | let := hadjOrigF |
| 121 | infer_instance |
| 122 | have hmate : ((conjugateEquiv |
| 123 | (pullbackPushforwardAdjunction φfg) |
| 124 | ((pullbackPushforwardAdjunction φg).comp |
| 125 | (pullbackPushforwardAdjunction φf))).symm α).IsMonoidal := |
| 126 | PullbackTensorGeneral.CategoryTheory.conjugateEquiv_symm_isMonoidal _ _ hadjOrigFG hadjOrigComp α hα |
| 127 | rw [pullbackComp, Adjunction.leftAdjointCompIso_hom] |
| 128 | exact hmate |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.PresheafPullbackCompMonoidal.PresheafOfModules |