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.Module.ConstantSections |
| 2 | |
| 3 | /-! # Presheaf Sections -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Sheafified.PresheafSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: sections of an already separated and glued module presheaf |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v w z |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] (R : Type w) [CommRing R] |
| 18 | (J : GrothendieckTopology C) [HasSheafify J (ModuleCat.{w} R)] |
| 19 | (P : Cᵒᵖ ⥤ ModuleCat.{w} R) (hP : Presheaf.IsSheaf J P) |
| 20 | |
| 21 | def homLinearEquiv (M : ModuleCat.{w} R) : |
| 22 | ((constantSheaf J (ModuleCat.{w} R)).obj M ⟶ (presheafToSheaf J (ModuleCat.{w} R)).obj P) ≃ₗ[R] |
| 23 | ((Functor.const Cᵒᵖ).obj M ⟶ P) := |
| 24 | (LinearAdjunction.homLinearEquiv R (sheafificationAdjunction J (ModuleCat.{w} R)) |
| 25 | ((Functor.const Cᵒᵖ).obj M) ((presheafToSheaf J (ModuleCat.{w} R)).obj P)).trans |
| 26 | (Linear.homCongr R (Iso.refl _) (isoSheafify J hP).symm) |
| 27 | |
| 28 | theorem homLinearEquiv_map (M : ModuleCat.{w} R) (γ : (Functor.const Cᵒᵖ).obj M ⟶ P) : |
| 29 | homLinearEquiv R J P hP M ((presheafToSheaf J (ModuleCat.{w} R)).map γ) = γ := by |
| 30 | change 𝟙 _ ≫ ((sheafificationAdjunction J (ModuleCat.{w} R)).homEquiv _ _ |
| 31 | ((presheafToSheaf J (ModuleCat.{w} R)).map γ)) ≫ (isoSheafify J hP).inv = γ |
| 32 | rw [Category.id_comp, Adjunction.homEquiv_unit] |
| 33 | have h := (sheafificationAdjunction J (ModuleCat.{w} R)).unit.naturality γ |
| 34 | exact (congrArg (fun t => t ≫ (isoSheafify J hP).inv) h.symm).trans |
| 35 | ((Category.assoc _ _ _).trans |
| 36 | ((congrArg (fun t => γ ≫ t) (isoSheafify J hP).hom_inv_id).trans (Category.comp_id γ))) |
| 37 | |
| 38 | variable [HasExt.{z} (Sheaf J (ModuleCat.{w} R))] |
| 39 | |
| 40 | def degreeZeroLinearEquiv : |
| 41 | Abelian.Ext.{z} (Module.ConstantSections.constantUnit R J) |
| 42 | ((presheafToSheaf J (ModuleCat.{w} R)).obj P) 0 ≃ₗ[R] |
| 43 | ((Functor.const Cᵒᵖ).obj (ModuleCat.of R R) ⟶ P) := |
| 44 | Abelian.Ext.linearEquiv₀.trans (homLinearEquiv R J P hP (ModuleCat.of R R)) |
| 45 | |
| 46 | theorem degreeZero_section (M : ModuleCat.{w} R) (γ : (Functor.const Cᵒᵖ).obj M ⟶ P) (m : M) : |
| 47 | degreeZeroLinearEquiv R J P hP (Module.ConstantSections.sectionMap R J M |
| 48 | ((presheafToSheaf J (ModuleCat.{w} R)).obj P) |
| 49 | ((presheafToSheaf J (ModuleCat.{w} R)).map γ) m) = |
| 50 | (Functor.const Cᵒᵖ).map (Module.ConstantSections.elementHom R M m) ≫ γ := by |
| 51 | have h : (constantSheaf J (ModuleCat.{w} R)).map (Module.ConstantSections.elementHom R M m) ≫ |
| 52 | (presheafToSheaf J (ModuleCat.{w} R)).map γ = |
| 53 | (presheafToSheaf J (ModuleCat.{w} R)).map |
| 54 | ((Functor.const Cᵒᵖ).map (Module.ConstantSections.elementHom R M m) ≫ γ) := |
| 55 | ((presheafToSheaf J (ModuleCat.{w} R)).map_comp _ _).symm |
| 56 | have he := Module.ConstantSections.section_apply R J M |
| 57 | ((presheafToSheaf J (ModuleCat.{w} R)).obj P) ((presheafToSheaf J (ModuleCat.{w} R)).map γ) m |
| 58 | exact (congrArg (degreeZeroLinearEquiv R J P hP) he).trans |
| 59 | ((congrArg (fun a => degreeZeroLinearEquiv R J P hP (Abelian.Ext.mk₀ a)) h).trans |
| 60 | ((congrArg (homLinearEquiv R J P hP (ModuleCat.of R R)) |
| 61 | (Abelian.Ext.linearEquiv₀.apply_symm_apply _)).trans (homLinearEquiv_map R J P hP _ _))) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Sheafified.PresheafSections |