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.OpenCondition |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SubsiteExtension |
| 3 | |
| 4 | /-! # Subsite -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Subsite |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: exact restriction to original bounded crystalline objects over a geometric chart |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 21 | {X Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (g : X ⟶ Y) (n : ℕ) |
| 22 | |
| 23 | def property : ObjectProperty (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) := |
| 24 | fun U => Crystalline.OpenCondition.property g U.obj |
| 25 | |
| 26 | theorem incoming {U V : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n} |
| 27 | (α : U ⟶ V) (hV : property fY g n V) : property fY g n U := |
| 28 | Crystalline.OpenCondition.incoming g α.hom hV |
| 29 | |
| 30 | abbrev Objects := (property (p := p) (J := J) (δ := δ) fY g n).FullSubcategory |
| 31 | |
| 32 | abbrev inclusion : Objects (p := p) (J := J) (δ := δ) fY g n ⥤ |
| 33 | BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n := |
| 34 | (property fY g n).ι |
| 35 | |
| 36 | def topology : GrothendieckTopology (Objects (p := p) (J := J) (δ := δ) fY g n) := |
| 37 | (inclusion fY g n).restrictedTopology (BoundedCrystalline.Site.topology fY n) |
| 38 | |
| 39 | instance continuous : (inclusion (p := p) (J := J) (δ := δ) fY g n).IsContinuous |
| 40 | (topology fY g n) (BoundedCrystalline.Site.topology fY n) := |
| 41 | Incoming.Subsite.continuous (property fY g n) (fun α => incoming fY g n α) |
| 42 | (BoundedCrystalline.Site.topology fY n) |
| 43 | |
| 44 | instance cocontinuous : (inclusion (p := p) (J := J) (δ := δ) fY g n).IsCocontinuous |
| 45 | (topology fY g n) (BoundedCrystalline.Site.topology fY n) := |
| 46 | Incoming.Subsite.cocontinuous (property fY g n) (fun α => incoming fY g n α) |
| 47 | (BoundedCrystalline.Site.topology fY n) |
| 48 | |
| 49 | abbrev ModuleSheaf := Sheaf (topology (p := p) (J := J) (δ := δ) fY g n) |
| 50 | (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 51 | |
| 52 | abbrev restriction : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n ⥤ |
| 53 | ModuleSheaf (p := p) (J := J) (δ := δ) fY g n := |
| 54 | (inclusion fY g n).sheafPushforwardContinuous (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 55 | (topology fY g n) (BoundedCrystalline.Site.topology fY n) |
| 56 | |
| 57 | instance restriction_additive : (restriction (p := p) (J := J) (δ := δ) fY g n).Additive where |
| 58 | map_add := by intros; rfl |
| 59 | |
| 60 | instance restriction_linear : (restriction (p := p) (J := J) (δ := δ) fY g n).Linear (Crystalline.ExactRestriction.Coeff (B := B)) where |
| 61 | map_smul := by intros; rfl |
| 62 | |
| 63 | instance restriction_leftAdjoint : (restriction (p := p) (J := J) (δ := δ) fY g n).IsLeftAdjoint := |
| 64 | ((inclusion fY g n).sheafAdjunctionCocontinuous (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 65 | (topology fY g n) (BoundedCrystalline.Site.topology fY n)).isLeftAdjoint |
| 66 | |
| 67 | instance restriction_preservesFiniteLimits : |
| 68 | PreservesFiniteLimits (restriction (p := p) (J := J) (δ := δ) fY g n) := by infer_instance |
| 69 | |
| 70 | instance restriction_preservesFiniteColimits : |
| 71 | PreservesFiniteColimits (restriction (p := p) (J := J) (δ := δ) fY g n) := by infer_instance |
| 72 | |
| 73 | abbrev extension : ModuleSheaf (p := p) (J := J) (δ := δ) fY g n ⥤ |
| 74 | BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n := |
| 75 | (inclusion fY g n).sheafPullback (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 76 | (topology fY g n) (BoundedCrystalline.Site.topology fY n) |
| 77 | |
| 78 | def adjunction : extension (p := p) (J := J) (δ := δ) fY g n ⊣ restriction fY g n := |
| 79 | (inclusion fY g n).sheafAdjunctionContinuous (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 80 | (topology fY g n) (BoundedCrystalline.Site.topology fY n) |
| 81 | |
| 82 | instance extension_preservesFiniteLimits : |
| 83 | PreservesFiniteLimits (extension (p := p) (J := J) (δ := δ) fY g n) := by |
| 84 | let P := property (p := p) (J := J) (δ := δ) fY g n |
| 85 | let : P.ι.IsContinuous (P.ι.restrictedTopology (BoundedCrystalline.Site.topology fY n)) |
| 86 | (BoundedCrystalline.Site.topology fY n) := |
| 87 | Incoming.Subsite.continuous P (fun α => incoming fY g n α) (BoundedCrystalline.Site.topology fY n) |
| 88 | exact Incoming.SubsiteExtension.sheafPullback_preservesFiniteLimits.{u + 1, u} |
| 89 | P (fun α => incoming fY g n α) (Crystalline.ExactRestriction.Coeff (B := B)) (BoundedCrystalline.Site.topology fY n) |
| 90 | |
| 91 | instance extension_leftAdjoint : (extension (p := p) (J := J) (δ := δ) fY g n).IsLeftAdjoint := |
| 92 | (adjunction fY g n).isLeftAdjoint |
| 93 | |
| 94 | instance extension_preservesFiniteColimits : |
| 95 | PreservesFiniteColimits (extension (p := p) (J := J) (δ := δ) fY g n) := by infer_instance |
| 96 | |
| 97 | instance restriction_preservesInjectives : |
| 98 | (restriction (p := p) (J := J) (δ := δ) fY g n).PreservesInjectiveObjects := |
| 99 | Functor.preservesInjectiveObjects_of_adjunction_of_preservesMonomorphisms (adjunction fY g n) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Subsite |