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