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.Pullback.InversePairing |
| 2 | |
| 3 | /-! # Traced Inverse Pairing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TracedInversePairing |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A structure-sheaf trace turns the pulled-back inverse pairing into a pairing that retracts the original line-bundle pairing. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | variable {X Y : Scheme.{u}} (f : Y ⟶ X) (L K : Line.Bundles.LineBundle X) |
| 14 | variable (e : Tensor.ProductSheaf.tensorModule L.sheaf K.sheaf ≅ Line.Bundles.structureModule X) |
| 15 | variable (t : (Scheme.Modules.pushforward f).obj (Line.Bundles.structureModule Y) ⟶ Line.Bundles.structureModule X) |
| 16 | |
| 17 | def tracedInversePairing : Tensor.ProductSheaf.tensorModule |
| 18 | ((Scheme.Modules.pushforward f).obj ((Scheme.Modules.pullback f).obj L.sheaf)) K.sheaf ⟶ |
| 19 | Line.Bundles.structureModule X := |
| 20 | (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv _ _ _).symm |
| 21 | ((((Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv _ _ _ (Pullback.InversePairing.pullbackInversePairing f L K e)).pushforward f).precomp |
| 22 | (𝟙 _) ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app K.sheaf)).postcomp t) |
| 23 | |
| 24 | theorem tracedInversePairing_unit |
| 25 | (ht : SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom ≫ t = 𝟙 _) : |
| 26 | Tensor.Bifunctor.tensorModuleMap ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app L.sheaf) (𝟙 K.sheaf) ≫ |
| 27 | tracedInversePairing f L K e t = e.hom := by |
| 28 | apply (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv L.sheaf K.sheaf _).injective |
| 29 | let η : L.sheaf ⟶ (Scheme.Modules.pushforward f).obj ((Scheme.Modules.pullback f).obj L.sheaf) := |
| 30 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app L.sheaf |
| 31 | refine (Tensor.PullbackComparison.tensorHomEquiv_precomp η (𝟙 K.sheaf) (tracedInversePairing f L K e t)).trans ?_ |
| 32 | rw [tracedInversePairing, Equiv.apply_symm_apply, |
| 33 | Bilinear.Sheaves.SheafBilinearMap.precomp_postcomp, Bilinear.Sheaves.SheafBilinearMap.precomp_comp, |
| 34 | Category.comp_id, Category.id_comp] |
| 35 | change (Tensor.PullbackComparison.bilinearPullbackUnit f L.sheaf K.sheaf (Line.Bundles.structureModule Y) |
| 36 | (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv _ _ _ (Pullback.InversePairing.pullbackInversePairing f L K e))).postcomp t = _ |
| 37 | rw [Pullback.InversePairing.pullbackInversePairing_unit] |
| 38 | let β := Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv L.sheaf K.sheaf (Line.Bundles.structureModule X) e.hom |
| 39 | exact (β.postcomp_comp (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) t).symm.trans |
| 40 | ((congrArg β.postcomp ht).trans β.postcomp_id) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TracedInversePairing |