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.CrystallinePrincipal.Extension |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Constant.SheafRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.Criterion |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.Frobenius |
| 5 | |
| 6 | /-! # Constant -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CrystallinePrincipal.Constant.Comparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: actual cohomology comparison on a crystalline slice |
| 14 | |
| 15 | Restriction to principal opens is bijective on Ext from the constant |
| 16 | coefficient sheaf. The proof uses the exact adjunction, enough injectives, |
| 17 | and the constant-source Hom comparison, with no cohomological hypothesis. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.CrystallinePrincipal.Functor OAI.NumberTheory.PadicHodge.IntegralComparison.CrystallinePrincipal.Extension |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 27 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} (U : BigCrystallineSite.Object p B J δ f) |
| 28 | |
| 29 | instance sliceGrothendieck : IsGrothendieckAbelian.{u + 1} (Extension.SliceSheaf U) := by |
| 30 | let C := Over U |
| 31 | let T := BigCrystallineSite.Object.topology.over U |
| 32 | let R := Extension.Coeff (B := B) |
| 33 | let : SmallCategory (SmallModel.{u + 1} C) := smallCategorySmallModel.{u + 1, u, u + 1} C |
| 34 | let e := equivSmallModel.{u + 1} C |
| 35 | let K := e.inverse.inducedTopology T |
| 36 | have : HasSheafify K (ModuleCat.{u + 1} R) := |
| 37 | HasSheafify.mk' K (ModuleCat.{u + 1} R) |
| 38 | (plusPlusAdjunction.{u + 1, u + 1, u + 2, u + 1, u + 1, u + 1} K (ModuleCat.{u + 1} R)) |
| 39 | exact Sheaf.isGrothendieckAbelian_of_essentiallySmall.{u + 1, u + 1, u, u + 2, u + 1} |
| 40 | T (ModuleCat.{u + 1} R) |
| 41 | |
| 42 | instance sliceEnoughInjectives : EnoughInjectives (Extension.SliceSheaf U) := by infer_instance |
| 43 | |
| 44 | instance sliceHasExt : HasExt.{u + 2} (Extension.SliceSheaf U) := HasExt.standard _ |
| 45 | |
| 46 | instance principalHasExt : HasExt.{u + 2} (Extension.PrincipalSheaf U) := HasExt.standard _ |
| 47 | |
| 48 | abbrev constantUnit : Extension.SliceSheaf U := |
| 49 | (constantSheaf (BigCrystallineSite.Object.topology.over U) (ModuleCat.{u + 1} (Extension.Coeff (B := B)))).obj |
| 50 | (ModuleCat.of (Extension.Coeff (B := B)) (Extension.Coeff (B := B))) |
| 51 | |
| 52 | abbrev principalConstantUnit : Extension.PrincipalSheaf U := |
| 53 | (constantSheaf (Principal.Topology.topology U.ring) (ModuleCat.{u + 1} (Extension.Coeff (B := B)))).obj |
| 54 | (ModuleCat.of (Extension.Coeff (B := B)) (Extension.Coeff (B := B))) |
| 55 | |
| 56 | theorem mapExt_bijective (Y : Extension.SliceSheaf U) (n : ℕ) : |
| 57 | Function.Bijective ((Extension.restriction U).mapExtAddHom (constantUnit U) Y n) := by |
| 58 | apply IntegralComparison.Ext.Criterion.Comparison.bijective_of_hom_bijective |
| 59 | intro Z |
| 60 | exact Constant.SheafRestriction.map_bijective (CrystallinePrincipal.Functor.inclusion U) |
| 61 | (Principal.Topology.topology U.ring) (BigCrystallineSite.Object.topology.over U) |
| 62 | (ModuleCat.{u + 1} (Extension.Coeff (B := B))) |
| 63 | (ModuleCat.of (Extension.Coeff (B := B)) (Extension.Coeff (B := B))) Z |
| 64 | |
| 65 | def constantTransport : (Extension.restriction U).obj (constantUnit U) ≅ principalConstantUnit U := |
| 66 | ((CrystallinePrincipal.Functor.inclusion U).pushforwardContinuousSheafificationCompatibility |
| 67 | (ModuleCat.{u + 1} (Extension.Coeff (B := B))) (Principal.Topology.topology U.ring) |
| 68 | (BigCrystallineSite.Object.topology.over U)).symm.app |
| 69 | ((Functor.const _).obj (ModuleCat.of (Extension.Coeff (B := B)) (Extension.Coeff (B := B)))) |
| 70 | |
| 71 | def comparison (Y : Extension.SliceSheaf U) (n : ℕ) : |
| 72 | Abelian.Ext.{u + 2} (constantUnit U) Y n →ₗ[Extension.Coeff (B := B)] |
| 73 | Abelian.Ext.{u + 2} (principalConstantUnit U) ((Extension.restriction U).obj Y) n := |
| 74 | (Etale.Frobenius.extIsoCongr (Extension.Coeff (B := B)) (constantTransport U) (Iso.refl _) n).toLinearMap.comp |
| 75 | ((Extension.restriction U).mapExtLinearMap (Extension.Coeff (B := B)) (constantUnit U) Y n) |
| 76 | |
| 77 | theorem comparison_bijective (Y : Extension.SliceSheaf U) (n : ℕ) : Function.Bijective (comparison U Y n) := |
| 78 | (Etale.Frobenius.extIsoCongr (Extension.Coeff (B := B)) (constantTransport U) (Iso.refl _) n).bijective.comp |
| 79 | (mapExt_bijective U Y n) |
| 80 | |
| 81 | def cohomologyEquiv (Y : Extension.SliceSheaf U) (n : ℕ) : |
| 82 | Abelian.Ext.{u + 2} (constantUnit U) Y n ≃ₗ[Extension.Coeff (B := B)] |
| 83 | Abelian.Ext.{u + 2} (principalConstantUnit U) ((Extension.restriction U).obj Y) n := |
| 84 | LinearEquiv.ofBijective (comparison U Y n) (comparison_bijective U Y n) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CrystallinePrincipal.Constant.Comparison |