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.Free.PresentationSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Free.YonedaSliceSections |
| 3 | |
| 4 | /-! # Presentation Sheaf Sections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Free.PresentationSheafSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original free presentation sheaf has the same section families as its free representable summands. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Opposite |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {C : Type (max u v)} [Category.{v} C] {ι : Type v} (F : ι → C) |
| 17 | (R : Type (max u v)) [CommRing R] (J : GrothendieckTopology C) |
| 18 | [HasSheafify J (ModuleCat.{max u v} R)] |
| 19 | |
| 20 | abbrev sheaf : Sheaf J (ModuleCat.{max u v} R) := |
| 21 | (presheafToSheaf J (ModuleCat.{max u v} R)).obj (PresentationSections.presheaf F R) |
| 22 | |
| 23 | def homEquiv (H : Sheaf J (ModuleCat.{max u v} R)) : |
| 24 | (sheaf F R J ⟶ H) ≃+ (∀ i, H.obj.obj (op (F i))) := |
| 25 | ((sheafificationAdjunction J (ModuleCat.{max u v} R)).homAddEquiv |
| 26 | (PresentationSections.presheaf F R) H).trans (PresentationSections.homEquiv F R H.obj) |
| 27 | |
| 28 | theorem homEquiv_natural {H K : Sheaf J (ModuleCat.{max u v} R)} (g : H ⟶ K) |
| 29 | (a : sheaf F R J ⟶ H) (i : ι) : |
| 30 | homEquiv F R J K (a ≫ g) i = g.hom.app (op (F i)) (homEquiv F R J H a i) := by |
| 31 | change (presheafToSheaf J (ModuleCat.{max u v} R)).obj |
| 32 | (PresentationSections.presheaf F R) ⟶ H at a |
| 33 | exact congrArg (fun b => PresentationSections.homEquiv F R K.obj b i) |
| 34 | ((sheafificationAdjunction J (ModuleCat.{max u v} R)).homEquiv_naturality_right a g) |
| 35 | |
| 36 | def freeSections (U : C) (H : Sheaf J (ModuleCat.{max u v} R)) : |
| 37 | (Sheaf.freeYoneda J U (ModuleCat.of R R) ⟶ H) ≃+ H.obj.obj (op U) := |
| 38 | (AlgebraicGeometry.Crystalline.Cohomology.Free.YonedaAddEquiv.FreeYonedaAddEquiv.sheaf J U (ModuleCat.of R R) H).trans |
| 39 | (ModuleCat.homAddEquiv.trans (LinearMap.ringLmapEquivSelf R ℕ (H.obj.obj (op U))).toAddEquiv) |
| 40 | |
| 41 | theorem freeSections_natural (U : C) {H K : Sheaf J (ModuleCat.{max u v} R)} (g : H ⟶ K) |
| 42 | (a : Sheaf.freeYoneda J U (ModuleCat.of R R) ⟶ H) : |
| 43 | freeSections R J U K (a ≫ g) = g.hom.app (op U) (freeSections R J U H a) := |
| 44 | congrArg (fun b => b (1 : R)) (YonedaSliceSections.free_natural J U (ModuleCat.of R R) g a) |
| 45 | |
| 46 | def familyEquiv (H : Sheaf J (ModuleCat.{max u v} R)) : |
| 47 | (sheaf F R J ⟶ H) ≃+ (∀ i, Sheaf.freeYoneda J (F i) (ModuleCat.of R R) ⟶ H) := |
| 48 | (homEquiv F R J H).trans (AddEquiv.piCongrRight (fun i => freeSections R J (F i) H)).symm |
| 49 | |
| 50 | theorem freeSections_family (H : Sheaf J (ModuleCat.{max u v} R)) |
| 51 | (a : sheaf F R J ⟶ H) (i : ι) : |
| 52 | freeSections R J (F i) H (familyEquiv F R J H a i) = homEquiv F R J H a i := |
| 53 | (freeSections R J (F i) H).apply_symm_apply _ |
| 54 | |
| 55 | theorem familyEquiv_natural {H K : Sheaf J (ModuleCat.{max u v} R)} (g : H ⟶ K) |
| 56 | (a : sheaf F R J ⟶ H) (i : ι) : |
| 57 | familyEquiv F R J K (a ≫ g) i = familyEquiv F R J H a i ≫ g := by |
| 58 | apply (freeSections R J (F i) K).injective |
| 59 | exact (freeSections_family F R J K (a ≫ g) i).trans |
| 60 | ((homEquiv_natural F R J g a i).trans |
| 61 | ((congrArg (g.hom.app (op (F i))) (freeSections_family F R J H a i).symm).trans |
| 62 | (freeSections_natural R J (F i) g (familyEquiv F R J H a i)).symm)) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Free.PresentationSheafSections |