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.Module.SheafLinear |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafResolutionSections |
| 3 | |
| 4 | /-! # Sheaf Linear Sections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafLinearSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: coefficient-linear sections at a terminal object |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe w z u v |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 19 | (R : Type w) [CommRing R] [HasSheafify J (ModuleCat.{w} R)] |
| 20 | {T : C} (hT : IsTerminal T) |
| 21 | |
| 22 | instance evaluation_linear : ((sheafSections J (ModuleCat.{w} R)).obj (op T)).Linear R where |
| 23 | map_smul := by intros; rfl |
| 24 | |
| 25 | abbrev constantUnit : Sheaf J (ModuleCat.{w} R) := |
| 26 | (constantSheaf J (ModuleCat.{w} R)).obj (ModuleCat.of R R) |
| 27 | |
| 28 | def homLinearEquiv (M : Sheaf J (ModuleCat.{w} R)) : |
| 29 | (constantUnit J R ⟶ M) ≃ₗ[R] M.obj.obj (op T) := |
| 30 | (LinearAdjunction.homLinearEquiv R (constantSheafAdj J (ModuleCat.{w} R) hT) |
| 31 | (ModuleCat.of R R) M).trans |
| 32 | ((ModuleCat.homLinearEquiv (R := R) (S := R) (M := ModuleCat.of R R) |
| 33 | (N := M.obj.obj (op T))).trans (LinearMap.ringLmapEquivSelf R R _)) |
| 34 | |
| 35 | theorem homLinearEquiv_apply (M : Sheaf J (ModuleCat.{w} R)) (a : constantUnit J R ⟶ M) : |
| 36 | SheafLinearSections.homLinearEquiv J R hT M a = SheafResolutionSections.homEquiv J R hT M a := rfl |
| 37 | |
| 38 | theorem homLinearEquiv_natural {M N : Sheaf J (ModuleCat.{w} R)} |
| 39 | (a : constantUnit J R ⟶ M) (b : M ⟶ N) : |
| 40 | SheafLinearSections.homLinearEquiv J R hT N (a ≫ b) = b.hom.app (op T) (SheafLinearSections.homLinearEquiv J R hT M a) := |
| 41 | SheafResolutionSections.homEquiv_natural J R hT a b |
| 42 | |
| 43 | variable [HasExt.{z} (Sheaf J (ModuleCat.{w} R))] |
| 44 | |
| 45 | def degreeZeroLinearEquiv (M : Sheaf J (ModuleCat.{w} R)) : |
| 46 | Abelian.Ext.{z} (constantUnit J R) M 0 ≃ₗ[R] M.obj.obj (op T) := |
| 47 | Abelian.Ext.linearEquiv₀.trans (SheafLinearSections.homLinearEquiv J R hT M) |
| 48 | |
| 49 | theorem degreeZeroLinearEquiv_mk (M : Sheaf J (ModuleCat.{w} R)) (a : constantUnit J R ⟶ M) : |
| 50 | degreeZeroLinearEquiv J R hT M (Abelian.Ext.mk₀ a) = SheafLinearSections.homLinearEquiv J R hT M a := by |
| 51 | exact congrArg (SheafLinearSections.homLinearEquiv J R hT M) (Abelian.Ext.linearEquiv₀.apply_symm_apply a) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafLinearSections |