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.GeometricComparison.IntrinsicIntegral.ReductionPresheaf |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.PresheafLocal |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Smooth.IntegralSheafRegular |
| 4 | |
| 5 | /-! # Reduction Exact -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionExact.IntrinsicIntegralReductionExact |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual geometric reduction map yields short exact sequences of the first two form sheaves. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionPresheaf.IntrinsicIntegralReductionPresheaf |
| 16 | |
| 17 | variable (R S : Type) [CommRing R] [CommRing S] [Algebra R S] |
| 18 | (X : Over (Spec (CommRingCat.of R))) (Y : Over (Spec (CommRingCat.of S))) |
| 19 | (f : Y.left ⟶ X.left) |
| 20 | (h : f ≫ X.hom = Y.hom ≫ Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 21 | |
| 22 | theorem target_scalar_zero (n : ℕ) (r : R) (hr : algebraMap R S r = 0) : |
| 23 | r • 𝟙 (ReductionPresheaf.IntrinsicIntegralReductionPresheaf.target R S X Y f n) = 0 := by |
| 24 | apply NatTrans.ext |
| 25 | funext U |
| 26 | apply ModuleCat.hom_ext |
| 27 | apply LinearMap.ext |
| 28 | intro ω |
| 29 | let M := (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n).obj ((TopologicalSpace.Opens.map f.base).op.obj U) |
| 30 | let : Module S ((ReductionPresheaf.IntrinsicIntegralReductionPresheaf.target R S X Y f n).obj U) := M.isModule |
| 31 | change (algebraMap R S r) • (ω : M) = 0 |
| 32 | rw [hr, zero_smul] |
| 33 | |
| 34 | def sequence (n : ℕ) (r : R) (hr : algebraMap R S r = 0) : |
| 35 | ShortComplex (X.left.Opensᵒᵖ ⥤ ModuleCat R) := |
| 36 | ShortComplex.mk (r • 𝟙 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n)) |
| 37 | (ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h n) (by |
| 38 | rw [Linear.smul_comp, Category.id_comp] |
| 39 | have hh := congrArg (fun g => ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h n ≫ g) |
| 40 | (target_scalar_zero R S X Y f n r hr) |
| 41 | simpa only [Linear.comp_smul, Category.comp_id, comp_zero] using hh) |
| 42 | |
| 43 | variable (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 44 | (hS : Function.Surjective (algebraMap R S)) |
| 45 | |
| 46 | include hp hS in |
| 47 | theorem locallySurjective (n : ℕ) (hn : n ≤ 1) : |
| 48 | Presheaf.IsLocallySurjective (Opens.grothendieckTopology X.left) |
| 49 | (ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h n) where |
| 50 | imageSieve_mem {V} s := by |
| 51 | intro x hx |
| 52 | obtain ⟨_, ⟨W, hW, rfl⟩, hxW, hWV⟩ := |
| 53 | X.left.isBasis_affineOpens.exists_subset_of_mem_open hx V.isOpen |
| 54 | refine ⟨W, homOfLE hWV, ?_, hxW⟩ |
| 55 | exact ReductionPresheaf.IntrinsicIntegralReductionPresheaf.affine_surjective R S X Y f h hp W hW n hn hS |
| 56 | ((ReductionPresheaf.IntrinsicIntegralReductionPresheaf.target R S X Y f n).map (homOfLE hWV).op s) |
| 57 | |
| 58 | include hp hS in |
| 59 | theorem sheafification_exact (n : ℕ) (hn : n ≤ 1) (r : R) (hr : algebraMap R S r = 0) |
| 60 | (hker : RingHom.ker (algebraMap R S) = Ideal.span {r}) : |
| 61 | ((sequence R S X Y f h n r hr).map |
| 62 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R))).Exact := by |
| 63 | apply PresheafLocal.PresheafLocalExactness.sheafification_exact R |
| 64 | intro V x |
| 65 | obtain ⟨_, ⟨W, hW, rfl⟩, hxW, hWV⟩ := |
| 66 | X.left.isBasis_affineOpens.exists_subset_of_mem_open x.property V.isOpen |
| 67 | refine ⟨W, hWV, hxW, ?_⟩ |
| 68 | intro s hs |
| 69 | exact (ReductionPresheaf.IntrinsicIntegralReductionPresheaf.affine_zero_iff_divisible R S X Y f h hp W hW n hn hS r hker s).mp hs |
| 70 | |
| 71 | include hp hS in |
| 72 | theorem sheafification_epi (n : ℕ) (hn : n ≤ 1) : |
| 73 | Epi ((presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)).map |
| 74 | (ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h n)) := by |
| 75 | let J := Opens.grothendieckTopology X.left |
| 76 | let a := ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h n |
| 77 | let : Presheaf.IsLocallySurjective J a := locallySurjective R S X Y f h hp hS n hn |
| 78 | let : Sheaf.IsLocallySurjective ((presheafToSheaf J (ModuleCat R)).map a) := |
| 79 | (Presheaf.isLocallySurjective_presheafToSheaf_map_iff J a).mpr inferInstance |
| 80 | infer_instance |
| 81 | |
| 82 | include hp hS in |
| 83 | theorem shortExact [Smooth X.hom] (n : ℕ) (hn : n ≤ 1) (r : R) |
| 84 | (hr : algebraMap R S r = 0) (hker : RingHom.ker (algebraMap R S) = Ideal.span {r}) |
| 85 | (hreg : IsRegular r) : |
| 86 | ((sequence R S X Y f h n r hr).map |
| 87 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R))).ShortExact := by |
| 88 | have hm := GeometricComparison.Smooth.IntegralSheafRegular.SmoothIntegralSheafRegular.monic R X n hn r hreg |
| 89 | let : Mono ((presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)).map |
| 90 | (r • 𝟙 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n))) := by |
| 91 | rw [Functor.map_smul, CategoryTheory.Functor.map_id] |
| 92 | exact hm |
| 93 | let := sheafification_epi R S X Y f h hp hS n hn |
| 94 | let : Mono (((sequence R S X Y f h n r hr).map |
| 95 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R))).f) := by |
| 96 | change Mono ((presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)).map |
| 97 | (r • 𝟙 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n))) |
| 98 | infer_instance |
| 99 | let : Epi (((sequence R S X Y f h n r hr).map |
| 100 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R))).g) := by |
| 101 | change Epi ((presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)).map |
| 102 | (ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h n)) |
| 103 | infer_instance |
| 104 | exact ⟨sheafification_exact R S X Y f h hp hS n hn r hr hker⟩ |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionExact.IntrinsicIntegralReductionExact |