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.IntrinsicFormsScalarMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.ScalarHomExt |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.OpenSectionGeometricPullback |
| 4 | |
| 5 | /-! # Forms Scalar Open Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.FormsScalarOpenMap.BaseIntrinsicFormsScalarOpenMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Scalar extension of native forms followed by restriction to any smaller open, with its formula on generators. -/ |
| 12 | |
| 13 | section |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.OpenSectionScalarAlgebras.BaseOpenSectionScalarAlgebras OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 22 | (X : Over (Spec (CommRingCat.of R))) (Y : Over (Spec (CommRingCat.of S))) |
| 23 | (f : Y.left ⟶ X.left) |
| 24 | (h : f ≫ X.hom = Y.hom ≫ Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 25 | (U : X.left.Opens) (V : Y.left.Opens) (hV : V ≤ f ⁻¹ᵁ U) |
| 26 | |
| 27 | def component (n : ℕ) : |
| 28 | (NumberTheory.PadicHodge.GeometricComparison.FlatScalar.FlatScalarExtension.moduleFunctor R S).obj ((DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).obj (op U)) ⟶ |
| 29 | (DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n).obj (op V) := |
| 30 | IntrinsicFormsScalarMap.BaseIntrinsicFormsScalarMap.component R S X Y f h U n ≫ (DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n).map (homOfLE hV).op |
| 31 | |
| 32 | theorem component_tmul_symbol {n : ℕ} (s : S) (a : Γ(X.left, U)) (t : Fin n → Γ(X.left, U)) : |
| 33 | component R S X Y f h U V hV n (s ⊗ₜ[R] DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X.left, U) a t) = |
| 34 | s • DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y.left, V) ((f.appLE U V hV) a) (fun i => (f.appLE U V hV) (t i)) := by |
| 35 | let : Algebra R Γ(X.left, U) := AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U |
| 36 | let : Algebra S Γ(Y.left, f ⁻¹ᵁ U) := AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y (f ⁻¹ᵁ U) |
| 37 | let : Algebra S Γ(Y.left, V) := AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y V |
| 38 | let : Algebra R Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionScalarAlgebras.BaseOpenSectionScalarAlgebras.baseAlgebra R S X Y f U |
| 39 | let : Algebra Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionScalarAlgebras.BaseOpenSectionScalarAlgebras.sourceAlgebra R S X Y f U |
| 40 | let : IsScalarTower R S Γ(Y.left, f ⁻¹ᵁ U) := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 41 | let : IsScalarTower R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionScalarAlgebras.BaseOpenSectionScalarAlgebras.sourceTower R S X Y f U h |
| 42 | let g : CommAlgCat.of S Γ(Y.left, f ⁻¹ᵁ U) ⟶ CommAlgCat.of S Γ(Y.left, V) := |
| 43 | (AlgebraicForms.AlgebraicDeRham.sectionAlgebras S Y).map (homOfLE hV).op |
| 44 | change DeRhamGlobalId.DeRhamGlobal.formMap g n |
| 45 | (NumberTheory.PadicHodge.GeometricComparison.Forms.ScalarMap.FormsBaseChange.formScalarMap R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) n |
| 46 | (s ⊗ₜ[R] DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X.left, U) a t)) = _ |
| 47 | rw [NumberTheory.PadicHodge.GeometricComparison.Forms.ScalarMap.FormsBaseChange.formScalarMap_tmul, map_smul, NumberTheory.PadicHodge.GeometricComparison.Forms.ScalarMap.FormsBaseChange.formExtensionMap_symbol, |
| 48 | DeRhamGlobalId.DeRhamGlobal.formMap_symbol] |
| 49 | rfl |
| 50 | |
| 51 | theorem component_preimage (n : ℕ) : component R S X Y f h U (f ⁻¹ᵁ U) le_rfl n = |
| 52 | IntrinsicFormsScalarMap.BaseIntrinsicFormsScalarMap.component R S X Y f h U n := by |
| 53 | change IntrinsicFormsScalarMap.BaseIntrinsicFormsScalarMap.component R S X Y f h U n ≫ (DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n).map (𝟙 _) = _ |
| 54 | rw [(DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n).map_id, Category.comp_id] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | /-! Scalar extension commutes with geometric pullback on all compatible open subsets of an actual commuting square. -/ |
| 59 | |
| 60 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 61 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal |
| 62 | open scoped TensorProduct |
| 63 | |
| 64 | universe u₀ |
| 65 | |
| 66 | variable (R S : Type u₀) [CommRing R] [CommRing S] [Algebra R S] |
| 67 | {X₁ X₂ : Over (Spec (CommRingCat.of R))} |
| 68 | {Y₁ Y₂ : Over (Spec (CommRingCat.of S))} |
| 69 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 70 | (h₁ : f₁ ≫ X₁.hom = Y₁.hom ≫ Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 71 | (h₂ : f₂ ≫ X₂.hom = Y₂.hom ≫ Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 72 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) |
| 73 | (U : X₂.left.Opens) (V : X₁.left.Opens) (W : Y₂.left.Opens) (T : Y₁.left.Opens) |
| 74 | (hu : V ≤ u.left ⁻¹ᵁ U) (hv : T ≤ v.left ⁻¹ᵁ W) |
| 75 | (hT : T ≤ f₁ ⁻¹ᵁ V) (hW : W ≤ f₂ ⁻¹ᵁ U) |
| 76 | |
| 77 | include hsquare in |
| 78 | theorem geometric_naturality (n : ℕ) : |
| 79 | (NumberTheory.PadicHodge.GeometricComparison.FlatScalar.FlatScalarExtension.moduleFunctor R S).map (OpenSectionGeometricPullback.DeRhamPullback.formsPullbackLE u U V hu n) ≫ |
| 80 | component R S X₁ Y₁ f₁ h₁ V T hT n = |
| 81 | component R S X₂ Y₂ f₂ h₂ U W hW n ≫ OpenSectionGeometricPullback.DeRhamPullback.formsPullbackLE v W T hv n := by |
| 82 | let : Algebra R Γ(X₂.left, U) := AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X₂ U |
| 83 | let : Algebra R Γ(X₁.left, V) := AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X₁ V |
| 84 | let : Algebra S Γ(Y₂.left, W) := AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y₂ W |
| 85 | let : Algebra S Γ(Y₁.left, T) := AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y₁ T |
| 86 | let aR : CommAlgCat.of R Γ(X₂.left, U) ⟶ CommAlgCat.of R Γ(X₁.left, V) := |
| 87 | CommAlgCat.ofHom (OpenSectionGeometricPullback.DeRhamPullback.sectionPullbackLE u U V hu) |
| 88 | let aS : CommAlgCat.of S Γ(Y₂.left, W) ⟶ CommAlgCat.of S Γ(Y₁.left, T) := |
| 89 | CommAlgCat.ofHom (OpenSectionGeometricPullback.DeRhamPullback.sectionPullbackLE v W T hv) |
| 90 | let gS : DeRhamPresentationTo.DeRhamPresentation.Form S Γ(Y₂.left, W) n →ₗ[S] DeRhamPresentationTo.DeRhamPresentation.Form S Γ(Y₁.left, T) n := DeRhamGlobalId.DeRhamGlobal.formMap aS n |
| 91 | have hs := OpenSectionGeometricPullback.SectionGeometricSquare.square u.left v.left f₁ f₂ hsquare U V W T hu hv hT hW |
| 92 | apply NumberTheory.PadicHodge.GeometricComparison.Forms.ScalarHomExt.FormsHomExt.scalar_hom_ext R S Γ(X₂.left, U) n |
| 93 | intro s a t |
| 94 | have ha : (DeRhamGlobalId.DeRhamGlobal.formMap aR n).baseChange S (s ⊗ₜ[R] DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₂.left, U) a t) = |
| 95 | s ⊗ₜ[R] DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₁.left, V) (aR a) (fun i => aR (t i)) := |
| 96 | (LinearMap.baseChange_tmul (DeRhamGlobalId.DeRhamGlobal.formMap aR n) s _).trans |
| 97 | (congrArg (fun ω => s ⊗ₜ[R] ω) (DeRhamGlobalId.DeRhamGlobal.formMap_symbol aR n a t)) |
| 98 | change component R S X₁ Y₁ f₁ h₁ V T hT n |
| 99 | ((DeRhamGlobalId.DeRhamGlobal.formMap aR n).baseChange S (s ⊗ₜ[R] DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₂.left, U) a t)) = |
| 100 | gS (component R S X₂ Y₂ f₂ h₂ U W hW n (s ⊗ₜ[R] DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₂.left, U) a t)) |
| 101 | have hb : gS (DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₂.left, W) ((f₂.appLE U W hW) a) |
| 102 | (fun i => (f₂.appLE U W hW) (t i))) = |
| 103 | DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T) (aS ((f₂.appLE U W hW) a)) |
| 104 | (fun i => aS ((f₂.appLE U W hW) (t i))) := DeRhamGlobalId.DeRhamGlobal.formMap_symbol aS n _ _ |
| 105 | have hL : component R S X₁ Y₁ f₁ h₁ V T hT n |
| 106 | ((DeRhamGlobalId.DeRhamGlobal.formMap aR n).baseChange S (s ⊗ₜ[R] DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₂.left, U) a t)) = |
| 107 | s • DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T) ((f₁.appLE V T hT) (aR a)) |
| 108 | (fun i => (f₁.appLE V T hT) (aR (t i))) := |
| 109 | (congrArg (component R S X₁ Y₁ f₁ h₁ V T hT n) ha).trans |
| 110 | (component_tmul_symbol R S X₁ Y₁ f₁ h₁ V T hT s (aR a) (fun i => aR (t i))) |
| 111 | have hmid : (s • DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T) ((f₁.appLE V T hT) (aR a)) |
| 112 | (fun i => (f₁.appLE V T hT) (aR (t i))) : DeRhamPresentationTo.DeRhamPresentation.Form S Γ(Y₁.left, T) n) = |
| 113 | s • DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T) (aS ((f₂.appLE U W hW) a)) |
| 114 | (fun i => aS ((f₂.appLE U W hW) (t i))) := |
| 115 | congrArg (fun ω => s • ω) (congrArg₂ (DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T)) |
| 116 | (ConcreteCategory.congr_hom hs a) (funext (fun i => ConcreteCategory.congr_hom hs (t i)))) |
| 117 | have hR : gS (component R S X₂ Y₂ f₂ h₂ U W hW n (s ⊗ₜ[R] DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₂.left, U) a t)) = |
| 118 | s • DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T) (aS ((f₂.appLE U W hW) a)) |
| 119 | (fun i => aS ((f₂.appLE U W hW) (t i))) := |
| 120 | (congrArg gS (component_tmul_symbol R S X₂ Y₂ f₂ h₂ U W hW s a t)).trans |
| 121 | ((gS.map_smul s _).trans (congrArg (fun ω => s • ω) hb)) |
| 122 | exact hL.trans (hmid.trans hR.symm) |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.FormsScalarOpenMap.BaseIntrinsicFormsScalarOpenMap |