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.Intrinsic.FormsScalarMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.LowDegreeReduction |
| 3 | |
| 4 | /-! # Reduction Presheaf -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionPresheaf.IntrinsicIntegralReductionPresheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual coefficient-reduction map on native form presheaves, with exact affine kernels in the first two degrees. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite _root_.TopologicalSpace |
| 13 | open OAI.NumberTheory.PadicHodge.GeometricComparison.OpenSectionBase.OpenSectionScalarAlgebras |
| 14 | open scoped TensorProduct |
| 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 | |
| 21 | def target (n : ℕ) : X.left.Opensᵒᵖ ⥤ ModuleCat R := |
| 22 | (Opens.map f.base).op ⋙ AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n ⋙ |
| 23 | ModuleCat.restrictScalars (algebraMap R S) |
| 24 | |
| 25 | def component (U : X.left.Opens) (n : ℕ) : |
| 26 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).obj (op U) ⟶ (target R S X Y f n).obj (op U) := by |
| 27 | let : Algebra R Γ(X.left, U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U |
| 28 | let : Algebra S Γ(Y.left, f ⁻¹ᵁ U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y (f ⁻¹ᵁ U) |
| 29 | let : Algebra R Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.baseAlgebra R S X Y f U |
| 30 | let : Algebra Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceAlgebra R S X Y f U |
| 31 | let : IsScalarTower R S Γ(Y.left, f ⁻¹ᵁ U) := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 32 | let : IsScalarTower R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f U h |
| 33 | change ModuleCat.of R (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R Γ(X.left, U) n) ⟶ |
| 34 | ModuleCat.of R (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form S Γ(Y.left, f ⁻¹ᵁ U) n) |
| 35 | exact ModuleCat.ofHom (Forms.ScalarMap.FormsBaseChange.formExtensionMap R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) n) |
| 36 | |
| 37 | theorem component_eq_one_tmul (U : X.left.Opens) (n : ℕ) |
| 38 | (ω : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).obj (op U)) : |
| 39 | component R S X Y f h U n ω = Intrinsic.FormsScalarMap.IntrinsicFormsScalarMap.component R S X Y f h U n (1 ⊗ₜ[R] ω) := by |
| 40 | let : Algebra R Γ(X.left, U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U |
| 41 | let : Algebra S Γ(Y.left, f ⁻¹ᵁ U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y (f ⁻¹ᵁ U) |
| 42 | let : Algebra R Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.baseAlgebra R S X Y f U |
| 43 | let : Algebra Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceAlgebra R S X Y f U |
| 44 | let : IsScalarTower R S Γ(Y.left, f ⁻¹ᵁ U) := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 45 | let : IsScalarTower R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f U h |
| 46 | change Forms.ScalarMap.FormsBaseChange.formExtensionMap R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) n ω = |
| 47 | (1 : S) • Forms.ScalarMap.FormsBaseChange.formExtensionMap R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) n ω |
| 48 | exact (one_smul S _).symm |
| 49 | |
| 50 | theorem naturality (n : ℕ) {U V : X.left.Opensᵒᵖ} (i : U ⟶ V) : |
| 51 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).map i ≫ component R S X Y f h V.unop n = |
| 52 | component R S X Y f h U.unop n ≫ (target R S X Y f n).map i := by |
| 53 | apply ModuleCat.hom_ext |
| 54 | apply LinearMap.ext |
| 55 | intro ω |
| 56 | have hh := ConcreteCategory.congr_hom (Intrinsic.FormsScalarMap.IntrinsicFormsScalarMap.naturality R S X Y f h n i) |
| 57 | (1 ⊗ₜ[R] ω) |
| 58 | change Intrinsic.FormsScalarMap.IntrinsicFormsScalarMap.component R S X Y f h V.unop n |
| 59 | (((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).map i).hom.baseChange S (1 ⊗ₜ[R] ω)) = _ at hh |
| 60 | rw [LinearMap.baseChange_tmul] at hh |
| 61 | change component R S X Y f h V.unop n ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).map i ω) = |
| 62 | (target R S X Y f n).map i (component R S X Y f h U.unop n ω) |
| 63 | rw [component_eq_one_tmul, component_eq_one_tmul] |
| 64 | exact hh |
| 65 | |
| 66 | def map (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n ⟶ target R S X Y f n where |
| 67 | app U := component R S X Y f h U.unop n |
| 68 | naturality _ _ i := IntrinsicIntegralReductionPresheaf.naturality R S X Y f h n i |
| 69 | |
| 70 | theorem affine_surjective |
| 71 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 72 | (U : X.left.Opens) (hU : IsAffineOpen U) (n : ℕ) (hn : n ≤ 1) |
| 73 | (hS : Function.Surjective (algebraMap R S)) : |
| 74 | Function.Surjective (component R S X Y f h U n) := by |
| 75 | let : Algebra R Γ(X.left, U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U |
| 76 | let : Algebra S Γ(Y.left, f ⁻¹ᵁ U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y (f ⁻¹ᵁ U) |
| 77 | let : Algebra R Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.baseAlgebra R S X Y f U |
| 78 | let : Algebra Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceAlgebra R S X Y f U |
| 79 | let : IsScalarTower R S Γ(Y.left, f ⁻¹ᵁ U) := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 80 | let : IsScalarTower R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f U h |
| 81 | let : Algebra.IsPushout R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.pushout R S X Y f U hp hU |
| 82 | have he : (component R S X Y f h U n).hom = |
| 83 | Forms.ScalarMap.FormsBaseChange.formExtensionMap R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) n := by |
| 84 | rfl |
| 85 | change Function.Surjective (component R S X Y f h U n).hom |
| 86 | rw [he] |
| 87 | exact Integral.LowDegreeReduction.IntegralLowDegreeReduction.surjective R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) n hn hS |
| 88 | |
| 89 | theorem affine_zero_iff_divisible |
| 90 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 91 | (U : X.left.Opens) (hU : IsAffineOpen U) (n : ℕ) (hn : n ≤ 1) |
| 92 | (hS : Function.Surjective (algebraMap R S)) (r : R) |
| 93 | (hr : RingHom.ker (algebraMap R S) = Ideal.span {r}) |
| 94 | (ω : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).obj (op U)) : |
| 95 | component R S X Y f h U n ω = 0 ↔ |
| 96 | ∃ η : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).obj (op U), r • η = ω := by |
| 97 | let iRA : Algebra R Γ(X.left, U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U |
| 98 | let iSB : Algebra S Γ(Y.left, f ⁻¹ᵁ U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y (f ⁻¹ᵁ U) |
| 99 | let iRB : Algebra R Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.baseAlgebra R S X Y f U |
| 100 | let iAB : Algebra Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceAlgebra R S X Y f U |
| 101 | let iRSB : IsScalarTower R S Γ(Y.left, f ⁻¹ᵁ U) := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 102 | let iRAB : IsScalarTower R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f U h |
| 103 | let iPush : Algebra.IsPushout R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.pushout R S X Y f U hp hU |
| 104 | have hh := @Integral.LowDegreeReduction.IntegralLowDegreeReduction.zero_iff_divisible R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) |
| 105 | _ _ _ _ _ iRA iRB iAB iSB iRAB iRSB iPush n hn hS r hr ω |
| 106 | exact hh |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.ReductionPresheaf.IntrinsicIntegralReductionPresheaf |