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 Mathlib |
| 2 | |
| 3 | /-! # Sheaf Universes -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafUniverses |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: module-sheaf exactness and injectives at the required universes |
| 11 | |
| 12 | Choosing a coefficient-module universe large enough for the site gives |
| 13 | exact sheafification and enough injectives. The construction includes |
| 14 | small coefficient rings, such as the integers, on the larger IntegralComparison sites. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | universe u v w |
| 20 | |
| 21 | variable {C : Type v} [Category.{w} C] (J : GrothendieckTopology C) |
| 22 | (R : Type (max u v w)) [Ring R] |
| 23 | |
| 24 | theorem hasSheafify : HasSheafify J (ModuleCat.{max u v w} R) := by |
| 25 | have : PreservesFilteredColimitsOfSize.{max v w, max v w} |
| 26 | (forget (ModuleCat.{max u v w} R)) := |
| 27 | preservesFilteredColimitsOfSize_of_univLE.{max u v w, max u v w, max v w, max v w} _ |
| 28 | exact HasSheafify.mk' _ _ (plusPlusAdjunction J (ModuleCat.{max u v w} R)) |
| 29 | |
| 30 | theorem isGrothendieckAbelian : |
| 31 | letI := hasSheafify.{u, v, w} J R |
| 32 | IsGrothendieckAbelian.{max u v w} (Sheaf J (ModuleCat.{max u v w} R)) := by |
| 33 | let := hasSheafify.{u, v, w} J R |
| 34 | let : SmallCategory (SmallModel.{max u v w} C) := |
| 35 | smallCategorySmallModel.{max u v w, w, v} C |
| 36 | let e := equivSmallModel.{max u v w} C |
| 37 | let K := e.inverse.inducedTopology J |
| 38 | have : HasSheafify K (ModuleCat.{max u v w} R) := |
| 39 | HasSheafify.mk' _ _ (plusPlusAdjunction K (ModuleCat.{max u v w} R)) |
| 40 | exact Sheaf.isGrothendieckAbelian_of_essentiallySmall.{max u v w, max u v w, w, (max u v w) + 1, v} |
| 41 | J (ModuleCat.{max u v w} R) |
| 42 | |
| 43 | theorem enoughInjectives : EnoughInjectives (Sheaf J (ModuleCat.{max u v w} R)) := by |
| 44 | let := hasSheafify.{u, v, w} J R |
| 45 | have := isGrothendieckAbelian.{u, v, w} J R |
| 46 | infer_instance |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafUniverses |