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.Module.SectionMultiplication |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.TensorModulePullback |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.MapCoverEquality |
| 4 | |
| 5 | /-! # Section Multiplication Pullback -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.SectionMultiplicationPullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual multiplication map on an arbitrary module commutes with scheme pullback. Its monomorphism property can therefore be tested in affine frames on an open cover. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u v |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | theorem moduleSectionMultiply_pullback (f : Y ⟶ X) (L : Line.Bundles.LineBundle X) (M : X.Modules) |
| 19 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 20 | (Scheme.Modules.pullback f).map (SectionMultiplication.moduleSectionMultiply L M s) ≫ |
| 21 | Tensor.PullbackComparison.tensorPullbackComparison f L.sheaf M = |
| 22 | SectionMultiplication.moduleSectionMultiply (L.pullback f) ((Scheme.Modules.pullback f).obj M) (Ample.LineBundles.pullbackSection f s) := by |
| 23 | let F := Scheme.Modules.pullback f |
| 24 | let E := Line.Bundles.structureModulePullbackIso f |
| 25 | have hu : F.map (Tensor.ProductSheaf.tensorModuleUnitLeftIso M).inv ≫ |
| 26 | Tensor.PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule X) M ≫ |
| 27 | Tensor.Bifunctor.tensorModuleMap E.hom (𝟙 (F.obj M)) = (Tensor.ProductSheaf.tensorModuleUnitLeftIso (F.obj M)).inv := by |
| 28 | apply (cancel_mono (Tensor.ProductSheaf.tensorModuleUnitLeftIso (F.obj M)).hom).mp |
| 29 | calc |
| 30 | (F.map (Tensor.ProductSheaf.tensorModuleUnitLeftIso M).inv ≫ |
| 31 | Tensor.PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule X) M ≫ |
| 32 | Tensor.Bifunctor.tensorModuleMap E.hom (𝟙 (F.obj M))) ≫ (Tensor.ProductSheaf.tensorModuleUnitLeftIso (F.obj M)).hom = |
| 33 | F.map (Tensor.ProductSheaf.tensorModuleUnitLeftIso M).inv ≫ F.map (Tensor.ProductSheaf.tensorModuleUnitLeftIso M).hom := by |
| 34 | simp only [E, F, Category.assoc, Tensor.PullbackLeftUnit.tensorPullbackComparison_leftUnit_formula] |
| 35 | _ = 𝟙 (F.obj M) := by |
| 36 | rw [← F.map_comp, Iso.inv_hom_id, F.map_id] |
| 37 | _ = (Tensor.ProductSheaf.tensorModuleUnitLeftIso (F.obj M)).inv ≫ (Tensor.ProductSheaf.tensorModuleUnitLeftIso (F.obj M)).hom := |
| 38 | (Tensor.ProductSheaf.tensorModuleUnitLeftIso (F.obj M)).inv_hom_id.symm |
| 39 | have hs : Tensor.Bifunctor.tensorModuleMap E.hom (𝟙 (F.obj M)) ≫ |
| 40 | Tensor.Bifunctor.tensorModuleMap (Ample.LineBundles.pullbackSection f s) (𝟙 (F.obj M)) = |
| 41 | Tensor.Bifunctor.tensorModuleMap (F.map s) (𝟙 (F.obj M)) := by |
| 42 | rw [Tensor.Bifunctor.tensorModuleMap_comp] |
| 43 | simp only [E, F, Ample.LineBundles.pullbackSection, Iso.hom_inv_id_assoc, Category.id_comp] |
| 44 | calc |
| 45 | F.map (SectionMultiplication.moduleSectionMultiply L M s) ≫ Tensor.PullbackComparison.tensorPullbackComparison f L.sheaf M = |
| 46 | F.map (Tensor.ProductSheaf.tensorModuleUnitLeftIso M).inv ≫ |
| 47 | Tensor.PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule X) M ≫ |
| 48 | Tensor.Bifunctor.tensorModuleMap (F.map s) (𝟙 (F.obj M)) := by |
| 49 | rw [SectionMultiplication.moduleSectionMultiply, F.map_comp, Category.assoc, Tensor.PullbackComparison.tensorPullbackComparison_natural, |
| 50 | F.map_id] |
| 51 | _ = (F.map (Tensor.ProductSheaf.tensorModuleUnitLeftIso M).inv ≫ |
| 52 | Tensor.PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule X) M ≫ |
| 53 | Tensor.Bifunctor.tensorModuleMap E.hom (𝟙 (F.obj M))) ≫ |
| 54 | Tensor.Bifunctor.tensorModuleMap (Ample.LineBundles.pullbackSection f s) (𝟙 (F.obj M)) := by |
| 55 | simp only [Category.assoc, hs] |
| 56 | _ = SectionMultiplication.moduleSectionMultiply (L.pullback f) (F.obj M) (Ample.LineBundles.pullbackSection f s) := by |
| 57 | rw [hu] |
| 58 | rfl |
| 59 | |
| 60 | theorem moduleSectionMultiply_pullback_mono_iff (f : Y ⟶ X) (L : Line.Bundles.LineBundle X) (M : X.Modules) |
| 61 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 62 | Mono ((Scheme.Modules.pullback f).map (SectionMultiplication.moduleSectionMultiply L M s)) ↔ |
| 63 | Mono (SectionMultiplication.moduleSectionMultiply (L.pullback f) ((Scheme.Modules.pullback f).obj M) |
| 64 | (Ample.LineBundles.pullbackSection f s)) := by |
| 65 | have : IsIso (Tensor.PullbackComparison.tensorPullbackComparison f L.sheaf M) := |
| 66 | LineBundle.TensorModulePullback.lineBundle_tensorModulePullbackComparison_isIso f L M |
| 67 | rw [← moduleSectionMultiply_pullback f L M s] |
| 68 | constructor |
| 69 | · intro h |
| 70 | have := h |
| 71 | infer_instance |
| 72 | · intro h |
| 73 | have := h |
| 74 | refine ⟨fun {Z} a b hab => ?_⟩ |
| 75 | apply (cancel_mono ((Scheme.Modules.pullback f).map (SectionMultiplication.moduleSectionMultiply L M s) ≫ |
| 76 | Tensor.PullbackComparison.tensorPullbackComparison f L.sheaf M)).mp |
| 77 | simpa only [← Category.assoc] using |
| 78 | congrArg (fun k => k ≫ Tensor.PullbackComparison.tensorPullbackComparison f L.sheaf M) hab |
| 79 | |
| 80 | theorem moduleMap_mono_of_pullback_cover {M N : X.Modules} {ι : Type v} |
| 81 | (U : ι → X.Opens) (hU : ∀ x : X, ∃ i, x ∈ U i) (f : M ⟶ N) |
| 82 | (hf : ∀ i, Mono ((Scheme.Modules.pullback (U i).ι).map f)) : Mono f := by |
| 83 | refine ⟨fun {Z} a b hab => ?_⟩ |
| 84 | apply MapCoverEquality.moduleMap_eq_of_pullback_cover U hU a b |
| 85 | intro i |
| 86 | let F := Scheme.Modules.pullback (U i).ι |
| 87 | have : Mono (F.map f) := hf i |
| 88 | apply (cancel_mono (F.map f)).mp |
| 89 | rw [← F.map_comp, ← F.map_comp, hab] |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.SectionMultiplicationPullback |