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.PeriodInvariants.ConstantSheafCoherence |
| 2 | |
| 3 | /-! # Constant Restriction Coherence -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.ConstantRestrictionCoherence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Coherence of constant sheaves under exact restriction |
| 11 | |
| 12 | The canonical sheafification comparison preserves constant generators. |
| 13 | This proves its identity, composition, and natural-isomorphism laws, |
| 14 | for arbitrary continuous and cocontinuous functors of sites. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Functor Opposite |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.ConstantSheafCoherence |
| 20 | |
| 21 | variable {C D E A : Type*} [Category C] [Category D] [Category E] [Category A] |
| 22 | variable (J : GrothendieckTopology C) (K : GrothendieckTopology D) (L : GrothendieckTopology E) |
| 23 | variable [HasWeakSheafify J A] [HasWeakSheafify K A] [HasWeakSheafify L A] |
| 24 | variable (F : C ⥤ D) [F.IsContinuous J K] [F.IsCocontinuous J K] |
| 25 | [∀ P : Cᵒᵖ ⥤ A, F.op.HasPointwiseRightKanExtension P] |
| 26 | |
| 27 | def transport (a : A) : |
| 28 | (F.sheafPushforwardContinuous A J K).obj ((constantSheaf K A).obj a) ≅ |
| 29 | (constantSheaf J A).obj a := |
| 30 | (F.pushforwardContinuousSheafificationCompatibility A J K).symm.app |
| 31 | ((Functor.const _).obj a) |
| 32 | |
| 33 | theorem transport_generator (a : A) : |
| 34 | ConstantSheafCoherence.constantGenerator J a ≫ (transport J K F a).inv.hom = |
| 35 | whiskerLeft F.op (ConstantSheafCoherence.constantGenerator K a) := |
| 36 | F.toSheafify_pullbackSheafificationCompatibility A J K ((Functor.const _).obj a) |
| 37 | |
| 38 | theorem transport_hom_generator (a : A) : |
| 39 | whiskerLeft F.op (ConstantSheafCoherence.constantGenerator K a) ≫ (transport J K F a).hom.hom = |
| 40 | ConstantSheafCoherence.constantGenerator J a := by |
| 41 | let c := (sheafToPresheaf J A).mapIso (transport J K F a) |
| 42 | have hc : c.inv ≫ c.hom = 𝟙 _ := c.inv_hom_id |
| 43 | exact (congrArg (fun z => z ≫ c.hom) (transport_generator J K F a)).symm.trans |
| 44 | ((Category.assoc _ _ _).trans |
| 45 | ((congrArg (fun z => ConstantSheafCoherence.constantGenerator J a ≫ z) hc).trans (Category.comp_id _))) |
| 46 | |
| 47 | section Identity |
| 48 | |
| 49 | variable [∀ P : Cᵒᵖ ⥤ A, (𝟭 C).op.HasPointwiseRightKanExtension P] |
| 50 | |
| 51 | omit K L [HasWeakSheafify K A] [HasWeakSheafify L A] F |
| 52 | [F.IsContinuous J K] [F.IsCocontinuous J K] |
| 53 | [∀ P : Cᵒᵖ ⥤ A, F.op.HasPointwiseRightKanExtension P] in |
| 54 | theorem transport_id (a : A) : transport J J (𝟭 C) a = Iso.refl _ := by |
| 55 | apply Iso.ext_inv |
| 56 | apply ConstantSheafCoherence.constant_hom_ext J |
| 57 | exact (transport_generator J J (𝟭 C) a).trans (Category.comp_id _).symm |
| 58 | |
| 59 | end Identity |
| 60 | |
| 61 | variable (G : D ⥤ E) [G.IsContinuous K L] [G.IsCocontinuous K L] |
| 62 | [∀ P : Dᵒᵖ ⥤ A, G.op.HasPointwiseRightKanExtension P] |
| 63 | [∀ P : Cᵒᵖ ⥤ A, (F ⋙ G).op.HasPointwiseRightKanExtension P] |
| 64 | |
| 65 | theorem transport_comp (a : A) : |
| 66 | letI := isContinuous_comp F G J K L |
| 67 | letI := isCocontinuous_comp F G J K (L := L) |
| 68 | (F.sheafPushforwardContinuous A J K).mapIso (transport K L G a) ≪≫ transport J K F a = |
| 69 | transport J L (F ⋙ G) a := by |
| 70 | let := isContinuous_comp F G J K L |
| 71 | let := isCocontinuous_comp F G J K (L := L) |
| 72 | apply Iso.ext_inv |
| 73 | apply ConstantSheafCoherence.constant_hom_ext J |
| 74 | change ConstantSheafCoherence.constantGenerator J a ≫ |
| 75 | ((transport J K F a).inv.hom ≫ whiskerLeft F.op (transport K L G a).inv.hom) = |
| 76 | ConstantSheafCoherence.constantGenerator J a ≫ (transport J L (F ⋙ G) a).inv.hom |
| 77 | exact (Category.assoc _ _ _).symm.trans |
| 78 | ((congrArg (fun z => z ≫ whiskerLeft F.op (transport K L G a).inv.hom) |
| 79 | (transport_generator J K F a)).trans |
| 80 | ((whiskerLeft_comp F.op (ConstantSheafCoherence.constantGenerator K a) (transport K L G a).inv.hom).symm.trans |
| 81 | ((congrArg (whiskerLeft F.op) (transport_generator K L G a)).trans |
| 82 | (transport_generator J L (F ⋙ G) a).symm))) |
| 83 | |
| 84 | variable {F' : C ⥤ D} [F'.IsContinuous J K] [F'.IsCocontinuous J K] |
| 85 | [∀ P : Cᵒᵖ ⥤ A, F'.op.HasPointwiseRightKanExtension P] |
| 86 | |
| 87 | omit L [HasWeakSheafify L A] G [G.IsContinuous K L] [G.IsCocontinuous K L] |
| 88 | [∀ P : Dᵒᵖ ⥤ A, G.op.HasPointwiseRightKanExtension P] |
| 89 | [∀ P : Cᵒᵖ ⥤ A, (F ⋙ G).op.HasPointwiseRightKanExtension P] in |
| 90 | theorem transport_natIso (e : F ≅ F') (a : A) : |
| 91 | transport J K F a = |
| 92 | (Functor.sheafPushforwardContinuousIso e A J K).app ((constantSheaf K A).obj a) ≪≫ |
| 93 | transport J K F' a := by |
| 94 | apply Iso.ext_inv |
| 95 | apply ConstantSheafCoherence.constant_hom_ext J |
| 96 | change ConstantSheafCoherence.constantGenerator J a ≫ (transport J K F a).inv.hom = |
| 97 | ConstantSheafCoherence.constantGenerator J a ≫ ((transport J K F' a).inv.hom ≫ |
| 98 | ((Functor.sheafPushforwardContinuousIso e A J K).inv.app ((constantSheaf K A).obj a)).hom) |
| 99 | rw [← Category.assoc, transport_generator, transport_generator] |
| 100 | apply NatTrans.ext |
| 101 | funext U |
| 102 | exact (ConstantSheafCoherence.constantGenerator_naturality K a (e.hom.app U.unop).op).symm |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.ConstantRestrictionCoherence |