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.TripleTensorPullbacks |
| 2 | |
| 3 | /-! # Triple Tensor Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TripleTensorComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Triple tensor pullback comparisons commute with composition of open immersions. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y Z : Scheme.{u}} |
| 16 | |
| 17 | theorem leftTripleTensorPullbackIso_comp |
| 18 | (f : X ⟶ Y) (g : Y ⟶ Z) [IsOpenImmersion f] [IsOpenImmersion g] |
| 19 | (L M N : Z.Modules) : |
| 20 | (Scheme.Modules.pullback f).map (TripleTensorPullbacks.leftTripleTensorPullbackIso g L M N).hom ≫ |
| 21 | (TripleTensorPullbacks.leftTripleTensorPullbackIso f ((Scheme.Modules.pullback g).obj L) |
| 22 | ((Scheme.Modules.pullback g).obj M) ((Scheme.Modules.pullback g).obj N)).hom ≫ |
| 23 | Tensor.Bifunctor.tensorModuleMap (Tensor.Bifunctor.tensorModuleMap ((Scheme.Modules.pullbackComp f g).hom.app L) |
| 24 | ((Scheme.Modules.pullbackComp f g).hom.app M)) ((Scheme.Modules.pullbackComp f g).hom.app N) = |
| 25 | (Scheme.Modules.pullbackComp f g).hom.app (Tensor.ProductSheaf.tensorModule (Tensor.ProductSheaf.tensorModule L M) N) ≫ |
| 26 | (TripleTensorPullbacks.leftTripleTensorPullbackIso (f ≫ g) L M N).hom := by |
| 27 | change (Scheme.Modules.pullback f).map |
| 28 | (Tensor.PullbackComparison.tensorPullbackComparison g (Tensor.ProductSheaf.tensorModule L M) N ≫ |
| 29 | Tensor.Bifunctor.tensorModuleMap (Tensor.PullbackComparison.tensorPullbackComparison g L M) (𝟙 _)) ≫ |
| 30 | (Tensor.PullbackComparison.tensorPullbackComparison f |
| 31 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback g).obj L) ((Scheme.Modules.pullback g).obj M)) |
| 32 | ((Scheme.Modules.pullback g).obj N) ≫ |
| 33 | Tensor.Bifunctor.tensorModuleMap (Tensor.PullbackComparison.tensorPullbackComparison f ((Scheme.Modules.pullback g).obj L) |
| 34 | ((Scheme.Modules.pullback g).obj M)) (𝟙 _)) ≫ _ = |
| 35 | _ ≫ (Tensor.PullbackComparison.tensorPullbackComparison (f ≫ g) (Tensor.ProductSheaf.tensorModule L M) N ≫ |
| 36 | Tensor.Bifunctor.tensorModuleMap (Tensor.PullbackComparison.tensorPullbackComparison (f ≫ g) L M) (𝟙 _)) |
| 37 | rw [Functor.map_comp] |
| 38 | simp only [Category.assoc] |
| 39 | rw [← Category.assoc ((Scheme.Modules.pullback f).map |
| 40 | (Tensor.Bifunctor.tensorModuleMap (Tensor.PullbackComparison.tensorPullbackComparison g L M) (𝟙 _))), Tensor.PullbackComparison.tensorPullbackComparison_natural] |
| 41 | simp only [Category.assoc] |
| 42 | rw [Tensor.Bifunctor.tensorModuleMap_comp, Tensor.Bifunctor.tensorModuleMap_comp] |
| 43 | simp only [Category.id_comp] |
| 44 | rw [Tensor.PullbackComposition.tensorPullbackComparison_comp] |
| 45 | have hN : (Scheme.Modules.pullback f).map (𝟙 ((Scheme.Modules.pullback g).obj N)) ≫ |
| 46 | (Scheme.Modules.pullbackComp f g).hom.app N = (Scheme.Modules.pullbackComp f g).hom.app N := |
| 47 | (congrArg (fun a => a ≫ (Scheme.Modules.pullbackComp f g).hom.app N) |
| 48 | ((Scheme.Modules.pullback f).map_id ((Scheme.Modules.pullback g).obj N))).trans (Category.id_comp _) |
| 49 | rw [hN] |
| 50 | have h : Tensor.Bifunctor.tensorModuleMap |
| 51 | ((Scheme.Modules.pullbackComp f g).hom.app (Tensor.ProductSheaf.tensorModule L M) ≫ |
| 52 | Tensor.PullbackComparison.tensorPullbackComparison (f ≫ g) L M) ((Scheme.Modules.pullbackComp f g).hom.app N) = |
| 53 | Tensor.Bifunctor.tensorModuleMap ((Scheme.Modules.pullbackComp f g).hom.app (Tensor.ProductSheaf.tensorModule L M)) |
| 54 | ((Scheme.Modules.pullbackComp f g).hom.app N) ≫ |
| 55 | Tensor.Bifunctor.tensorModuleMap (Tensor.PullbackComparison.tensorPullbackComparison (f ≫ g) L M) (𝟙 _) := by |
| 56 | rw [Tensor.Bifunctor.tensorModuleMap_comp, Category.comp_id] |
| 57 | rw [h] |
| 58 | rw [← Category.assoc (Tensor.PullbackComparison.tensorPullbackComparison f |
| 59 | ((Scheme.Modules.pullback g).obj (Tensor.ProductSheaf.tensorModule L M)) ((Scheme.Modules.pullback g).obj N)), |
| 60 | ← Category.assoc ((Scheme.Modules.pullback f).map (Tensor.PullbackComparison.tensorPullbackComparison g (Tensor.ProductSheaf.tensorModule L M) N)), |
| 61 | Tensor.PullbackComposition.tensorPullbackComparison_comp] |
| 62 | exact Category.assoc _ _ _ |
| 63 | |
| 64 | theorem rightTripleTensorPullbackIso_comp |
| 65 | (f : X ⟶ Y) (g : Y ⟶ Z) [IsOpenImmersion f] [IsOpenImmersion g] |
| 66 | (L M N : Z.Modules) : |
| 67 | (Scheme.Modules.pullback f).map (TripleTensorPullbacks.rightTripleTensorPullbackIso g L M N).hom ≫ |
| 68 | (TripleTensorPullbacks.rightTripleTensorPullbackIso f ((Scheme.Modules.pullback g).obj L) |
| 69 | ((Scheme.Modules.pullback g).obj M) ((Scheme.Modules.pullback g).obj N)).hom ≫ |
| 70 | Tensor.Bifunctor.tensorModuleMap ((Scheme.Modules.pullbackComp f g).hom.app L) |
| 71 | (Tensor.Bifunctor.tensorModuleMap ((Scheme.Modules.pullbackComp f g).hom.app M) |
| 72 | ((Scheme.Modules.pullbackComp f g).hom.app N)) = |
| 73 | (Scheme.Modules.pullbackComp f g).hom.app (Tensor.ProductSheaf.tensorModule L (Tensor.ProductSheaf.tensorModule M N)) ≫ |
| 74 | (TripleTensorPullbacks.rightTripleTensorPullbackIso (f ≫ g) L M N).hom := by |
| 75 | change (Scheme.Modules.pullback f).map |
| 76 | (Tensor.PullbackComparison.tensorPullbackComparison g L (Tensor.ProductSheaf.tensorModule M N) ≫ |
| 77 | Tensor.Bifunctor.tensorModuleMap (𝟙 _) (Tensor.PullbackComparison.tensorPullbackComparison g M N)) ≫ |
| 78 | (Tensor.PullbackComparison.tensorPullbackComparison f ((Scheme.Modules.pullback g).obj L) |
| 79 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback g).obj M) ((Scheme.Modules.pullback g).obj N)) ≫ |
| 80 | Tensor.Bifunctor.tensorModuleMap (𝟙 _) (Tensor.PullbackComparison.tensorPullbackComparison f ((Scheme.Modules.pullback g).obj M) |
| 81 | ((Scheme.Modules.pullback g).obj N))) ≫ _ = |
| 82 | _ ≫ (Tensor.PullbackComparison.tensorPullbackComparison (f ≫ g) L (Tensor.ProductSheaf.tensorModule M N) ≫ |
| 83 | Tensor.Bifunctor.tensorModuleMap (𝟙 _) (Tensor.PullbackComparison.tensorPullbackComparison (f ≫ g) M N)) |
| 84 | rw [Functor.map_comp] |
| 85 | simp only [Category.assoc] |
| 86 | rw [← Category.assoc ((Scheme.Modules.pullback f).map |
| 87 | (Tensor.Bifunctor.tensorModuleMap (𝟙 _) (Tensor.PullbackComparison.tensorPullbackComparison g M N))), Tensor.PullbackComparison.tensorPullbackComparison_natural] |
| 88 | simp only [Category.assoc] |
| 89 | rw [Tensor.Bifunctor.tensorModuleMap_comp, Tensor.Bifunctor.tensorModuleMap_comp] |
| 90 | simp only [Category.id_comp] |
| 91 | rw [Tensor.PullbackComposition.tensorPullbackComparison_comp] |
| 92 | have hL : (Scheme.Modules.pullback f).map (𝟙 ((Scheme.Modules.pullback g).obj L)) ≫ |
| 93 | (Scheme.Modules.pullbackComp f g).hom.app L = (Scheme.Modules.pullbackComp f g).hom.app L := |
| 94 | (congrArg (fun a => a ≫ (Scheme.Modules.pullbackComp f g).hom.app L) |
| 95 | ((Scheme.Modules.pullback f).map_id ((Scheme.Modules.pullback g).obj L))).trans (Category.id_comp _) |
| 96 | rw [hL] |
| 97 | have h : Tensor.Bifunctor.tensorModuleMap ((Scheme.Modules.pullbackComp f g).hom.app L) |
| 98 | ((Scheme.Modules.pullbackComp f g).hom.app (Tensor.ProductSheaf.tensorModule M N) ≫ |
| 99 | Tensor.PullbackComparison.tensorPullbackComparison (f ≫ g) M N) = |
| 100 | Tensor.Bifunctor.tensorModuleMap ((Scheme.Modules.pullbackComp f g).hom.app L) |
| 101 | ((Scheme.Modules.pullbackComp f g).hom.app (Tensor.ProductSheaf.tensorModule M N)) ≫ |
| 102 | Tensor.Bifunctor.tensorModuleMap (𝟙 _) (Tensor.PullbackComparison.tensorPullbackComparison (f ≫ g) M N) := by |
| 103 | rw [Tensor.Bifunctor.tensorModuleMap_comp, Category.comp_id] |
| 104 | rw [h] |
| 105 | rw [← Category.assoc (Tensor.PullbackComparison.tensorPullbackComparison f |
| 106 | ((Scheme.Modules.pullback g).obj L) ((Scheme.Modules.pullback g).obj (Tensor.ProductSheaf.tensorModule M N))), |
| 107 | ← Category.assoc ((Scheme.Modules.pullback f).map (Tensor.PullbackComparison.tensorPullbackComparison g L (Tensor.ProductSheaf.tensorModule M N))), |
| 108 | Tensor.PullbackComposition.tensorPullbackComparison_comp] |
| 109 | exact Category.assoc _ _ _ |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TripleTensorComposition |