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.AbelianSheafUniverses |
| 2 | import Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 3 | import Mathlib.CategoryTheory.Preadditive.Injective.Preserves |
| 4 | |
| 5 | /-! # Integer Sheaf Equivalence -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Lifted.IntegerSheafEquivalence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Additive sheaves and sheaves of modules over the lifted integers |
| 12 | are equivalent at the coefficient universe of the actual pro-étale site. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | abbrev coefficients : ModuleCat.{w} (ULift.{w} ℤ) ⥤ AddCommGrpCat.{w} := |
| 19 | ModuleCat.restrictScalars (ULift.ringEquiv.symm : ℤ ≃+* ULift.{w} ℤ).toRingHom ⋙ |
| 20 | forget₂ (ModuleCat.{w} ℤ) AddCommGrpCat.{w} |
| 21 | |
| 22 | variable {C : Type (max u v)} [Category.{v} C] (J : GrothendieckTopology C) |
| 23 | |
| 24 | abbrev forgetSheaf : Sheaf J (ModuleCat.{max u v} (ULift.{max u v} ℤ)) ⥤ |
| 25 | Sheaf J AddCommGrpCat.{max u v} := sheafCompose J coefficients |
| 26 | |
| 27 | instance forgetSheaf_essSurj : (forgetSheaf J).EssSurj where |
| 28 | mem_essImage F := by |
| 29 | let e := coefficients.{max u v}.asEquivalence |
| 30 | let G := (sheafCompose J e.inverse).obj F |
| 31 | refine ⟨G, ⟨(fullyFaithfulSheafToPresheaf J AddCommGrpCat.{max u v}).preimageIso ?_⟩⟩ |
| 32 | exact Functor.associator F.obj e.inverse e.functor ≪≫ |
| 33 | Functor.isoWhiskerLeft F.obj e.counitIso ≪≫ Functor.rightUnitor F.obj |
| 34 | |
| 35 | instance forgetSheaf_isEquivalence : (forgetSheaf J).IsEquivalence where |
| 36 | |
| 37 | instance forgetSheaf_additive : (forgetSheaf J).Additive where |
| 38 | map_add := by |
| 39 | intro M N f g |
| 40 | apply Sheaf.hom_ext |
| 41 | ext U x |
| 42 | rfl |
| 43 | |
| 44 | abbrev moduleSheaf (H : Sheaf J AddCommGrpCat.{max u v}) : |
| 45 | Sheaf J (ModuleCat.{max u v} (ULift.{max u v} ℤ)) := |
| 46 | (forgetSheaf J).asEquivalence.inverse.obj H |
| 47 | |
| 48 | def moduleSheafIso (H : Sheaf J AddCommGrpCat.{max u v}) : |
| 49 | (forgetSheaf J).obj (moduleSheaf J H) ≅ H := |
| 50 | (forgetSheaf J).asEquivalence.counitIso.app H |
| 51 | |
| 52 | instance moduleSheaf_injective (H : Sheaf J AddCommGrpCat.{max u v}) [Injective H] : |
| 53 | Injective (moduleSheaf J H) := by |
| 54 | infer_instance |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Lifted.IntegerSheafEquivalence |