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.Cohomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FlatModuleKanExtension |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Constant.SheafRestriction |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.Criterion |
| 5 | |
| 6 | /-! # Big Pro Etale Site -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.BigProEtaleSite |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Exact restriction on big and small pro-etale sites |
| 14 | |
| 15 | The big site consists of all schemes over X. Its functors for arbitrary |
| 16 | base morphisms permit cohomological pullback. Restriction to the actual |
| 17 | small pro-etale site is exact and preserves injectives; at constant |
| 18 | coefficients the Ext comparison is therefore bijective in every degree. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cohomology |
| 26 | |
| 27 | variable (p : ℕ) [Fact p.Prime] (X : Scheme.{u}) |
| 28 | |
| 29 | abbrev BigSheaf := Sheaf (Scheme.proetaleTopology.over X) (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) |
| 30 | abbrev SmallSheaf := Sheaf (Scheme.ProEt.topology X) (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) |
| 31 | |
| 32 | instance bigHasExt : HasExt.{u + 2} (BigSheaf p X) := HasExt.standard _ |
| 33 | |
| 34 | instance bigGrothendieck : IsGrothendieckAbelian.{u + 1} (BigSheaf p X) := by |
| 35 | let : SmallCategory (SmallModel.{u + 1} (Over X)) := smallCategorySmallModel.{u + 1, u, u + 1} (Over X) |
| 36 | let e := equivSmallModel.{u + 1} (Over X) |
| 37 | let T := e.inverse.inducedTopology (Scheme.proetaleTopology.over X) |
| 38 | have : HasSheafify T (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) := |
| 39 | HasSheafify.mk' T (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) |
| 40 | (plusPlusAdjunction.{u + 1, u + 1, u + 2, u + 1, u + 1, u + 1} |
| 41 | T (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p))) |
| 42 | exact Sheaf.isGrothendieckAbelian_of_essentiallySmall.{u + 1, u + 1, u, u + 2, u + 1} |
| 43 | (Scheme.proetaleTopology.over X) (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) |
| 44 | |
| 45 | instance bigEnoughInjectives : EnoughInjectives (BigSheaf p X) := by infer_instance |
| 46 | |
| 47 | omit p [Fact p.Prime] in |
| 48 | instance inclusion_cocontinuous : (Scheme.ProEt.forget X).IsCocontinuous |
| 49 | (Scheme.ProEt.topology X) (Scheme.proetaleTopology.over X) := by |
| 50 | let F := Scheme.ProEt.forget X |
| 51 | let T := Scheme.proetaleTopology.over X |
| 52 | have : F.IsContinuous (F.restrictedTopology T) T := |
| 53 | Functor.isContinuous_iff_coverPreserving.mpr (F.coverPreserving_restrictedTopology T) |
| 54 | rw [Scheme.ProEt.topology_eq_inducedTopology, ← Functor.restrictedTopology_eq_inducedTopology] |
| 55 | infer_instance |
| 56 | |
| 57 | abbrev restriction : BigSheaf p X ⥤ SmallSheaf p X := |
| 58 | (Scheme.ProEt.forget X).sheafPushforwardContinuous (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) |
| 59 | (Scheme.ProEt.topology X) (Scheme.proetaleTopology.over X) |
| 60 | |
| 61 | instance restriction_additive : (restriction p X).Additive where |
| 62 | map_add := by intros; rfl |
| 63 | |
| 64 | instance restriction_linear : (restriction p X).Linear (IntegralComparison.Cohomology.Coeff.{u} p) where |
| 65 | map_smul := by intros; rfl |
| 66 | |
| 67 | instance restriction_leftAdjoint : (restriction p X).IsLeftAdjoint := |
| 68 | ((Scheme.ProEt.forget X).sheafAdjunctionCocontinuous (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) |
| 69 | (Scheme.ProEt.topology X) (Scheme.proetaleTopology.over X)).isLeftAdjoint |
| 70 | |
| 71 | instance restriction_preservesFiniteLimits : PreservesFiniteLimits (restriction p X) := by infer_instance |
| 72 | |
| 73 | instance restriction_preservesFiniteColimits : PreservesFiniteColimits (restriction p X) := by infer_instance |
| 74 | |
| 75 | abbrev extension : SmallSheaf p X ⥤ BigSheaf p X := |
| 76 | (Scheme.ProEt.forget X).sheafPullback (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) |
| 77 | (Scheme.ProEt.topology X) (Scheme.proetaleTopology.over X) |
| 78 | |
| 79 | instance extension_preservesFiniteLimits : PreservesFiniteLimits (extension p X) := by |
| 80 | let : PreservesFiniteLimits ((Scheme.ProEt.forget X).op.lan : |
| 81 | (X.ProEtᵒᵖ ⥤ ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) ⥤ |
| 82 | (Over X)ᵒᵖ ⥤ ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) := |
| 83 | IntegralComparison.FlatModuleKanExtension.preservesFiniteLimits (IntegralComparison.Cohomology.Coeff.{u} p) (Scheme.ProEt.forget X) |
| 84 | exact Functor.sheafPullbackConstruction.preservesFiniteLimits _ _ _ _ |
| 85 | |
| 86 | instance restriction_preservesInjectives : (restriction p X).PreservesInjectiveObjects := |
| 87 | Functor.preservesInjectiveObjects_of_adjunction_of_preservesMonomorphisms |
| 88 | ((Scheme.ProEt.forget X).sheafAdjunctionContinuous (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) |
| 89 | (Scheme.ProEt.topology X) (Scheme.proetaleTopology.over X)) |
| 90 | |
| 91 | def constantUnit : BigSheaf p X := |
| 92 | (constantSheaf (Scheme.proetaleTopology.over X) (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p))).obj |
| 93 | (ModuleCat.of (IntegralComparison.Cohomology.Coeff.{u} p) (IntegralComparison.Cohomology.Coeff.{u} p)) |
| 94 | |
| 95 | theorem mapExt_bijective (Y : BigSheaf p X) (n : ℕ) : |
| 96 | Function.Bijective ((restriction p X).mapExtAddHom (constantUnit p X) Y n) := by |
| 97 | apply IntegralComparison.Ext.Criterion.Comparison.bijective_of_hom_bijective |
| 98 | intro Z |
| 99 | exact IntegralComparison.Constant.SheafRestriction.map_bijective (Scheme.ProEt.forget X) |
| 100 | (Scheme.ProEt.topology X) (Scheme.proetaleTopology.over X) |
| 101 | (ModuleCat.{u + 1} (IntegralComparison.Cohomology.Coeff.{u} p)) (ModuleCat.of (IntegralComparison.Cohomology.Coeff.{u} p) (IntegralComparison.Cohomology.Coeff.{u} p)) Z |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.BigProEtaleSite |