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.OpenSectionBase |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.ScalarNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Rational.AffineFormVanishing |
| 4 | |
| 5 | /-! # Forms Scalar Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.FormsScalarMap.IntrinsicFormsScalarMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical scalar map on native form presheaves, natural for every restriction and invertible on affine opens in a flat base-change square. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite _root_.TopologicalSpace |
| 14 | open OAI.NumberTheory.PadicHodge.GeometricComparison.OpenSectionBase.OpenSectionScalarAlgebras |
| 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 component (U : X.left.Opens) (n : ℕ) : |
| 22 | (FlatScalar.FlatScalarExtension.moduleFunctor R S).obj ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).obj (op U)) ⟶ |
| 23 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n).obj (op (f ⁻¹ᵁ U)) := by |
| 24 | letI : Algebra R Γ(X.left, U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U |
| 25 | letI : Algebra S Γ(Y.left, f ⁻¹ᵁ U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y (f ⁻¹ᵁ U) |
| 26 | letI : Algebra R Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.baseAlgebra R S X Y f U |
| 27 | letI : Algebra Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceAlgebra R S X Y f U |
| 28 | letI : IsScalarTower R S Γ(Y.left, f ⁻¹ᵁ U) := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 29 | letI : IsScalarTower R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f U h |
| 30 | exact ModuleCat.ofHom (Forms.ScalarMap.FormsBaseChange.formScalarMap R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) n) |
| 31 | |
| 32 | theorem naturality (n : ℕ) {U V : X.left.Opensᵒᵖ} (i : U ⟶ V) : |
| 33 | (FlatScalar.FlatScalarExtension.moduleFunctor R S).map ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).map i) ≫ |
| 34 | component R S X Y f h V.unop n = |
| 35 | component R S X Y f h U.unop n ≫ |
| 36 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n).map ((Opens.map f.base).op.map i) := by |
| 37 | let : Algebra R Γ(X.left, U.unop) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U.unop |
| 38 | let : Algebra R Γ(X.left, V.unop) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X V.unop |
| 39 | let : Algebra S Γ(Y.left, f ⁻¹ᵁ U.unop) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y (f ⁻¹ᵁ U.unop) |
| 40 | let : Algebra S Γ(Y.left, f ⁻¹ᵁ V.unop) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y (f ⁻¹ᵁ V.unop) |
| 41 | let : Algebra R Γ(Y.left, f ⁻¹ᵁ U.unop) := OpenSectionBase.OpenSectionScalarAlgebras.baseAlgebra R S X Y f U.unop |
| 42 | let : Algebra R Γ(Y.left, f ⁻¹ᵁ V.unop) := OpenSectionBase.OpenSectionScalarAlgebras.baseAlgebra R S X Y f V.unop |
| 43 | let : Algebra Γ(X.left, U.unop) Γ(Y.left, f ⁻¹ᵁ U.unop) := OpenSectionBase.OpenSectionScalarAlgebras.sourceAlgebra R S X Y f U.unop |
| 44 | let : Algebra Γ(X.left, V.unop) Γ(Y.left, f ⁻¹ᵁ V.unop) := OpenSectionBase.OpenSectionScalarAlgebras.sourceAlgebra R S X Y f V.unop |
| 45 | let : IsScalarTower R S Γ(Y.left, f ⁻¹ᵁ U.unop) := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 46 | let : IsScalarTower R S Γ(Y.left, f ⁻¹ᵁ V.unop) := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 47 | let : IsScalarTower R Γ(X.left, U.unop) Γ(Y.left, f ⁻¹ᵁ U.unop) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f U.unop h |
| 48 | let : IsScalarTower R Γ(X.left, V.unop) Γ(Y.left, f ⁻¹ᵁ V.unop) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f V.unop h |
| 49 | apply ModuleCat.hom_ext |
| 50 | apply LinearMap.ext |
| 51 | intro ω |
| 52 | exact Forms.ScalarNaturality.FormsBaseChange.formScalarMap_naturality R S |
| 53 | Γ(X.left, U.unop) Γ(Y.left, f ⁻¹ᵁ U.unop) Γ(X.left, V.unop) Γ(Y.left, f ⁻¹ᵁ V.unop) |
| 54 | ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map i) |
| 55 | ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras S Y).map ((Opens.map f.base).op.map i)) |
| 56 | (fun a => ConcreteCategory.congr_hom (f.naturality i) a) n ω |
| 57 | |
| 58 | def map (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n ⋙ FlatScalar.FlatScalarExtension.moduleFunctor R S ⟶ |
| 59 | (Opens.map f.base).op ⋙ AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n where |
| 60 | app U := component R S X Y f h U.unop n |
| 61 | naturality _ _ i := IntrinsicFormsScalarMap.naturality R S X Y f h n i |
| 62 | |
| 63 | theorem component_isIso [Algebra ℚ R] [Algebra ℚ S] [Module.Flat R S] |
| 64 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 65 | (U : X.left.Opens) (hU : IsAffineOpen U) (n : ℕ) : IsIso (component R S X Y f h U n) := by |
| 66 | let : Algebra R Γ(X.left, U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U |
| 67 | let : Algebra S Γ(Y.left, f ⁻¹ᵁ U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y (f ⁻¹ᵁ U) |
| 68 | let : Algebra R Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.baseAlgebra R S X Y f U |
| 69 | let : Algebra Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceAlgebra R S X Y f U |
| 70 | let : IsScalarTower R S Γ(Y.left, f ⁻¹ᵁ U) := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 71 | let : IsScalarTower R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f U h |
| 72 | let : Algebra.IsPushout R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.pushout R S X Y f U hp hU |
| 73 | let : Algebra ℚ Γ(X.left, U) := Rational.AffineFormVanishing.RationalAffineFormVanishing.sectionAlgebra R X U |
| 74 | let : Algebra ℚ Γ(Y.left, f ⁻¹ᵁ U) := Rational.AffineFormVanishing.RationalAffineFormVanishing.sectionAlgebra S Y (f ⁻¹ᵁ U) |
| 75 | have he : component R S X Y f h U n = |
| 76 | (Forms.ScalarEquivalence.FormsBaseChange.formsScalarEquiv R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) n).toModuleIso.hom := |
| 77 | congrArg ModuleCat.ofHom (Forms.ScalarEquivalence.FormsBaseChange.formsScalarEquiv_eq_map R S |
| 78 | Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) n).symm |
| 79 | rw [he] |
| 80 | exact (Forms.ScalarEquivalence.FormsBaseChange.formsScalarEquiv R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) n).toModuleIso.isIso_hom |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.FormsScalarMap.IntrinsicFormsScalarMap |