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.Picard.Homomorphisms.FreePresheafTensor |
| 2 | |
| 3 | /-! # Presheaf Generators -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.PresheafGenerators |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Detecting natural isomorphisms of cocontinuous functors on free open generators. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | namespace Construction |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {Y : Scheme.{u}} {D : Type*} [Category D] |
| 20 | |
| 21 | theorem modulePresheafNatTrans_isIso_of_freeOpen |
| 22 | {F G : Y.PresheafOfModules ⥤ D} (a : F ⟶ G) |
| 23 | [PreservesColimitsOfSize.{u, u} F] [PreservesColimitsOfSize.{u, u} G] |
| 24 | (h : ∀ U : Y.Opens, IsIso (a.app (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U))) |
| 25 | (M : Y.PresheafOfModules) : IsIso (a.app M) := by |
| 26 | have hc (N : Y.PresheafOfModules) : IsIso (a.app N.freeYonedaCoproduct) := by |
| 27 | let K := Discrete.functor (PresheafOfModules.Elements.freeYoneda (M := N)) |
| 28 | have (j : Discrete N.Elements) : IsIso ((Functor.whiskerLeft K a).app j) := h j.as.1.unop |
| 29 | have : IsIso (Functor.whiskerLeft K a) := NatIso.isIso_of_isIso_app _ |
| 30 | exact isIso_app_coconePt_of_preservesColimit K a (colimit.cocone K) (colimit.isColimit K) |
| 31 | have : PreservesColimitsOfSize.{0, 0} F := preservesSmallestColimits_of_preservesColimits F |
| 32 | have : PreservesColimitsOfSize.{0, 0} G := preservesSmallestColimits_of_preservesColimits G |
| 33 | let K := parallelPair M.toFreeYonedaCoproduct 0 |
| 34 | have (j : WalkingParallelPair) : IsIso ((Functor.whiskerLeft K a).app j) := by |
| 35 | cases j <;> exact hc _ |
| 36 | have : IsIso (Functor.whiskerLeft K a) := NatIso.isIso_of_isIso_app _ |
| 37 | exact isIso_app_coconePt_of_preservesColimit K a |
| 38 | M.freeYonedaCoproductsCokernelCofork M.isColimitFreeYonedaCoproductsCokernelCofork |
| 39 | |
| 40 | end Construction |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.PresheafGenerators |