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 |
| 2 | |
| 3 | /-! # Pro Etale -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProEtale |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: transport of the pro-étale site by scheme isomorphisms |
| 11 | |
| 12 | An isomorphism of base schemes acts on the actual pro-étale site by |
| 13 | postcomposing the structure morphism of each object. The underlying |
| 14 | schemes and covering morphisms are preserved. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X Y : Scheme.{u}} |
| 22 | |
| 23 | instance proEtalePrecoverage_baseChange (X : Scheme.{u}) : |
| 24 | (Scheme.ProEt.precoverage X).IsStableUnderBaseChange := |
| 25 | inferInstanceAs |
| 26 | (Precoverage.IsStableUnderBaseChange (Scheme.proetalePrecoverage.comap |
| 27 | (Scheme.ProEt.forget X ⋙ Over.forget X))) |
| 28 | |
| 29 | /-- Transport the small pro-étale site along an isomorphism of schemes. -/ |
| 30 | def proEtaleCongr (e : X ≅ Y) : X.ProEt ≌ Y.ProEt := |
| 31 | MorphismProperty.Comma.mapRightIso |
| 32 | (P := @WeaklyEtale) (Q := ⊤) (W := ⊤) (𝟭 Scheme) |
| 33 | (Discrete.natIso (fun _ => e)) |
| 34 | |
| 35 | @[simp] |
| 36 | lemma proEtaleCongr_obj_left (e : X ≅ Y) (U : X.ProEt) : |
| 37 | ((proEtaleCongr e).functor.obj U).left = U.left := rfl |
| 38 | |
| 39 | @[simp] |
| 40 | lemma proEtaleCongr_obj_hom (e : X ≅ Y) (U : X.ProEt) : |
| 41 | ((proEtaleCongr e).functor.obj U).hom = U.hom ≫ e.hom := rfl |
| 42 | |
| 43 | lemma proEtaleCongr_forget (e : X ≅ Y) : |
| 44 | (proEtaleCongr e).functor ⋙ Scheme.ProEt.forget Y ⋙ Over.forget Y = |
| 45 | Scheme.ProEt.forget X ⋙ Over.forget X := rfl |
| 46 | |
| 47 | lemma proEtaleCongr_comap_precoverage (e : X ≅ Y) : |
| 48 | (Scheme.ProEt.precoverage Y).comap (proEtaleCongr e).functor = |
| 49 | Scheme.ProEt.precoverage X := by |
| 50 | change (Scheme.proetalePrecoverage.comap |
| 51 | (Scheme.ProEt.forget Y ⋙ Over.forget Y)).comap (proEtaleCongr e).functor = _ |
| 52 | rw [← Precoverage.comap_comp, proEtaleCongr_forget] |
| 53 | rfl |
| 54 | |
| 55 | instance proEtaleCongr_continuous (e : X ≅ Y) : |
| 56 | (proEtaleCongr e).functor.IsContinuous |
| 57 | (Scheme.ProEt.topology X) (Scheme.ProEt.topology Y) := by |
| 58 | apply Functor.isContinuous_toGrothendieck_of_pullbacksPreservedBy |
| 59 | (proEtaleCongr e).functor (Scheme.ProEt.precoverage X) (Scheme.ProEt.precoverage Y) |
| 60 | exact (proEtaleCongr_comap_precoverage e).ge |
| 61 | |
| 62 | instance proEtaleCongr_inverse_continuous (e : X ≅ Y) : |
| 63 | (proEtaleCongr e).inverse.IsContinuous |
| 64 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X) := |
| 65 | inferInstanceAs ((proEtaleCongr e.symm).functor.IsContinuous |
| 66 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)) |
| 67 | |
| 68 | variable (A : Type*) [Category A] |
| 69 | |
| 70 | /-- A scheme isomorphism induces an equivalence of its pro-étale sheaf |
| 71 | categories, by restriction along the equivalence of sites. -/ |
| 72 | def proEtaleSheafCongr (e : X ≅ Y) : |
| 73 | Sheaf (Scheme.ProEt.topology X) A ≌ Sheaf (Scheme.ProEt.topology Y) A where |
| 74 | functor := (proEtaleCongr e).inverse.sheafPushforwardContinuous A |
| 75 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X) |
| 76 | inverse := (proEtaleCongr e).functor.sheafPushforwardContinuous A |
| 77 | (Scheme.ProEt.topology X) (Scheme.ProEt.topology Y) |
| 78 | unitIso := NatIso.ofComponents (fun F => |
| 79 | ObjectProperty.isoMk _ (isoWhiskerRight (proEtaleCongr e).op.unitIso F.obj)) |
| 80 | (fun {F G} α => by |
| 81 | ext U |
| 82 | exact (α.hom.naturality ((proEtaleCongr e).op.unitIso.hom.app U)).symm) |
| 83 | counitIso := NatIso.ofComponents (fun F => |
| 84 | ObjectProperty.isoMk _ (isoWhiskerRight (proEtaleCongr e).op.counitIso F.obj)) |
| 85 | (fun {F G} α => by |
| 86 | ext U |
| 87 | exact (α.hom.naturality ((proEtaleCongr e).op.counitIso.hom.app U)).symm) |
| 88 | functor_unitIso_comp F := by |
| 89 | ext U |
| 90 | change F.obj.map ((proEtaleCongr e).op.unitIso.hom.app |
| 91 | ((proEtaleCongr e).op.inverse.obj U)) ≫ |
| 92 | F.obj.map ((proEtaleCongr e).op.inverse.map |
| 93 | ((proEtaleCongr e).op.counitIso.hom.app U)) = 𝟙 _ |
| 94 | rw [← CategoryTheory.Functor.map_comp, Equivalence.unit_inverse_comp] |
| 95 | exact F.obj.map_id _ |
| 96 | |
| 97 | instance proEtaleSheafCongr_additive [Preadditive A] (e : X ≅ Y) : |
| 98 | (proEtaleSheafCongr A e).functor.Additive where |
| 99 | map_add := by intros; rfl |
| 100 | |
| 101 | instance proEtaleSheafCongr_linear (R : Type*) [Ring R] [Preadditive A] [Linear R A] |
| 102 | (e : X ≅ Y) : (proEtaleSheafCongr A e).functor.Linear R where |
| 103 | map_smul := by intros; rfl |
| 104 | |
| 105 | /-- Constant sheaves commute with transport of the base scheme. This |
| 106 | isomorphism follows from their global-sections adjunction. -/ |
| 107 | def proEtaleSheafCongr_constant (e : X ≅ Y) |
| 108 | [HasWeakSheafify (Scheme.ProEt.topology X) A] |
| 109 | [HasWeakSheafify (Scheme.ProEt.topology Y) A] : |
| 110 | constantSheaf (Scheme.ProEt.topology X) A ⋙ (proEtaleSheafCongr A e).functor ≅ |
| 111 | constantSheaf (Scheme.ProEt.topology Y) A := |
| 112 | ((constantSheafAdj (Scheme.ProEt.topology X) A |
| 113 | (terminalIsTerminal : IsTerminal (⊤_ X.ProEt))).comp |
| 114 | (proEtaleSheafCongr A e).toAdjunction).leftAdjointUniq |
| 115 | (constantSheafAdj (Scheme.ProEt.topology Y) A |
| 116 | (terminalIsTerminal.isTerminalObj (proEtaleCongr e).functor (⊤_ X.ProEt))) |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProEtale |