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.OpenSectionPullback |
| 3 | |
| 4 | /-! # Forms Scalar Open Map -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.FormsScalarOpenMap.IntrinsicFormsScalarOpenMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar extension of native forms followed by restriction to any smaller open, with its formula on generators. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | open OAI.NumberTheory.PadicHodge.GeometricComparison.OpenSectionBase.OpenSectionScalarAlgebras OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal |
| 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 | (U : X.left.Opens) (V : Y.left.Opens) (hV : V ≤ f ⁻¹ᵁ U) |
| 21 | |
| 22 | def component (n : ℕ) : |
| 23 | (FlatScalar.FlatScalarExtension.moduleFunctor R S).obj ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).obj (op U)) ⟶ |
| 24 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n).obj (op V) := |
| 25 | FormsScalarMap.IntrinsicFormsScalarMap.component R S X Y f h U n ≫ (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n).map (homOfLE hV).op |
| 26 | |
| 27 | theorem component_tmul_symbol {n : ℕ} (s : S) (a : Γ(X.left, U)) (t : Fin n → Γ(X.left, U)) : |
| 28 | component R S X Y f h U V hV n (s ⊗ₜ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X.left, U) a t) = |
| 29 | s • AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y.left, V) ((f.appLE U V hV) a) (fun i => (f.appLE U V hV) (t i)) := by |
| 30 | let : Algebra R Γ(X.left, U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U |
| 31 | let : Algebra S Γ(Y.left, f ⁻¹ᵁ U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y (f ⁻¹ᵁ U) |
| 32 | let : Algebra S Γ(Y.left, V) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y V |
| 33 | let : Algebra R Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.baseAlgebra R S X Y f U |
| 34 | let : Algebra Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceAlgebra R S X Y f U |
| 35 | let : IsScalarTower R S Γ(Y.left, f ⁻¹ᵁ U) := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 36 | let : IsScalarTower R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f U h |
| 37 | let g : CommAlgCat.of S Γ(Y.left, f ⁻¹ᵁ U) ⟶ CommAlgCat.of S Γ(Y.left, V) := |
| 38 | (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras S Y).map (homOfLE hV).op |
| 39 | change AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap g n |
| 40 | (Forms.ScalarMap.FormsBaseChange.formScalarMap R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) n |
| 41 | (s ⊗ₜ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X.left, U) a t)) = _ |
| 42 | rw [Forms.ScalarMap.FormsBaseChange.formScalarMap_tmul, map_smul, Forms.ScalarMap.FormsBaseChange.formExtensionMap_symbol, |
| 43 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_symbol] |
| 44 | rfl |
| 45 | |
| 46 | theorem component_preimage (n : ℕ) : component R S X Y f h U (f ⁻¹ᵁ U) le_rfl n = |
| 47 | FormsScalarMap.IntrinsicFormsScalarMap.component R S X Y f h U n := by |
| 48 | change FormsScalarMap.IntrinsicFormsScalarMap.component R S X Y f h U n ≫ (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n).map (𝟙 _) = _ |
| 49 | rw [(AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n).map_id, Category.comp_id] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.FormsScalarOpenMap.IntrinsicFormsScalarOpenMap |