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.UnitLeftNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.TensorPullbackFunctor |
| 3 | |
| 4 | /-! # Section Tensor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.SectionTensor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual line-bundle section tensors every module naturally, and this map is invertible after any pullback on which the section becomes a frame. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | variable {X Y : Scheme.{u}} |
| 15 | |
| 16 | theorem lineBundleTensorEquivalence_objIso_natural (L : Line.Bundles.LineBundle X) |
| 17 | {M N : X.Modules} (f : M ⟶ N) : |
| 18 | (TensorEquivalence.lineBundleTensorEquivalence L).functor.map f ≫ (TensorEquivalence.lineBundleTensorEquivalence_objIso L N).hom = |
| 19 | (TensorEquivalence.lineBundleTensorEquivalence_objIso L M).hom ≫ Tensor.Bifunctor.tensorModuleMap (𝟙 L.sheaf) f := |
| 20 | Module.MonoidalTensorRightNaturality.moduleMonoidalTensorIso_natural_right L.sheaf f |
| 21 | |
| 22 | def lineBundleSectionTensorMap (L : Line.Bundles.LineBundle X) (s : Line.Bundles.structureModule X ⟶ L.sheaf) |
| 23 | (M : X.Modules) : M ⟶ (TensorEquivalence.lineBundleTensorEquivalence L).functor.obj M := |
| 24 | (Tensor.ProductSheaf.tensorModuleUnitLeftIso M).inv ≫ Tensor.Bifunctor.tensorModuleMap s (𝟙 M) ≫ |
| 25 | (TensorEquivalence.lineBundleTensorEquivalence_objIso L M).inv |
| 26 | |
| 27 | theorem lineBundleSectionTensorMap_natural (L : Line.Bundles.LineBundle X) |
| 28 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) {M N : X.Modules} (f : M ⟶ N) : |
| 29 | f ≫ lineBundleSectionTensorMap L s N = |
| 30 | lineBundleSectionTensorMap L s M ≫ (TensorEquivalence.lineBundleTensorEquivalence L).functor.map f := by |
| 31 | apply (cancel_mono (TensorEquivalence.lineBundleTensorEquivalence_objIso L N).hom).mp |
| 32 | calc |
| 33 | (f ≫ lineBundleSectionTensorMap L s N) ≫ (TensorEquivalence.lineBundleTensorEquivalence_objIso L N).hom = |
| 34 | f ≫ (Tensor.ProductSheaf.tensorModuleUnitLeftIso N).inv ≫ Tensor.Bifunctor.tensorModuleMap s (𝟙 N) := by |
| 35 | simp only [lineBundleSectionTensorMap, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 36 | _ = (Tensor.ProductSheaf.tensorModuleUnitLeftIso M).inv ≫ Tensor.Bifunctor.tensorModuleMap (𝟙 (Line.Bundles.structureModule X)) f ≫ |
| 37 | Tensor.Bifunctor.tensorModuleMap s (𝟙 N) := by |
| 38 | rw [← Category.assoc, Tensor.UnitLeftNaturality.tensorModuleUnitLeftIso_inv_natural, Category.assoc] |
| 39 | _ = (Tensor.ProductSheaf.tensorModuleUnitLeftIso M).inv ≫ Tensor.Bifunctor.tensorModuleMap s (𝟙 M) ≫ |
| 40 | Tensor.Bifunctor.tensorModuleMap (𝟙 L.sheaf) f := by |
| 41 | rw [Tensor.Bifunctor.tensorModuleMap_comp, Tensor.Bifunctor.tensorModuleMap_comp] |
| 42 | simp only [Category.id_comp, Category.comp_id] |
| 43 | _ = (lineBundleSectionTensorMap L s M ≫ (TensorEquivalence.lineBundleTensorEquivalence L).functor.map f) ≫ |
| 44 | (TensorEquivalence.lineBundleTensorEquivalence_objIso L N).hom := by |
| 45 | rw [Category.assoc, lineBundleTensorEquivalence_objIso_natural] |
| 46 | simp only [lineBundleSectionTensorMap, Category.assoc, Iso.inv_hom_id_assoc] |
| 47 | |
| 48 | def lineBundleSectionTensor (L : Line.Bundles.LineBundle X) (s : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 49 | 𝟭 X.Modules ⟶ (TensorEquivalence.lineBundleTensorEquivalence L).functor where |
| 50 | app := lineBundleSectionTensorMap L s |
| 51 | naturality _ _ f := lineBundleSectionTensorMap_natural L s f |
| 52 | |
| 53 | theorem lineBundleSectionTensorMap_isIso (L : Line.Bundles.LineBundle X) |
| 54 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) [IsIso s] (M : X.Modules) : |
| 55 | IsIso (lineBundleSectionTensorMap L s M) := by |
| 56 | unfold lineBundleSectionTensorMap |
| 57 | infer_instance |
| 58 | |
| 59 | theorem lineBundleSectionTensorMap_pullback_isIso (L : Line.Bundles.LineBundle X) |
| 60 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) (f : Y ⟶ X) |
| 61 | [IsIso ((Scheme.Modules.pullback f).map s)] (M : X.Modules) : |
| 62 | IsIso ((Scheme.Modules.pullback f).map (lineBundleSectionTensorMap L s M)) := by |
| 63 | let P := Scheme.Modules.pullback f |
| 64 | have : IsIso (Tensor.PullbackComparison.tensorPullbackComparison f L.sheaf M) := |
| 65 | TensorModulePullback.lineBundle_tensorModulePullbackComparison_isIso f L M |
| 66 | have : IsIso (Tensor.PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule X) M) := |
| 67 | Tensor.PullbackLeftUnit.tensorPullbackComparison_leftUnit_isIso f M |
| 68 | have hc : IsIso (P.map (Tensor.Bifunctor.tensorModuleMap s (𝟙 M)) ≫ Tensor.PullbackComparison.tensorPullbackComparison f L.sheaf M) := by |
| 69 | rw [Tensor.PullbackComparison.tensorPullbackComparison_natural] |
| 70 | infer_instance |
| 71 | have : IsIso (P.map (Tensor.Bifunctor.tensorModuleMap s (𝟙 M))) := (isIso_comp_right_iff _ _).mp hc |
| 72 | change IsIso (P.map (lineBundleSectionTensorMap L s M)) |
| 73 | unfold lineBundleSectionTensorMap |
| 74 | rw [P.map_comp, P.map_comp] |
| 75 | infer_instance |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.SectionTensor |