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.InitialConstantMaps |
| 2 | |
| 3 | /-! # Sheaf Restriction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Constant.SheafRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: constant-source Hom comparison on sheaves |
| 11 | |
| 12 | For a continuous and cocontinuous functor whose opposite is initial, |
| 13 | restriction is bijective on morphisms from a constant sheaf. Compatibility |
| 14 | with sheafification identifies this bijection with the actual restriction |
| 15 | map, rather than with an unrelated abstract equivalence. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 19 | |
| 20 | universe u v u' v' u'' v'' |
| 21 | |
| 22 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 23 | variable (F : C ⥤ D) (J : GrothendieckTopology C) (K : GrothendieckTopology D) |
| 24 | variable (E : Type u'') [Category.{v''} E] |
| 25 | variable [F.IsContinuous J K] [F.IsCocontinuous J K] [F.op.Initial] |
| 26 | variable [HasWeakSheafify J E] [HasWeakSheafify K E] |
| 27 | variable [∀ P : Cᵒᵖ ⥤ E, F.op.HasPointwiseRightKanExtension P] |
| 28 | variable (M : E) |
| 29 | |
| 30 | abbrev restriction := F.sheafPushforwardContinuous E J K |
| 31 | |
| 32 | abbrev constant := (constantSheaf K E).obj M |
| 33 | |
| 34 | def compatibility : (presheafToSheaf J E).obj (F.op ⋙ (Functor.const Dᵒᵖ).obj M) ≅ (restriction F J K E).obj (constant K E M) := |
| 35 | (F.pushforwardContinuousSheafificationCompatibility E J K).app ((Functor.const Dᵒᵖ).obj M) |
| 36 | |
| 37 | def targetEquiv (Y : Sheaf K E) : |
| 38 | ((restriction F J K E).obj (constant K E M) ⟶ (restriction F J K E).obj Y) ≃ |
| 39 | ((Functor.const Cᵒᵖ).obj M ⟶ F.op ⋙ Y.obj) := |
| 40 | (Iso.homCongr (compatibility F J K E M).symm (Iso.refl _)).trans |
| 41 | ((sheafificationAdjunction J E).homEquiv _ _) |
| 42 | |
| 43 | omit [F.op.Initial] in |
| 44 | lemma targetEquiv_apply (Y : Sheaf K E) |
| 45 | (g : (restriction F J K E).obj (constant K E M) ⟶ (restriction F J K E).obj Y) : |
| 46 | targetEquiv F J K E M Y g = |
| 47 | toSheafify J (F.op ⋙ (Functor.const Dᵒᵖ).obj M) ≫ (compatibility F J K E M).hom.hom ≫ g.hom := by |
| 48 | change (sheafificationAdjunction J E).homEquiv _ _ ((compatibility F J K E M).hom ≫ g ≫ 𝟙 _) = _ |
| 49 | rw [Category.comp_id, Adjunction.homEquiv_unit] |
| 50 | rfl |
| 51 | |
| 52 | omit [F.op.Initial] in |
| 53 | lemma compatibility_unit : toSheafify J (F.op ⋙ (Functor.const Dᵒᵖ).obj M) ≫ |
| 54 | (compatibility F J K E M).hom.hom = |
| 55 | Functor.whiskerLeft F.op (toSheafify K ((Functor.const Dᵒᵖ).obj M)) := |
| 56 | F.toSheafify_pullbackSheafificationCompatibility E J K ((Functor.const Dᵒᵖ).obj M) |
| 57 | |
| 58 | omit [F.op.Initial] in |
| 59 | lemma targetEquiv_map (Y : Sheaf K E) (g : constant K E M ⟶ Y) : |
| 60 | targetEquiv F J K E M Y ((restriction F J K E).map g) = |
| 61 | InitialConstantMaps.restrict F.op M Y.obj |
| 62 | ((sheafificationAdjunction K E).homEquiv _ _ g) := by |
| 63 | rw [targetEquiv_apply] |
| 64 | have hg : (sheafificationAdjunction K E).homEquiv _ _ g = |
| 65 | toSheafify K ((Functor.const Dᵒᵖ).obj M) ≫ g.hom := |
| 66 | Adjunction.homEquiv_unit (sheafificationAdjunction K E) _ _ g |
| 67 | rw [hg] |
| 68 | let e : sheafify J (F.op ⋙ (Functor.const Dᵒᵖ).obj M) ⟶ |
| 69 | F.op ⋙ sheafify K ((Functor.const Dᵒᵖ).obj M) := (compatibility F J K E M).hom.hom |
| 70 | let g' : sheafify K ((Functor.const Dᵒᵖ).obj M) ⟶ Y.obj := g.hom |
| 71 | have hu : toSheafify J (F.op ⋙ (Functor.const Dᵒᵖ).obj M) ≫ e = |
| 72 | Functor.whiskerLeft F.op (toSheafify K ((Functor.const Dᵒᵖ).obj M)) := compatibility_unit F J K E M |
| 73 | change toSheafify J (F.op ⋙ (Functor.const Dᵒᵖ).obj M) ≫ e ≫ Functor.whiskerLeft F.op g' = |
| 74 | Functor.whiskerLeft F.op (toSheafify K ((Functor.const Dᵒᵖ).obj M) ≫ g') |
| 75 | rw [← Category.assoc, hu, Functor.whiskerLeft_comp] |
| 76 | |
| 77 | def homEquivalence (Y : Sheaf K E) : |
| 78 | (constant K E M ⟶ Y) ≃ |
| 79 | ((restriction F J K E).obj (constant K E M) ⟶ (restriction F J K E).obj Y) := |
| 80 | ((sheafificationAdjunction K E).homEquiv _ _).trans |
| 81 | ((InitialConstantMaps.equivalence F.op M Y.obj).trans |
| 82 | (targetEquiv F J K E M Y).symm) |
| 83 | |
| 84 | lemma homEquivalence_apply (Y : Sheaf K E) (g : constant K E M ⟶ Y) : |
| 85 | homEquivalence F J K E M Y g = (restriction F J K E).map g := by |
| 86 | apply (targetEquiv F J K E M Y).injective |
| 87 | exact ((targetEquiv F J K E M Y).apply_symm_apply _).trans (targetEquiv_map F J K E M Y g).symm |
| 88 | |
| 89 | lemma map_bijective (Y : Sheaf K E) : Function.Bijective |
| 90 | ((restriction F J K E).map : (constant K E M ⟶ Y) → |
| 91 | ((restriction F J K E).obj (constant K E M) ⟶ (restriction F J K E).obj Y)) := by |
| 92 | have he : (homEquivalence F J K E M Y : _ → _) = (restriction F J K E).map := |
| 93 | funext (homEquivalence_apply F J K E M Y) |
| 94 | exact he ▸ (homEquivalence F J K E M Y).bijective |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Constant.SheafRestriction |