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.Tensor.ProductSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.TensorBaseChange |
| 3 | |
| 4 | /-! # Section Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.SectionBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Products of sections commute with arbitrary pullback under the canonical tensor comparison. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | theorem tensorPullbackComparison_unit_inverse (f : X ⟶ Y) : |
| 19 | (Line.Bundles.structureModulePullbackIso f).inv ≫ |
| 20 | (Scheme.Modules.pullback f).map (ProductSheaf.tensorModuleUnitLeftIso (Line.Bundles.structureModule Y)).inv ≫ |
| 21 | PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule Y) (Line.Bundles.structureModule Y) = |
| 22 | (ProductSheaf.tensorModuleUnitLeftIso (Line.Bundles.structureModule X)).inv ≫ |
| 23 | Bifunctor.tensorModuleMap (Line.Bundles.structureModulePullbackIso f).inv (Line.Bundles.structureModulePullbackIso f).inv := by |
| 24 | let u : (Scheme.Modules.pullback f).obj |
| 25 | (ProductSheaf.tensorModule (Line.Bundles.structureModule Y) (Line.Bundles.structureModule Y)) ≅ Line.Bundles.structureModule X := |
| 26 | (Scheme.Modules.pullback f).mapIso (ProductSheaf.tensorModuleUnitLeftIso (Line.Bundles.structureModule Y)) ≪≫ |
| 27 | Line.Bundles.structureModulePullbackIso f |
| 28 | let v : ProductSheaf.tensorModule ((Scheme.Modules.pullback f).obj (Line.Bundles.structureModule Y)) |
| 29 | ((Scheme.Modules.pullback f).obj (Line.Bundles.structureModule Y)) ≅ Line.Bundles.structureModule X := |
| 30 | Bifunctor.tensorModuleMapIso (Line.Bundles.structureModulePullbackIso f) (Line.Bundles.structureModulePullbackIso f) ≪≫ |
| 31 | ProductSheaf.tensorModuleUnitLeftIso (Line.Bundles.structureModule X) |
| 32 | have h : PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule Y) (Line.Bundles.structureModule Y) ≫ v.hom = u.hom := |
| 33 | PullbackUnits.tensorPullbackComparison_unit_formula f |
| 34 | have hi : u.inv ≫ PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule Y) (Line.Bundles.structureModule Y) = v.inv := by |
| 35 | apply (cancel_mono v.hom).mp |
| 36 | exact (Category.assoc _ _ _).trans |
| 37 | ((congrArg (fun a => u.inv ≫ a) h).trans |
| 38 | (u.inv_hom_id.trans v.inv_hom_id.symm)) |
| 39 | exact (Category.assoc _ _ _).symm.trans hi |
| 40 | |
| 41 | theorem tensorPullbackComparison_section (f : X ⟶ Y) {L M : Y.Modules} |
| 42 | (s : Line.Bundles.structureModule Y ⟶ L) (t : Line.Bundles.structureModule Y ⟶ M) : |
| 43 | Ample.LineBundles.pullbackSection f (ProductSections.tensorProductSection s t) ≫ PullbackComparison.tensorPullbackComparison f L M = |
| 44 | ProductSections.tensorProductSection (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t) := by |
| 45 | change ((Line.Bundles.structureModulePullbackIso f).inv ≫ |
| 46 | (Scheme.Modules.pullback f).map |
| 47 | ((ProductSheaf.tensorModuleUnitLeftIso (Line.Bundles.structureModule Y)).inv ≫ Bifunctor.tensorModuleMap s t)) ≫ |
| 48 | PullbackComparison.tensorPullbackComparison f L M = |
| 49 | (ProductSheaf.tensorModuleUnitLeftIso (Line.Bundles.structureModule X)).inv ≫ |
| 50 | Bifunctor.tensorModuleMap ((Line.Bundles.structureModulePullbackIso f).inv ≫ (Scheme.Modules.pullback f).map s) |
| 51 | ((Line.Bundles.structureModulePullbackIso f).inv ≫ (Scheme.Modules.pullback f).map t) |
| 52 | rw [Functor.map_comp, ← Bifunctor.tensorModuleMap_comp] |
| 53 | simp only [Category.assoc] |
| 54 | rw [PullbackComparison.tensorPullbackComparison_natural] |
| 55 | exact (congrArg (fun a => a ≫ Bifunctor.tensorModuleMap |
| 56 | ((Scheme.Modules.pullback f).map s) ((Scheme.Modules.pullback f).map t)) |
| 57 | (tensorPullbackComparison_unit_inverse f)).trans (Category.assoc _ _ _) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.SectionBaseChange |