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.Constant.SheafRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.Coordinates |
| 3 | |
| 4 | /-! # Section Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.SectionRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Constant-module section maps commute with actual presheaf restriction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v u' v' w z |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 17 | (F : C ⥤ D) (R : Type w) [CommRing R] |
| 18 | (J : GrothendieckTopology C) (K : GrothendieckTopology D) |
| 19 | [F.IsContinuous J K] [F.IsCocontinuous J K] |
| 20 | [HasSheafify J (ModuleCat.{w} R)] [HasSheafify K (ModuleCat.{w} R)] |
| 21 | [∀ P : Cᵒᵖ ⥤ ModuleCat.{w} R, F.op.HasPointwiseRightKanExtension P] |
| 22 | (M : ModuleCat.{w} R) (N : Sheaf K (ModuleCat.{w} R)) |
| 23 | (a : (constantSheaf K (ModuleCat.{w} R)).obj M ⟶ N) |
| 24 | |
| 25 | def constantIso : (F.sheafPushforwardContinuous (ModuleCat.{w} R) J K).obj |
| 26 | ((constantSheaf K (ModuleCat.{w} R)).obj M) ≅ (constantSheaf J (ModuleCat.{w} R)).obj M := |
| 27 | (Constant.SheafRestriction.compatibility F J K (ModuleCat.{w} R) M).symm |
| 28 | |
| 29 | def pulled : (constantSheaf J (ModuleCat.{w} R)).obj M ⟶ |
| 30 | (F.sheafPushforwardContinuous (ModuleCat.{w} R) J K).obj N := |
| 31 | (constantIso F R J K M).inv ≫ (F.sheafPushforwardContinuous (ModuleCat.{w} R) J K).map a |
| 32 | |
| 33 | theorem adjunction : (sheafificationAdjunction J (ModuleCat.{w} R)).homEquiv _ _ (pulled F R J K M N a) = |
| 34 | Functor.whiskerLeft F.op ((sheafificationAdjunction K (ModuleCat.{w} R)).homEquiv _ _ a) := by |
| 35 | have h := Constant.SheafRestriction.targetEquiv_map F J K (ModuleCat.{w} R) M N a |
| 36 | change (sheafificationAdjunction J (ModuleCat.{w} R)).homEquiv _ _ |
| 37 | ((constantIso F R J K M).inv ≫ (F.sheafPushforwardContinuous (ModuleCat.{w} R) J K).map a ≫ 𝟙 _) = _ at h |
| 38 | rw [Category.comp_id] at h |
| 39 | exact h |
| 40 | |
| 41 | variable [HasExt.{max u w z} (Sheaf J (ModuleCat.{w} R))] |
| 42 | [HasExt.{max u' w z} (Sheaf K (ModuleCat.{w} R))] |
| 43 | |
| 44 | theorem coordinates (m : M) (U : Cᵒᵖ) (r : R) : |
| 45 | (Ext.ZeroPresheafSections.equivalence R J _ |
| 46 | (Module.ConstantSections.sectionMap R J M _ (pulled F R J K M N a) m)).down.app U r = |
| 47 | (Ext.ZeroPresheafSections.equivalence R K N |
| 48 | (Module.ConstantSections.sectionMap R K M N a m)).down.app (F.op.obj U) r := by |
| 49 | rw [Coordinates.section_apply, Coordinates.section_apply] |
| 50 | exact congrArg (fun b => b.app U (r • m)) (adjunction F R J K M N a) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.SectionRestriction |