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.Bilinear.BilinearRestriction |
| 2 | |
| 3 | /-! # Product Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual tensor product of module sheaves commutes with restriction and open pullback. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} |
| 16 | |
| 17 | /-- Restriction of the tensor sheaf corepresents bilinear maps from the restricted factors. -/ |
| 18 | def Bilinear.Sheaves.SheafBilinearMap.restrictedCorepresentable (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) : |
| 19 | (Bilinear.Sheaves.SheafBilinearMap.outputFunctor (M.restrict f) (N.restrict f)).CorepresentableBy |
| 20 | ((Tensor.ProductSheaf.tensorModule M N).restrict f) where |
| 21 | homEquiv {P} := ((Scheme.Modules.restrictAdjunction f).homEquiv (Tensor.ProductSheaf.tensorModule M N) P).trans |
| 22 | ((Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N ((Scheme.Modules.pushforward f).obj P)).trans |
| 23 | (Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv f M N P).symm) |
| 24 | homEquiv_comp {P Q} h a := by |
| 25 | let eQ := (Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv f M N Q).symm |
| 26 | exact (congrArg (fun b => eQ (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N |
| 27 | ((Scheme.Modules.pushforward f).obj Q) b)) |
| 28 | ((Scheme.Modules.restrictAdjunction f).homEquiv_naturality_right a h)).trans |
| 29 | ((congrArg eQ (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv_postcomp |
| 30 | ((Scheme.Modules.restrictAdjunction f).homEquiv (Tensor.ProductSheaf.tensorModule M N) P a) |
| 31 | ((Scheme.Modules.pushforward f).map h))).trans |
| 32 | (Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv_symm_postcomp f M N |
| 33 | (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N ((Scheme.Modules.pushforward f).obj P) |
| 34 | ((Scheme.Modules.restrictAdjunction f).homEquiv (Tensor.ProductSheaf.tensorModule M N) P a)) h)) |
| 35 | |
| 36 | /-- Restriction commutes with tensor products of module sheaves. -/ |
| 37 | def Tensor.ProductBaseChange.tensorModuleRestrictIso (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) : |
| 38 | (Tensor.ProductSheaf.tensorModule M N).restrict f ≅ Tensor.ProductSheaf.tensorModule (M.restrict f) (N.restrict f) := |
| 39 | (Bilinear.Sheaves.SheafBilinearMap.restrictedCorepresentable f M N).uniqueUpToIso |
| 40 | (Bilinear.Sheaves.SheafBilinearMap.corepresentable (M.restrict f) (N.restrict f)) |
| 41 | |
| 42 | /-- The canonical module-sheaf pullback along an open immersion commutes with tensor products. -/ |
| 43 | def Tensor.ProductBaseChange.tensorModulePullbackIso (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) : |
| 44 | (Scheme.Modules.pullback f).obj (Tensor.ProductSheaf.tensorModule M N) ≅ |
| 45 | Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback f).obj M) ((Scheme.Modules.pullback f).obj N) := |
| 46 | ((Scheme.Modules.restrictFunctorIsoPullback f).app (Tensor.ProductSheaf.tensorModule M N)).symm ≪≫ |
| 47 | Tensor.ProductBaseChange.tensorModuleRestrictIso f M N ≪≫ |
| 48 | Tensor.ProductSheaf.tensorModuleCongr ((Scheme.Modules.restrictFunctorIsoPullback f).app M) |
| 49 | ((Scheme.Modules.restrictFunctorIsoPullback f).app N) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |