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.ArithmeticGeometry.OrdinaryLocus.Openness.CohomologyLifting |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SectionsFromCohomology |
| 3 | |
| 4 | /-! # Cohomology Transport -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.CohomologyTransport.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Transporting degree-one vanishing through exact functors preserving global sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | |
| 14 | universe u u' v w w' |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 17 | {D : Type u'} [Category.{v} D] (K : GrothendieckTopology D) |
| 18 | [HasSheafify J AddCommGrpCat.{v}] [HasSheafify K AddCommGrpCat.{v}] |
| 19 | |
| 20 | abbrev abelianSheafSections (T : C) : CategoryTheory.Sheaf J AddCommGrpCat.{v} ⥤ |
| 21 | AddCommGrpCat.{v} := |
| 22 | sheafToPresheaf J AddCommGrpCat ⋙ (evaluation Cᵒᵖ AddCommGrpCat).obj (op T) |
| 23 | |
| 24 | variable (G : CategoryTheory.Sheaf J AddCommGrpCat.{v} ⥤ |
| 25 | CategoryTheory.Sheaf K AddCommGrpCat.{v}) (T : C) (T' : D) |
| 26 | (η : G ⋙ abelianSheafSections K T' ≅ abelianSheafSections J T) |
| 27 | |
| 28 | include η |
| 29 | |
| 30 | omit [HasSheafify J AddCommGrpCat.{v}] [HasSheafify K AddCommGrpCat.{v}] in |
| 31 | theorem sections_surjective_of_transport |
| 32 | {F E : CategoryTheory.Sheaf J AddCommGrpCat.{v}} (φ : F ⟶ E) |
| 33 | (hφ : Function.Surjective ((G.map φ).hom.app (op T'))) : |
| 34 | Function.Surjective (φ.hom.app (op T)) := by |
| 35 | intro s |
| 36 | obtain ⟨t, ht⟩ := hφ ((η.app E).inv s) |
| 37 | refine ⟨(η.app F).hom t, ?_⟩ |
| 38 | have h := congrArg (fun f : (G.obj F).obj.obj (op T') ⟶ E.obj.obj (op T) ↦ f t) |
| 39 | (η.hom.naturality φ) |
| 40 | change (η.app E).hom ((G.map φ).hom.app (op T') t) = |
| 41 | φ.hom.app (op T) ((η.app F).hom t) at h |
| 42 | rw [ht] at h |
| 43 | exact h.symm.trans ((η.app E).addCommGroupIsoToAddEquiv.apply_symm_apply s) |
| 44 | |
| 45 | variable [EnoughInjectives (CategoryTheory.Sheaf J AddCommGrpCat.{v})] |
| 46 | [HasExt.{w} (CategoryTheory.Sheaf J AddCommGrpCat.{v})] |
| 47 | [HasExt.{w'} (CategoryTheory.Sheaf K AddCommGrpCat.{v})] |
| 48 | [G.Additive] [PreservesFiniteLimits G] [PreservesFiniteColimits G] |
| 49 | |
| 50 | theorem H_one_subsingleton_of_exact_section_transport |
| 51 | (hT : IsTerminal T) (hT' : IsTerminal T') |
| 52 | (F : CategoryTheory.Sheaf J AddCommGrpCat.{v}) |
| 53 | [hF : Subsingleton (CategoryTheory.Sheaf.H (G.obj F) 1)] : |
| 54 | Subsingleton (CategoryTheory.Sheaf.H F 1) := by |
| 55 | apply CohomologyLifting.Construction.H_one_subsingleton_of_section_lifting J F T hT |
| 56 | intro S hS hSF |
| 57 | have : Mono S.f := hS.mono_f |
| 58 | have : Epi S.g := hS.epi_g |
| 59 | have : Subsingleton (CategoryTheory.Sheaf.H (S.map G).X₁ 1) := by |
| 60 | change Subsingleton (CategoryTheory.Sheaf.H (G.obj S.X₁) 1) |
| 61 | rw [hSF] |
| 62 | exact hF |
| 63 | apply sections_surjective_of_transport J K G T T' η S.g |
| 64 | exact SectionsFromCohomology.Construction.sections_surjective_of_H_one_zero K hT' (S.map G) (hS.map G) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.CohomologyTransport.Construction |