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.PeriodInvariants.SheafCoefficients |
| 2 | import Mathlib.Algebra.Category.Grp.ZModuleEquivalence |
| 3 | import Mathlib.Topology.Sheaves.Flasque |
| 4 | |
| 5 | /-! # Integer Sheaf -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.IntegerSheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical integer coefficients retain the literal underlying |
| 12 | additive groups, section maps, and flasque property. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 14 | universe u |
| 15 | |
| 16 | def coefficients : AddCommGrpCat.{u} ⥤ ModuleCat.{u} ℤ where |
| 17 | obj A := ModuleCat.of ℤ A |
| 18 | map f := ModuleCat.ofHom f.hom.toIntLinearMap |
| 19 | |
| 20 | instance coefficients_additive : coefficients.{u}.Additive where |
| 21 | map_add := rfl |
| 22 | |
| 23 | def underlyingIso : coefficients.{u} ⋙ forget₂ (ModuleCat.{u} ℤ) AddCommGrpCat.{u} ≅ |
| 24 | 𝟭 AddCommGrpCat.{u} := |
| 25 | NatIso.ofComponents (fun _ => Iso.refl _) (fun _ => rfl) |
| 26 | |
| 27 | instance coefficients_equivalence : coefficients.{u}.IsEquivalence := by |
| 28 | let : (coefficients.{u} ⋙ forget₂ (ModuleCat.{u} ℤ) AddCommGrpCat.{u}).IsEquivalence := |
| 29 | CategoryTheory.Functor.isEquivalence_of_iso underlyingIso.symm |
| 30 | exact CategoryTheory.Functor.isEquivalence_of_comp_right |
| 31 | coefficients.{u} (forget₂ (ModuleCat.{u} ℤ) AddCommGrpCat.{u}) |
| 32 | |
| 33 | variable (X : TopCat.{u}) |
| 34 | |
| 35 | def sheaves : Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u} ⥤ |
| 36 | Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u} ℤ) := |
| 37 | sheafCompose (Opens.grothendieckTopology X) coefficients.{u} |
| 38 | |
| 39 | instance sheaves_additive : (sheaves X).Additive where |
| 40 | map_add := by |
| 41 | intro P Q f g |
| 42 | apply Sheaf.hom_ext |
| 43 | apply NatTrans.ext |
| 44 | funext U |
| 45 | rfl |
| 46 | |
| 47 | instance sheaves_equivalence : (sheaves X).IsEquivalence := |
| 48 | PeriodInvariants.SheafCoefficients.compose_equivalence (Opens.grothendieckTopology X) |
| 49 | coefficients.{u}.asEquivalence |
| 50 | |
| 51 | def underlyingSheavesIso : sheaves X ⋙ |
| 52 | sheafCompose (Opens.grothendieckTopology X) (forget₂ (ModuleCat.{u} ℤ) AddCommGrpCat.{u}) ≅ |
| 53 | 𝟭 (Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) := |
| 54 | NatIso.ofComponents (fun _ => Iso.refl _) (fun _ => rfl) |
| 55 | |
| 56 | theorem flasque (P : Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) |
| 57 | [TopCat.Sheaf.IsFlasque P] : TopCat.Sheaf.IsFlasque ((sheaves X).obj P) where |
| 58 | epi j := by |
| 59 | change Epi (coefficients.{u}.map (P.obj.map j)) |
| 60 | infer_instance |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.IntegerSheaf |