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.GeometricComparison.Integral.SheafCoefficientAdjunction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AbelianSheafUniverses |
| 3 | |
| 4 | /-! # Integer Sheaf Equivalence -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.IntegerSheafEquivalence.IntegralIntegerSheafEquivalence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integer-module sheaves and additive sheaves have the same actual Ext groups on small sites. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | variable {C : Type} [Category.{0} C] (J : GrothendieckTopology C) |
| 15 | |
| 16 | abbrev forgetSheaf : Sheaf J (ModuleCat.{0} ℤ) ⥤ Sheaf J AddCommGrpCat.{0} := |
| 17 | sheafCompose J (forget₂ (ModuleCat.{0} ℤ) AddCommGrpCat.{0}) |
| 18 | |
| 19 | instance forgetSheaf_essSurj : (forgetSheaf J).EssSurj where |
| 20 | mem_essImage F := by |
| 21 | let e := (forget₂ (ModuleCat.{0} ℤ) AddCommGrpCat.{0}).asEquivalence |
| 22 | let G := (sheafCompose J e.inverse).obj F |
| 23 | refine ⟨G, ⟨(fullyFaithfulSheafToPresheaf J AddCommGrpCat.{0}).preimageIso ?_⟩⟩ |
| 24 | exact Functor.associator F.obj e.inverse e.functor ≪≫ |
| 25 | Functor.isoWhiskerLeft F.obj e.counitIso ≪≫ Functor.rightUnitor F.obj |
| 26 | |
| 27 | instance forgetSheaf_isEquivalence : (forgetSheaf J).IsEquivalence where |
| 28 | |
| 29 | instance forgetSheaf_additive : (forgetSheaf J).Additive where |
| 30 | map_add := by |
| 31 | intro M N f g |
| 32 | apply Sheaf.hom_ext |
| 33 | ext U x |
| 34 | rfl |
| 35 | |
| 36 | instance additiveEnoughInjectives : EnoughInjectives (Sheaf J AddCommGrpCat.{0}) := |
| 37 | IntegralComparison.AbelianSheafUniverses.enoughInjectives.{0, 0, 0} J |
| 38 | |
| 39 | instance integerEnoughInjectives : EnoughInjectives (Sheaf J (ModuleCat.{0} ℤ)) := |
| 40 | EnoughInjectives.of_equivalence (forgetSheaf J) |
| 41 | |
| 42 | universe w w' |
| 43 | |
| 44 | def extEquiv [HasExt.{w} (Sheaf J (ModuleCat.{0} ℤ))] |
| 45 | [HasExt.{w'} (Sheaf J AddCommGrpCat.{0})] |
| 46 | (M N : Sheaf J (ModuleCat.{0} ℤ)) (n : ℕ) : |
| 47 | Abelian.Ext.{w} M N n ≃+ |
| 48 | Abelian.Ext.{w'} ((forgetSheaf J).obj M) ((forgetSheaf J).obj N) n := |
| 49 | AddEquiv.ofBijective ((forgetSheaf J).mapExtAddHom M N n) |
| 50 | ((forgetSheaf J).mapExt_bijective_of_preservesInjectiveObjects M N n) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.IntegerSheafEquivalence.IntegralIntegerSheafEquivalence |