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.Small.CrystallineSeparatedProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Small.CrystallineEqualizer |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Map |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FilteredOrEmptyKan |
| 5 | |
| 6 | /-! # Separated Crystalline Extension -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SeparatedCrystallineExtension |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: exact crystalline extension over a separated scheme |
| 14 | |
| 15 | Binary products and equalizers make every incoming factorization category |
| 16 | cofiltered or empty. Module colimits over their opposites are exact in |
| 17 | both cases. Thus extension is exact on the original sheaf categories, |
| 18 | and restriction preserves injectives without an affine hypothesis on X. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 26 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction (Coeff) |
| 27 | |
| 28 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 29 | variable {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) [IsSeparated f] |
| 30 | |
| 31 | abbrev Small := Crystalline.Site.AffineThickening p B J δ f |
| 32 | abbrev Big := BigCrystallineSite.Object p B J δ f |
| 33 | abbrev inclusion : Small (p := p) (J := J) (δ := δ) f ⥤ Big (p := p) (J := J) (δ := δ) f := BigCrystallineSite.fromSmall |
| 34 | |
| 35 | instance hasBinaryProducts : HasBinaryProducts (Small (p := p) (J := J) (δ := δ) f) := |
| 36 | Small.CrystallineSeparatedProduct.hasBinaryProducts f (Fact.out : p.Prime).pos |
| 37 | |
| 38 | instance hasEqualizers : HasEqualizers (Small (p := p) (J := J) (δ := δ) f) := |
| 39 | Small.CrystallineEqualizer.hasEqualizers (p := p) (B := B) (J := J) (δ := δ) (f := f) |
| 40 | |
| 41 | instance inclusion_preservesBinaryProducts : PreservesLimitsOfShape (Discrete WalkingPair) |
| 42 | (inclusion (p := p) (J := J) (δ := δ) f) := |
| 43 | Small.CrystallineSeparatedProduct.inclusion_preservesBinaryProducts f (Fact.out : p.Prime).pos |
| 44 | |
| 45 | instance inclusion_preservesEqualizers : PreservesLimitsOfShape WalkingParallelPair |
| 46 | (inclusion (p := p) (J := J) (δ := δ) f) where |
| 47 | preservesLimit {K} := by |
| 48 | have : PreservesLimit (parallelPair (K.map WalkingParallelPairHom.left) (K.map WalkingParallelPairHom.right)) |
| 49 | (inclusion (p := p) (J := J) (δ := δ) f) := |
| 50 | Small.CrystallineEqualizer.inclusion_preserves_equalizer _ _ |
| 51 | exact preservesLimit_of_iso_diagram _ (diagramIsoParallelPair K).symm |
| 52 | |
| 53 | abbrev SmallSheaf := Crystalline.Map.Comparison.SmallModuleSheaf (p := p) (J := J) (δ := δ) f |
| 54 | abbrev BigSheaf := Crystalline.ExactRestriction.ModuleSheaf (p := p) (J := J) (δ := δ) f |
| 55 | |
| 56 | abbrev restriction : BigSheaf (p := p) (J := J) (δ := δ) f ⥤ SmallSheaf (p := p) (J := J) (δ := δ) f := |
| 57 | Crystalline.Map.Comparison.restriction f |
| 58 | |
| 59 | abbrev extension : SmallSheaf (p := p) (J := J) (δ := δ) f ⥤ BigSheaf (p := p) (J := J) (δ := δ) f := |
| 60 | (inclusion f).sheafPullback (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) Crystalline.Site.AffineThickening.topology BigCrystallineSite.Object.topology |
| 61 | |
| 62 | def adjunction : extension (p := p) (J := J) (δ := δ) f ⊣ restriction f := |
| 63 | (inclusion f).sheafAdjunctionContinuous (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) Crystalline.Site.AffineThickening.topology BigCrystallineSite.Object.topology |
| 64 | |
| 65 | instance extension_leftAdjoint : (extension (p := p) (J := J) (δ := δ) f).IsLeftAdjoint := (adjunction f).isLeftAdjoint |
| 66 | |
| 67 | instance extension_preservesFiniteLimits : PreservesFiniteLimits (extension (p := p) (J := J) (δ := δ) f) := |
| 68 | FilteredOrEmptyKan.sheafPullback_preservesFiniteLimits (Crystalline.ExactRestriction.Coeff (B := B)) |
| 69 | (inclusion f) Crystalline.Site.AffineThickening.topology BigCrystallineSite.Object.topology |
| 70 | |
| 71 | instance extension_preservesFiniteColimits : PreservesFiniteColimits (extension (p := p) (J := J) (δ := δ) f) := by infer_instance |
| 72 | |
| 73 | instance extension_additive : (extension (p := p) (J := J) (δ := δ) f).Additive := |
| 74 | Functor.additive_of_preserves_binary_products _ |
| 75 | |
| 76 | instance restriction_preservesInjectives : (restriction (p := p) (J := J) (δ := δ) f).PreservesInjectiveObjects := |
| 77 | Functor.preservesInjectiveObjects_of_adjunction_of_preservesMonomorphisms (adjunction f) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SeparatedCrystallineExtension |