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.Crystalline.ConstantCochainCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheafified.ConstantCochainCoordinates |
| 3 | |
| 4 | /-! # Sheaf Constant Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.SheafConstantCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical sheafification of the genuine coefficient-lifted |
| 11 | constant cone is exactly the original crystalline sheafification map. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v w |
| 16 | variable {C : Type v} [Category.{w} C] (B : Type u) [CommRing B] |
| 17 | (J : GrothendieckTopology C) |
| 18 | [HasSheafify J (ModuleCat.{u+1} (ExactRestriction.Coeff (B := B)))] |
| 19 | (M : CochainComplex (ModuleCat.{u} B) ℕ) |
| 20 | (P : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} B) ℕ) |
| 21 | (a : ((Functor.const Cᵒᵖ).mapHomologicalComplex (.up ℕ)).obj M ⟶ P) |
| 22 | |
| 23 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelativeResolution.coefficientFunctor (B := B) |
| 24 | local notation "CR" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 25 | |
| 26 | def coefficients := (Functor.whiskeringRight Cᵒᵖ (ModuleCat.{u} B) |
| 27 | (ModuleCat.{u+1} CR)).obj F |
| 28 | |
| 29 | instance coefficients_additive : (coefficients (C := C) B).Additive where |
| 30 | map_add := by intros; rfl |
| 31 | |
| 32 | def sheafification := coefficients B ⋙ presheafToSheaf J (ModuleCat.{u+1} CR) |
| 33 | |
| 34 | instance sheafification_additive : (sheafification B J).Additive := by |
| 35 | dsimp only [sheafification] |
| 36 | infer_instance |
| 37 | |
| 38 | theorem map_eq : |
| 39 | ((presheafToSheaf J (ModuleCat.{u+1} CR)).mapHomologicalComplex (.up ℕ)).map |
| 40 | (Constant.CochainMap.map F M P a) = |
| 41 | ((sheafification B J).mapHomologicalComplex (.up ℕ)).map a := by |
| 42 | exact congrArg ((presheafToSheaf J (ModuleCat.{u+1} CR)).mapHomologicalComplex (.up ℕ)).map |
| 43 | (ConstantCochainCoordinates.map_eq B M P a) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.SheafConstantCoordinates |