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.Bounded.PostcomposeLifts |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeSieves |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Cocontinuous |
| 4 | |
| 5 | /-! # Postcompose Topology -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: native bounded crystalline postcomposition is continuous and cocontinuous |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 22 | {X Y : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 23 | (g : X ⟶ Y) (hg : g ≫ fY = f) (n : ℕ) |
| 24 | |
| 25 | local notation "QX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) f n |
| 26 | local notation "QY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) fY n |
| 27 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite.postcompose (p := p) (J := J) (δ := δ) g hg |
| 28 | local notation "F₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 29 | local notation "JX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology (p := p) (J := J) (δ := δ) f n |
| 30 | local notation "JY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology (p := p) (J := J) (δ := δ) fY n |
| 31 | |
| 32 | theorem coverPreserving : CoverPreserving JX JY F₀ where |
| 33 | cover_preserve {U S} hS := by |
| 34 | apply Functor.mem_restrictedTopology_of_functorPushforward_mem |
| 35 | rw [PostcomposeSieves.pushforward_comp] |
| 36 | exact (CoverPreserving.of_isContinuous F BigCrystallineSite.Object.topology |
| 37 | BigCrystallineSite.Object.topology).cover_preserve |
| 38 | ((CoverPreserving.of_isContinuous QX JX BigCrystallineSite.Object.topology).cover_preserve hS) |
| 39 | |
| 40 | instance continuous : (F₀).IsContinuous JX JY := |
| 41 | Functor.isContinuous_of_coverPreserving |
| 42 | ((PostcomposeLifts.incomingLifts g hg n).compatiblePreserving JY) (coverPreserving g hg n) |
| 43 | |
| 44 | instance cocontinuous : (F₀).IsCocontinuous JX JY where |
| 45 | cover_lift {U S} hS := by |
| 46 | apply Functor.mem_restrictedTopology_of_functorPushforward_mem |
| 47 | rw [PostcomposeSieves.pushforward_pullback] |
| 48 | exact (F).cover_lift BigCrystallineSite.Object.topology BigCrystallineSite.Object.topology |
| 49 | ((CoverPreserving.of_isContinuous QY JY BigCrystallineSite.Object.topology).cover_preserve hS) |
| 50 | |
| 51 | abbrev restriction : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n ⥤ |
| 52 | BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) f n := |
| 53 | (F₀).sheafPushforwardContinuous (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) JX JY |
| 54 | |
| 55 | instance restriction_additive : (restriction (p := p) (J := J) (δ := δ) g hg n).Additive where |
| 56 | map_add := by intros; rfl |
| 57 | |
| 58 | instance restriction_linear : (restriction (p := p) (J := J) (δ := δ) g hg n).Linear (Crystalline.ExactRestriction.Coeff (B := B)) where |
| 59 | map_smul := by intros; rfl |
| 60 | |
| 61 | instance restriction_leftAdjoint : (restriction (p := p) (J := J) (δ := δ) g hg n).IsLeftAdjoint := |
| 62 | ((F₀).sheafAdjunctionCocontinuous (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) JX JY).isLeftAdjoint |
| 63 | |
| 64 | instance restriction_preservesFiniteLimits : |
| 65 | PreservesFiniteLimits (restriction (p := p) (J := J) (δ := δ) g hg n) := by infer_instance |
| 66 | |
| 67 | instance restriction_preservesFiniteColimits : |
| 68 | PreservesFiniteColimits (restriction (p := p) (J := J) (δ := δ) g hg n) := by infer_instance |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology |