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 Mathlib.CategoryTheory.Sites.CoverLifting |
| 2 | |
| 3 | /-! # Sheafification Transport Unit -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SheafificationTransportUnit |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: transport of sheafification retains the original presheaf sections |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v u' v' w z |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 18 | (G : C ⥤ D) (A : Type w) [Category.{z} A] |
| 19 | (J : GrothendieckTopology C) (K : GrothendieckTopology D) |
| 20 | [G.IsContinuous J K] [G.IsCocontinuous J K] |
| 21 | [∀ P : Cᵒᵖ ⥤ A, G.op.HasPointwiseRightKanExtension P] |
| 22 | [HasWeakSheafify J A] [HasWeakSheafify K A] |
| 23 | (P : Dᵒᵖ ⥤ A) |
| 24 | |
| 25 | def comparison : sheafify J (G.op ⋙ P) ≅ G.op ⋙ sheafify K P := |
| 26 | (sheafToPresheaf J A).mapIso ((G.pushforwardContinuousSheafificationCompatibility A J K).app P) |
| 27 | |
| 28 | theorem comparison_unit : toSheafify J (G.op ⋙ P) ≫ (comparison G A J K P).hom = |
| 29 | Functor.whiskerLeft G.op (toSheafify K P) := |
| 30 | G.toSheafify_pullbackSheafificationCompatibility A J K P |
| 31 | |
| 32 | theorem inverse_unit : Functor.whiskerLeft G.op (toSheafify K P) ≫ (comparison G A J K P).inv = |
| 33 | toSheafify J (G.op ⋙ P) := by |
| 34 | apply (cancel_mono (comparison G A J K P).hom).mp |
| 35 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 36 | exact (comparison_unit G A J K P).symm |
| 37 | |
| 38 | variable (Q : Cᵒᵖ ⥤ A) (e : G.op ⋙ P ≅ Q) |
| 39 | |
| 40 | def transport : (G.sheafPushforwardContinuous A J K).obj ((presheafToSheaf K A).obj P) ≅ |
| 41 | (presheafToSheaf J A).obj Q := |
| 42 | (G.pushforwardContinuousSheafificationCompatibility A J K).symm.app P ≪≫ |
| 43 | (presheafToSheaf J A).mapIso e |
| 44 | |
| 45 | theorem unit : Functor.whiskerLeft G.op (toSheafify K P) ≫ (transport G A J K P Q e).hom.hom = |
| 46 | e.hom ≫ toSheafify J Q := by |
| 47 | change Functor.whiskerLeft G.op (toSheafify K P) ≫ |
| 48 | ((comparison G A J K P).inv ≫ sheafifyMap J e.hom) = e.hom ≫ toSheafify J Q |
| 49 | exact (Category.assoc _ _ _).symm.trans |
| 50 | ((congrArg (fun t => t ≫ sheafifyMap J e.hom) (inverse_unit G A J K P)).trans |
| 51 | (CategoryTheory.toSheafify_naturality J e.hom).symm) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SheafificationTransportUnit |