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.IntegralComparison.FlatCoefficientSheaves |
| 2 | |
| 3 | /-! # Coefficient Constants -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CoefficientConstants |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: constant unit sheaves under coefficient extension |
| 11 | |
| 12 | The tensor-unit isomorphism identifies extension of the constant source |
| 13 | ring sheaf with the constant target ring sheaf. This identifies the |
| 14 | specific sources used for cohomology in the coefficient Ext adjunction. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | universe u v w |
| 20 | |
| 21 | variable (S R : Type u) [CommRing S] [CommRing R] [Algebra S R] |
| 22 | |
| 23 | def extensionUnitIso : |
| 24 | (FlatCoefficientSheaves.extendCoefficients S R).obj (ModuleCat.of S S) ≅ ModuleCat.of R R := by |
| 25 | let M := (ModuleCat.restrictScalars (algebraMap S R)).obj (ModuleCat.of R R) |
| 26 | letI : Module R M := inferInstanceAs (Module R R) |
| 27 | letI : Module S M := M.isModule |
| 28 | have : @IsScalarTower S R M (Algebra.toSMul : SMul S R) |
| 29 | (inferInstance : SMul R M) M.isModule.toSMul := by |
| 30 | refine @IsScalarTower.mk S R M (Algebra.toSMul : SMul S R) |
| 31 | (inferInstance : SMul R M) M.isModule.toSMul ?_ |
| 32 | intro s r m |
| 33 | rw [Algebra.smul_def] |
| 34 | change ((algebraMap S R) s * r) * (show R from m) = |
| 35 | (algebraMap S R) s * (r * (show R from m)) |
| 36 | exact mul_assoc _ _ _ |
| 37 | exact (TensorProduct.AlgebraTensorModule.rid S R M).toModuleIso |
| 38 | |
| 39 | variable {C : Type v} [Category.{w} C] (J : GrothendieckTopology C) |
| 40 | [HasSheafify J (ModuleCat.{u} S)] [HasSheafify J (ModuleCat.{u} R)] |
| 41 | |
| 42 | def extensionConstantIso : |
| 43 | (FlatCoefficientSheaves.extension S R J).obj |
| 44 | ((constantSheaf J (ModuleCat.{u} S)).obj (ModuleCat.of S S)) ≅ |
| 45 | (constantSheaf J (ModuleCat.{u} R)).obj (ModuleCat.of R R) := |
| 46 | (presheafToSheafCompComposeAndSheafifyIso J |
| 47 | (FlatCoefficientSheaves.extendCoefficients S R)).app ((Functor.const Cᵒᵖ).obj (ModuleCat.of S S)) ≪≫ |
| 48 | (presheafToSheaf J (ModuleCat.{u} R)).mapIso |
| 49 | (Functor.constComp Cᵒᵖ (ModuleCat.of S S) (FlatCoefficientSheaves.extendCoefficients S R)) ≪≫ |
| 50 | (constantSheaf J (ModuleCat.{u} R)).mapIso (extensionUnitIso S R) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CoefficientConstants |