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.NumberTheory.PadicHodge.GeometricComparison.HomologyScalarExtension |
| 2 | |
| 3 | /-! # Extension Tensor Equivalence -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ExtensionTensorEquivalence.ChainScalarExtension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Identify the coefficient-extension functor's tensor product with the native tensor product of an algebra. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | open scoped TensorProduct ChangeOfRings |
| 13 | |
| 14 | variable {R S : Type} [CommRing R] [CommRing S] [Algebra R S] |
| 15 | |
| 16 | theorem coefficient_smul (r : R) (s : S) : |
| 17 | @SMul.smul R S (Module.compHom S (algebraMap R S)).toSMul r s = r • s := by |
| 18 | change algebraMap R S r • s = r • s |
| 19 | exact IsScalarTower.algebraMap_smul S r s |
| 20 | |
| 21 | def coefficientEquiv : |
| 22 | (ModuleCat.restrictScalars (algebraMap R S)).obj (ModuleCat.of S S) ≃ₗ[R] S where |
| 23 | toFun x := x |
| 24 | invFun x := x |
| 25 | left_inv _ := rfl |
| 26 | right_inv _ := rfl |
| 27 | map_add' _ _ := rfl |
| 28 | map_smul' r s := coefficient_smul (R := R) (S := S) r s |
| 29 | |
| 30 | def tensorObjEquiv (M : ModuleCat.{0} R) : |
| 31 | (HomologyScalarExtension.ChainScalarExtension.extension (algebraMap R S)).obj M ≃ₗ[S] (S ⊗[R] M) := by |
| 32 | letI : Module S ((HomologyScalarExtension.ChainScalarExtension.extension (algebraMap R S)).obj M) := |
| 33 | ((HomologyScalarExtension.ChainScalarExtension.extension (algebraMap R S)).obj M).isModule |
| 34 | let e : (HomologyScalarExtension.ChainScalarExtension.extension (algebraMap R S)).obj M ≃+ (S ⊗[R] M) := |
| 35 | (TensorProduct.congr (coefficientEquiv (R := R) (S := S)) (LinearEquiv.refl R M)).toAddEquiv |
| 36 | refine { e with map_smul' := ?_ } |
| 37 | intro s x |
| 38 | change e (s • x) = s • e x |
| 39 | induction x using TensorProduct.inductionOn with |
| 40 | | tmul a m => rfl |
| 41 | | add x y hx hy => |
| 42 | erw [smul_add, e.map_add, hx, hy, e.map_add, smul_add] |
| 43 | |
| 44 | theorem tensorObjEquiv_tmul (M : ModuleCat.{0} R) (s : S) (m : M) : |
| 45 | tensorObjEquiv M (s ⊗ₜ[R, algebraMap R S] m) = s ⊗ₜ[R] m := rfl |
| 46 | |
| 47 | theorem tensorObjEquiv_naturality {M N : ModuleCat.{0} R} (f : M ⟶ N) |
| 48 | (x : (HomologyScalarExtension.ChainScalarExtension.extension (algebraMap R S)).obj M) : |
| 49 | tensorObjEquiv N ((HomologyScalarExtension.ChainScalarExtension.extension (algebraMap R S)).map f x) = |
| 50 | f.hom.baseChange S (tensorObjEquiv M x) := by |
| 51 | let a : (HomologyScalarExtension.ChainScalarExtension.extension (algebraMap R S)).obj M ⟶ ModuleCat.of S (S ⊗[R] N) := |
| 52 | (HomologyScalarExtension.ChainScalarExtension.extension (algebraMap R S)).map f ≫ (tensorObjEquiv N).toModuleIso.hom |
| 53 | let b : (HomologyScalarExtension.ChainScalarExtension.extension (algebraMap R S)).obj M ⟶ ModuleCat.of S (S ⊗[R] N) := |
| 54 | (tensorObjEquiv M).toModuleIso.hom ≫ ModuleCat.ofHom (f.hom.baseChange S) |
| 55 | have he : a = b := ModuleCat.ExtendScalars.hom_ext (fun _ => rfl) |
| 56 | exact LinearMap.congr_fun (congrArg ModuleCat.Hom.hom he) x |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ExtensionTensorEquivalence.ChainScalarExtension |