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.Crystalline.Cocontinuous |
| 2 | |
| 3 | /-! # Exact Restriction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: exact restriction on big crystalline module sheaves |
| 11 | |
| 12 | The proved continuity and cocontinuity give both adjoints to restriction. |
| 13 | Consequently restriction preserves finite limits and colimits and induces |
| 14 | linear maps on actual Ext groups of crystalline sheaves. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 22 | |
| 23 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 24 | variable {X Y : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 25 | variable {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 26 | |
| 27 | abbrev Coeff := ULift.{u + 1} B |
| 28 | |
| 29 | abbrev ModuleSheaf (f : X ⟶ Spec (CommRingCat.of B)) := |
| 30 | Sheaf (BigCrystallineSite.Object.topology (p := p) (J := J) (δ := δ) (f := f)) (ModuleCat.{u + 1} (Coeff (B := B))) |
| 31 | |
| 32 | instance hasExt : HasExt.{u + 2} (ModuleSheaf (p := p) (J := J) (δ := δ) f) := HasExt.standard _ |
| 33 | |
| 34 | variable (g : X ⟶ Y) (hg : g ≫ fY = f) |
| 35 | |
| 36 | abbrev restriction : ModuleSheaf (p := p) (J := J) (δ := δ) fY ⥤ ModuleSheaf (p := p) (J := J) (δ := δ) f := |
| 37 | (BigCrystallineSite.postcompose g hg).sheafPushforwardContinuous (ModuleCat.{u + 1} (Coeff (B := B))) |
| 38 | BigCrystallineSite.Object.topology BigCrystallineSite.Object.topology |
| 39 | |
| 40 | instance restriction_additive : (restriction (p := p) (J := J) (δ := δ) g hg).Additive where |
| 41 | map_add := by intros; rfl |
| 42 | |
| 43 | instance restriction_linear : (restriction (p := p) (J := J) (δ := δ) g hg).Linear (Coeff (B := B)) where |
| 44 | map_smul := by intros; rfl |
| 45 | |
| 46 | instance restriction_leftAdjoint : (restriction (p := p) (J := J) (δ := δ) g hg).IsLeftAdjoint := |
| 47 | ((BigCrystallineSite.postcompose g hg).sheafAdjunctionCocontinuous (ModuleCat.{u + 1} (Coeff (B := B))) |
| 48 | BigCrystallineSite.Object.topology BigCrystallineSite.Object.topology).isLeftAdjoint |
| 49 | |
| 50 | instance restriction_preservesFiniteLimits : |
| 51 | PreservesFiniteLimits (restriction (p := p) (J := J) (δ := δ) g hg) := by infer_instance |
| 52 | |
| 53 | instance restriction_preservesFiniteColimits : |
| 54 | PreservesFiniteColimits (restriction (p := p) (J := J) (δ := δ) g hg) := by infer_instance |
| 55 | |
| 56 | /-- The linear map on Ext induced by the proved exact restriction functor. -/ |
| 57 | def mapExt (F G : ModuleSheaf (p := p) (J := J) (δ := δ) fY) (n : ℕ) : |
| 58 | Abelian.Ext.{u + 2} F G n →ₗ[Coeff (B := B)] |
| 59 | Abelian.Ext.{u + 2} ((restriction g hg).obj F) ((restriction g hg).obj G) n := |
| 60 | (restriction g hg).mapExtLinearMap (Coeff (B := B)) F G n |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |