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.Intrinsic.PresheafScalarComplex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafLinear |
| 4 | |
| 5 | /-! # Reduction Complex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionComplex.IntrinsicIntegralReductionComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual coefficient-reduction morphism of native de Rham complexes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionPresheaf.IntrinsicIntegralReductionPresheaf |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable (R S : Type) [CommRing R] [CommRing S] [Algebra R S] |
| 19 | (X : Over (Spec (CommRingCat.of R))) (Y : Over (Spec (CommRingCat.of S))) |
| 20 | (f : Y.left ⟶ X.left) |
| 21 | (h : f ≫ X.hom = Y.hom ≫ Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 22 | |
| 23 | def direct : (Y.left.Opensᵒᵖ ⥤ ModuleCat S) ⥤ (X.left.Opensᵒᵖ ⥤ ModuleCat R) := |
| 24 | (Functor.whiskeringLeft _ _ _).obj (Opens.map f.base).op ⋙ |
| 25 | (Functor.whiskeringRight _ _ _).obj (ModuleCat.restrictScalars (algebraMap R S)) |
| 26 | |
| 27 | instance direct_additive : (direct R S X Y f).Additive := by |
| 28 | dsimp [direct] |
| 29 | infer_instance |
| 30 | |
| 31 | theorem differential (n : ℕ) : |
| 32 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X n ≫ ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h (n + 1) = |
| 33 | ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h n ≫ |
| 34 | (direct R S X Y f).map (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf S Y n) := by |
| 35 | apply NatTrans.ext |
| 36 | funext U |
| 37 | apply ModuleCat.hom_ext |
| 38 | apply LinearMap.ext |
| 39 | intro ω |
| 40 | have hu := congrArg (fun k => k.app U) (Intrinsic.PresheafScalarComplex.IntrinsicPresheafScalarComplex.differential R S X Y f h n) |
| 41 | have hh := ConcreteCategory.congr_hom hu ((1 : S) ⊗ₜ[R] ω) |
| 42 | change Intrinsic.FormsScalarMap.IntrinsicFormsScalarMap.component R S X Y f h U.unop (n + 1) |
| 43 | (((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X n).app U).hom.baseChange S (1 ⊗ₜ[R] ω)) = _ at hh |
| 44 | rw [LinearMap.baseChange_tmul] at hh |
| 45 | change ReductionPresheaf.IntrinsicIntegralReductionPresheaf.component R S X Y f h U.unop (n + 1) ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X n).app U ω) = |
| 46 | ((direct R S X Y f).map (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf S Y n)).app U |
| 47 | (ReductionPresheaf.IntrinsicIntegralReductionPresheaf.component R S X Y f h U.unop n ω) |
| 48 | rw [ReductionPresheaf.IntrinsicIntegralReductionPresheaf.component_eq_one_tmul, ReductionPresheaf.IntrinsicIntegralReductionPresheaf.component_eq_one_tmul] |
| 49 | exact hh |
| 50 | |
| 51 | def presheafComplex : CochainComplex (X.left.Opensᵒᵖ ⥤ ModuleCat R) ℕ := |
| 52 | ((direct R S X Y f).mapHomologicalComplex (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex S Y) |
| 53 | |
| 54 | def presheafMap : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X ⟶ presheafComplex R S X Y f where |
| 55 | f n := ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h n |
| 56 | comm' n m hnm := by |
| 57 | change n + 1 = m at hnm |
| 58 | subst m |
| 59 | change ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h n ≫ |
| 60 | (direct R S X Y f).map ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex S Y).d n (n + 1)) = |
| 61 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X).d n (n + 1) ≫ |
| 62 | ReductionPresheaf.IntrinsicIntegralReductionPresheaf.map R S X Y f h (n + 1) |
| 63 | rw [show (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex S Y).d n (n + 1) = |
| 64 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf S Y n from CochainComplex.of_d _ _ n] |
| 65 | rw [show (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X).d n (n + 1) = |
| 66 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X n from CochainComplex.of_d _ _ n] |
| 67 | exact (differential R S X Y f h n).symm |
| 68 | |
| 69 | def sheafComplex : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) ℕ := |
| 70 | ((presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)).mapHomologicalComplex |
| 71 | (.up ℕ)).obj (presheafComplex R S X Y f) |
| 72 | |
| 73 | def sheafMap : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X ⟶ sheafComplex R S X Y f := |
| 74 | ((presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat R)).mapHomologicalComplex |
| 75 | (.up ℕ)).map (presheafMap R S X Y f h) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionComplex.IntrinsicIntegralReductionComplex |