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.FormsScalarOpenMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.GeometricRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.ScalarHomExt |
| 4 | |
| 5 | /-! # Forms Scalar Open Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.FormsScalarOpenNaturality.IntrinsicFormsScalarOpenMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Scalar extension commutes with geometric pullback on all compatible open subsets of an actual commuting square. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable (R S : Type) [CommRing R] [CommRing S] [Algebra R S] |
| 18 | {X₁ X₂ : Over (Spec (CommRingCat.of R))} |
| 19 | {Y₁ Y₂ : Over (Spec (CommRingCat.of S))} |
| 20 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 21 | (h₁ : f₁ ≫ X₁.hom = Y₁.hom ≫ Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 22 | (h₂ : f₂ ≫ X₂.hom = Y₂.hom ≫ Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 23 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) |
| 24 | (U : X₂.left.Opens) (V : X₁.left.Opens) (W : Y₂.left.Opens) (T : Y₁.left.Opens) |
| 25 | (hu : V ≤ u.left ⁻¹ᵁ U) (hv : T ≤ v.left ⁻¹ᵁ W) |
| 26 | (hT : T ≤ f₁ ⁻¹ᵁ V) (hW : W ≤ f₂ ⁻¹ᵁ U) |
| 27 | |
| 28 | include hsquare in |
| 29 | theorem geometric_naturality (n : ℕ) : |
| 30 | (FlatScalar.FlatScalarExtension.moduleFunctor R S).map (OpenSectionPullback.DeRham.formsPullbackLE u U V hu n) ≫ |
| 31 | FormsScalarOpenMap.IntrinsicFormsScalarOpenMap.component R S X₁ Y₁ f₁ h₁ V T hT n = |
| 32 | FormsScalarOpenMap.IntrinsicFormsScalarOpenMap.component R S X₂ Y₂ f₂ h₂ U W hW n ≫ OpenSectionPullback.DeRham.formsPullbackLE v W T hv n := by |
| 33 | let : Algebra R Γ(X₂.left, U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X₂ U |
| 34 | let : Algebra R Γ(X₁.left, V) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X₁ V |
| 35 | let : Algebra S Γ(Y₂.left, W) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y₂ W |
| 36 | let : Algebra S Γ(Y₁.left, T) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y₁ T |
| 37 | let aR : CommAlgCat.of R Γ(X₂.left, U) ⟶ CommAlgCat.of R Γ(X₁.left, V) := |
| 38 | CommAlgCat.ofHom (OpenSectionPullback.DeRham.sectionPullbackLE u U V hu) |
| 39 | let aS : CommAlgCat.of S Γ(Y₂.left, W) ⟶ CommAlgCat.of S Γ(Y₁.left, T) := |
| 40 | CommAlgCat.ofHom (OpenSectionPullback.DeRham.sectionPullbackLE v W T hv) |
| 41 | let gS : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form S Γ(Y₂.left, W) n →ₗ[S] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form S Γ(Y₁.left, T) n := AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap aS n |
| 42 | have hs := Section.GeometricRestriction.SectionGeometricSquare.square u.left v.left f₁ f₂ hsquare U V W T hu hv hT hW |
| 43 | apply Forms.ScalarHomExt.FormsHomExt.scalar_hom_ext R S Γ(X₂.left, U) n |
| 44 | intro s a t |
| 45 | have ha : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap aR n).baseChange S (s ⊗ₜ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₂.left, U) a t) = |
| 46 | s ⊗ₜ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₁.left, V) (aR a) (fun i => aR (t i)) := |
| 47 | (LinearMap.baseChange_tmul (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap aR n) s _).trans |
| 48 | (congrArg (fun ω => s ⊗ₜ[R] ω) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_symbol aR n a t)) |
| 49 | change FormsScalarOpenMap.IntrinsicFormsScalarOpenMap.component R S X₁ Y₁ f₁ h₁ V T hT n |
| 50 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap aR n).baseChange S (s ⊗ₜ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₂.left, U) a t)) = |
| 51 | gS (FormsScalarOpenMap.IntrinsicFormsScalarOpenMap.component R S X₂ Y₂ f₂ h₂ U W hW n (s ⊗ₜ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₂.left, U) a t)) |
| 52 | have hb : gS (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₂.left, W) ((f₂.appLE U W hW) a) |
| 53 | (fun i => (f₂.appLE U W hW) (t i))) = |
| 54 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T) (aS ((f₂.appLE U W hW) a)) |
| 55 | (fun i => aS ((f₂.appLE U W hW) (t i))) := AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_symbol aS n _ _ |
| 56 | have hL : FormsScalarOpenMap.IntrinsicFormsScalarOpenMap.component R S X₁ Y₁ f₁ h₁ V T hT n |
| 57 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap aR n).baseChange S (s ⊗ₜ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₂.left, U) a t)) = |
| 58 | s • AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T) ((f₁.appLE V T hT) (aR a)) |
| 59 | (fun i => (f₁.appLE V T hT) (aR (t i))) := |
| 60 | (congrArg (FormsScalarOpenMap.IntrinsicFormsScalarOpenMap.component R S X₁ Y₁ f₁ h₁ V T hT n) ha).trans |
| 61 | (FormsScalarOpenMap.IntrinsicFormsScalarOpenMap.component_tmul_symbol R S X₁ Y₁ f₁ h₁ V T hT s (aR a) (fun i => aR (t i))) |
| 62 | have hmid : (s • AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T) ((f₁.appLE V T hT) (aR a)) |
| 63 | (fun i => (f₁.appLE V T hT) (aR (t i))) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form S Γ(Y₁.left, T) n) = |
| 64 | s • AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T) (aS ((f₂.appLE U W hW) a)) |
| 65 | (fun i => aS ((f₂.appLE U W hW) (t i))) := |
| 66 | congrArg (fun ω => s • ω) (congrArg₂ (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T)) |
| 67 | (ConcreteCategory.congr_hom hs a) (funext (fun i => ConcreteCategory.congr_hom hs (t i)))) |
| 68 | have hR : gS (FormsScalarOpenMap.IntrinsicFormsScalarOpenMap.component R S X₂ Y₂ f₂ h₂ U W hW n (s ⊗ₜ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(X₂.left, U) a t)) = |
| 69 | s • AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S Γ(Y₁.left, T) (aS ((f₂.appLE U W hW) a)) |
| 70 | (fun i => aS ((f₂.appLE U W hW) (t i))) := |
| 71 | (congrArg gS (FormsScalarOpenMap.IntrinsicFormsScalarOpenMap.component_tmul_symbol R S X₂ Y₂ f₂ h₂ U W hW s a t)).trans |
| 72 | ((gS.map_smul s _).trans (congrArg (fun ω => s • ω) hb)) |
| 73 | exact hL.trans (hmid.trans hR.symm) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.FormsScalarOpenNaturality.IntrinsicFormsScalarOpenMap |