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.ReductionComplex |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionExact |
| 3 | |
| 4 | /-! # Reduction Sequence -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionSequence.IntrinsicIntegralReductionSequence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual reduction morphism is part of a cochain short complex, exact in the first two degrees. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionComplex.IntrinsicIntegralReductionComplex |
| 15 | |
| 16 | variable (R S : Type) [CommRing R] [CommRing S] [Algebra R S] |
| 17 | (X : Over (Spec (CommRingCat.of R))) (Y : Over (Spec (CommRingCat.of S))) |
| 18 | (f : Y.left ⟶ X.left) |
| 19 | (h : f ≫ X.hom = Y.hom ≫ Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 20 | (r : R) (hr : algebraMap R S r = 0) |
| 21 | |
| 22 | include hr |
| 23 | |
| 24 | theorem presheaf_zero : (r • 𝟙 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X)) ≫ |
| 25 | ReductionComplex.IntrinsicIntegralReductionComplex.presheafMap R S X Y f h = 0 := by |
| 26 | apply HomologicalComplex.Hom.ext |
| 27 | funext n |
| 28 | exact (ReductionExact.IntrinsicIntegralReductionExact.sequence R S X Y f h n r hr).zero |
| 29 | |
| 30 | theorem sheaf_zero : (r • 𝟙 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X)) ≫ |
| 31 | ReductionComplex.IntrinsicIntegralReductionComplex.sheafMap R S X Y f h = 0 := by |
| 32 | apply HomologicalComplex.Hom.ext |
| 33 | funext n |
| 34 | have hh := congrArg |
| 35 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)).map |
| 36 | (ReductionExact.IntrinsicIntegralReductionExact.sequence R S X Y f h n r hr).zero |
| 37 | rw [Functor.map_comp, Functor.map_zero] at hh |
| 38 | change (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)).map |
| 39 | (r • 𝟙 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n)) ≫ _ = 0 at hh |
| 40 | rw [Functor.map_smul, CategoryTheory.Functor.map_id] at hh |
| 41 | exact hh |
| 42 | |
| 43 | def sequence : ShortComplex (CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) ℕ) := |
| 44 | ShortComplex.mk (r • 𝟙 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X)) (ReductionComplex.IntrinsicIntegralReductionComplex.sheafMap R S X Y f h) |
| 45 | (sheaf_zero R S X Y f h r hr) |
| 46 | |
| 47 | def degreeIso (n : ℕ) : |
| 48 | ((sequence R S X Y f h r hr).map |
| 49 | (HomologicalComplex.eval (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) (.up ℕ) n)) ≅ |
| 50 | (ReductionExact.IntrinsicIntegralReductionExact.sequence R S X Y f h n r hr).map |
| 51 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)) := |
| 52 | ShortComplex.isoMk (Iso.refl _) (Iso.refl _) (Iso.refl _) |
| 53 | (by |
| 54 | change 𝟙 _ ≫ (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)).map |
| 55 | (r • 𝟙 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n)) = (r • 𝟙 _) ≫ 𝟙 _ |
| 56 | rw [Category.id_comp, Category.comp_id, Functor.map_smul, CategoryTheory.Functor.map_id] |
| 57 | rfl) |
| 58 | (by |
| 59 | change 𝟙 _ ≫ (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)).map |
| 60 | (ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h n) = _ ≫ 𝟙 _ |
| 61 | erw [Category.id_comp]) |
| 62 | |
| 63 | theorem low_shortExact [Smooth X.hom] |
| 64 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 65 | (hS : Function.Surjective (algebraMap R S)) |
| 66 | (hker : RingHom.ker (algebraMap R S) = Ideal.span {r}) (hreg : IsRegular r) |
| 67 | (n : ℕ) (hn : n ≤ 1) : |
| 68 | ((sequence R S X Y f h r hr).map |
| 69 | (HomologicalComplex.eval (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) (.up ℕ) n)).ShortExact := |
| 70 | (ShortComplex.shortExact_iff_of_iso (degreeIso R S X Y f h r hr n)).mpr |
| 71 | (ReductionExact.IntrinsicIntegralReductionExact.shortExact R S X Y f h hp hS n hn r hr hker hreg) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionSequence.IntrinsicIntegralReductionSequence |