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.IntersectionTheory.ProjectionFormula.ExternalTensor |
| 2 | |
| 3 | /-! # External Tensor Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ExternalTensorFunctor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Over a field the external tensor product is an exact additive |
| 10 | functor in either input. This file bundles the first-input functor |
| 11 | and its actual short-exact-sequence transport. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (K R S : Type u) [Field K] [CommRing R] [CommRing S] |
| 22 | [Algebra K R] [Algebra K S] |
| 23 | |
| 24 | abbrev scalar (M : ModuleCat.{u} R) : Module K M := Module.restrictScalars K R M |
| 25 | |
| 26 | theorem tower (M : ModuleCat.{u} R) : |
| 27 | let := scalar K R M |
| 28 | IsScalarTower K R M := IsScalarTower.restrictScalars K R M |
| 29 | |
| 30 | attribute [local instance] scalar tower ExternalTensor.module |
| 31 | |
| 32 | variable (N : ModuleCat.{u} S) |
| 33 | |
| 34 | def tensor : ModuleCat.{u} R ⥤ ModuleCat.{u} (R ⊗[K] S) where |
| 35 | obj M := ExternalTensor.obj K R S M N |
| 36 | map f := ExternalTensor.map K R S f.hom (LinearMap.id : N →ₗ[S] N) |
| 37 | map_id M := by |
| 38 | apply ExternalTensor.hom_ext K R S M N |
| 39 | intro m n |
| 40 | rfl |
| 41 | map_comp f g := by |
| 42 | apply ExternalTensor.hom_ext K R S _ N |
| 43 | intro m n |
| 44 | rfl |
| 45 | |
| 46 | instance : (tensor K R S N).Additive where |
| 47 | map_add := by |
| 48 | intro M M' f g |
| 49 | apply ExternalTensor.hom_ext K R S M N |
| 50 | intro m n |
| 51 | exact TensorProduct.add_tmul (f m) (g m) n |
| 52 | |
| 53 | theorem map_exact (T : ShortComplex (ModuleCat.{u} R)) (hT : T.Exact) : |
| 54 | (T.map (tensor K R S N)).Exact := by |
| 55 | rw [ShortComplex.ShortExact.moduleCat_exact_iff_function_exact] at hT ⊢ |
| 56 | exact Module.Flat.rTensor_exact N |
| 57 | (show Function.Exact (T.f.hom.restrictScalars K) (T.g.hom.restrictScalars K) from hT) |
| 58 | |
| 59 | instance : (tensor K R S N).PreservesHomology := |
| 60 | ((Functor.exact_tfae (tensor K R S N)).out 2 3).mp (map_exact K R S N) |
| 61 | |
| 62 | theorem map_shortExact (T : ShortComplex (ModuleCat.{u} R)) (hT : T.ShortExact) : |
| 63 | (T.map (tensor K R S N)).ShortExact := by |
| 64 | let := hT.mono_f |
| 65 | let := hT.epi_g |
| 66 | exact hT.map (tensor K R S N) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ExternalTensorFunctor |