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.ProEtaleCoherence |
| 2 | |
| 3 | /-! # Constant Sheaf Coherence -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.ConstantSheafCoherence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # The canonical generators of transported constant sheaves |
| 11 | |
| 12 | A constant sheaf is the sheafification of the constant presheaf. The canonical |
| 13 | transport isomorphism preserves its generating maps. This characterizes the |
| 14 | isomorphism independently of choices of terminal objects. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | section Generators |
| 22 | |
| 23 | variable {C A : Type*} [Category C] [Category A] |
| 24 | variable (J : GrothendieckTopology C) [HasWeakSheafify J A] |
| 25 | |
| 26 | def constantGenerator (a : A) : (Functor.const Cᵒᵖ).obj a ⟶ ((constantSheaf J A).obj a).obj := |
| 27 | toSheafify J ((Functor.const Cᵒᵖ).obj a) |
| 28 | |
| 29 | theorem constantGenerator_naturality (a : A) {U V : Cᵒᵖ} (f : U ⟶ V) : |
| 30 | (constantGenerator J a).app U ≫ ((constantSheaf J A).obj a).obj.map f = |
| 31 | (constantGenerator J a).app V := by |
| 32 | have h := (constantGenerator J a).naturality f |
| 33 | exact h.symm.trans (Category.id_comp _) |
| 34 | |
| 35 | theorem constantAdj_unit_app {T : C} (hT : IsTerminal T) (a : A) : |
| 36 | (constantSheafAdj J A hT).unit.app a = (constantGenerator J a).app (op T) := by |
| 37 | rw [constantSheafAdj, Adjunction.comp_unit_app] |
| 38 | change (𝟙 a) ≫ (constantGenerator J a).app (op T) = _ |
| 39 | exact Category.id_comp _ |
| 40 | |
| 41 | theorem fromConstant_ext {T : C} (hT : IsTerminal T) {a : A} {F : Cᵒᵖ ⥤ A} |
| 42 | (α β : (Functor.const Cᵒᵖ).obj a ⟶ F) (h : α.app (op T) = β.app (op T)) : α = β := by |
| 43 | apply NatTrans.ext |
| 44 | funext U |
| 45 | have ha := α.naturality (hT.from U.unop).op |
| 46 | have hb := β.naturality (hT.from U.unop).op |
| 47 | exact (Category.id_comp _).symm.trans (ha.trans |
| 48 | ((congrArg (fun f => f ≫ F.map (hT.from U.unop).op) h).trans |
| 49 | (hb.symm.trans (Category.id_comp _)))) |
| 50 | |
| 51 | theorem constant_hom_ext {a : A} {F : Sheaf J A} |
| 52 | (α β : (constantSheaf J A).obj a ⟶ F) |
| 53 | (h : constantGenerator J a ≫ α.hom = constantGenerator J a ≫ β.hom) : α = β := by |
| 54 | apply Sheaf.hom_ext |
| 55 | exact sheafify_hom_ext J α.hom β.hom F.property h |
| 56 | |
| 57 | end Generators |
| 58 | |
| 59 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProEtale |
| 60 | |
| 61 | variable (A : Type*) [Category A] |
| 62 | variable {X Y : Scheme.{u}} (e : X ≅ Y) |
| 63 | variable [HasWeakSheafify (Scheme.ProEt.topology X) A] |
| 64 | [HasWeakSheafify (Scheme.ProEt.topology Y) A] |
| 65 | |
| 66 | def transportedConstantGenerator (a : A) : |
| 67 | (Functor.const Y.ProEtᵒᵖ).obj a ⟶ |
| 68 | ((IntegralComparison.ProEtale.proEtaleSheafCongr A e).functor.obj ((constantSheaf (Scheme.ProEt.topology X) A).obj a)).obj := |
| 69 | whiskerLeft (IntegralComparison.ProEtale.proEtaleCongr e).inverse.op (constantGenerator (Scheme.ProEt.topology X) a) |
| 70 | |
| 71 | /-- The actual constant-sheaf transport isomorphism preserves the canonical generating maps. -/ |
| 72 | theorem constantTransport_generators (a : A) : |
| 73 | transportedConstantGenerator A e a ≫ ((IntegralComparison.ProEtale.proEtaleSheafCongr_constant A e).hom.app a).hom = |
| 74 | constantGenerator (Scheme.ProEt.topology Y) a := by |
| 75 | let E := IntegralComparison.ProEtale.proEtaleSheafCongr A e |
| 76 | let T := (IntegralComparison.ProEtale.proEtaleCongr e).functor.obj (⊤_ X.ProEt) |
| 77 | have hT : IsTerminal T := terminalIsTerminal.isTerminalObj (IntegralComparison.ProEtale.proEtaleCongr e).functor (⊤_ X.ProEt) |
| 78 | apply fromConstant_ext hT |
| 79 | have h := Adjunction.unit_leftAdjointUniq_hom_app |
| 80 | ((constantSheafAdj (Scheme.ProEt.topology X) A |
| 81 | (terminalIsTerminal : IsTerminal (⊤_ X.ProEt))).comp E.toAdjunction) |
| 82 | (constantSheafAdj (Scheme.ProEt.topology Y) A hT) a |
| 83 | rw [Adjunction.comp_unit_app, constantAdj_unit_app, constantAdj_unit_app] at h |
| 84 | have hu : (constantGenerator (Scheme.ProEt.topology X) a).app (op (⊤_ X.ProEt)) ≫ |
| 85 | ((E.unitIso.hom.app ((constantSheaf (Scheme.ProEt.topology X) A).obj a)).hom.app |
| 86 | (op (⊤_ X.ProEt))) = (transportedConstantGenerator A e a).app (op T) := by |
| 87 | exact constantGenerator_naturality (Scheme.ProEt.topology X) a |
| 88 | ((IntegralComparison.ProEtale.proEtaleCongr e).op.unitIso.hom.app (op (⊤_ X.ProEt))) |
| 89 | change ((constantGenerator (Scheme.ProEt.topology X) a).app (op (⊤_ X.ProEt)) ≫ |
| 90 | ((E.unitIso.hom.app ((constantSheaf (Scheme.ProEt.topology X) A).obj a)).hom.app |
| 91 | (op (⊤_ X.ProEt)))) ≫ |
| 92 | (((IntegralComparison.ProEtale.proEtaleSheafCongr_constant A e).hom.app a).hom.app (op T)) = |
| 93 | (constantGenerator (Scheme.ProEt.topology Y) a).app (op T) at h |
| 94 | rw [hu] at h |
| 95 | exact h |
| 96 | |
| 97 | theorem transportedConstant_hom_ext {a : A} {F : Sheaf (Scheme.ProEt.topology Y) A} |
| 98 | (α β : (IntegralComparison.ProEtale.proEtaleSheafCongr A e).functor.obj |
| 99 | ((constantSheaf (Scheme.ProEt.topology X) A).obj a) ⟶ F) |
| 100 | (h : transportedConstantGenerator A e a ≫ α.hom = |
| 101 | transportedConstantGenerator A e a ≫ β.hom) : α = β := by |
| 102 | let c := (sheafToPresheaf (Scheme.ProEt.topology Y) A).mapIso |
| 103 | ((IntegralComparison.ProEtale.proEtaleSheafCongr_constant A e).app a) |
| 104 | have hc : transportedConstantGenerator A e a ≫ c.hom = |
| 105 | constantGenerator (Scheme.ProEt.topology Y) a := constantTransport_generators A e a |
| 106 | have hg : constantGenerator (Scheme.ProEt.topology Y) a ≫ c.inv = |
| 107 | transportedConstantGenerator A e a := by |
| 108 | exact (congrArg (fun z => z ≫ c.inv) hc).symm.trans |
| 109 | ((Category.assoc _ _ _).trans |
| 110 | ((congrArg (fun z => transportedConstantGenerator A e a ≫ z) c.hom_inv_id).trans |
| 111 | (Category.comp_id _))) |
| 112 | apply Sheaf.hom_ext |
| 113 | apply (cancel_epi c.inv).mp |
| 114 | apply sheafify_hom_ext (Scheme.ProEt.topology Y) _ _ F.property |
| 115 | exact (Category.assoc (constantGenerator (Scheme.ProEt.topology Y) a) c.inv α.hom).symm.trans |
| 116 | ((congrArg (fun z => z ≫ α.hom) hg).trans |
| 117 | (h.trans ((congrArg (fun z => z ≫ β.hom) hg).symm.trans |
| 118 | (Category.assoc _ _ _)))) |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.ConstantSheafCoherence |