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.Comparison.Betti.Exterior.ModuleSheaf |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves |
| 3 | |
| 4 | /-! # Exterior Presheaf -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.ExteriorPresheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual open-image section isomorphism respects complex scalars and restrictions. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | attribute [local instance] Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra |
| 17 | |
| 18 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) [IsOpenImmersion f.left] |
| 19 | |
| 20 | def openImageSectionAlgHom (U : X.left.Opens) : |
| 21 | Γ(Y.left, f.left ''ᵁ U) →ₐ[ℂ] Γ(X.left, U) where |
| 22 | __ := (f.left.appIso U).hom.hom |
| 23 | commutes' c := by |
| 24 | have h := Scheme.Hom.appLE_comp_appLE f.left Y.hom ⊤ (f.left ''ᵁ U) U le_top |
| 25 | (f.left.preimage_image_eq U).ge |
| 26 | rw [← f.left.appIso_hom'] at h |
| 27 | have hw := congrArg (fun g : X.left ⟶ Foundations.Scheme.ProjectiveSpace.complexBase => g.appLE ⊤ U le_top) (Over.w f) |
| 28 | exact ConcreteCategory.congr_hom (h.trans hw) ((Scheme.ΓSpecIso (.of ℂ)).inv c) |
| 29 | |
| 30 | def openImageSectionAlgEquiv (U : X.left.Opens) : |
| 31 | Γ(Y.left, f.left ''ᵁ U) ≃ₐ[ℂ] Γ(X.left, U) := |
| 32 | AlgEquiv.ofBijective (openImageSectionAlgHom f U) |
| 33 | (ConcreteCategory.bijective_of_isIso (f.left.appIso U).hom) |
| 34 | |
| 35 | theorem openImageSectionAlgHom_naturality {U V : X.left.Opensᵒᵖ} (i : U ⟶ V) : |
| 36 | (openImageSectionAlgHom f V.unop).comp |
| 37 | (((Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras ℂ Y).map |
| 38 | (f.left.opensFunctor.op.map i)).hom) = |
| 39 | (((Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras ℂ X).map i).hom).comp |
| 40 | (openImageSectionAlgHom f U.unop) := by |
| 41 | ext a |
| 42 | exact ConcreteCategory.congr_hom (f.left.appIso_hom_naturality i) a |
| 43 | |
| 44 | end |
| 45 | |
| 46 | /-! Restriction of the actual exterior-form presheaves, with their full coefficient actions. -/ |
| 47 | |
| 48 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.TopologicalSpace |
| 49 | |
| 50 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham |
| 51 | |
| 52 | attribute [local instance] Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra |
| 53 | |
| 54 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) [IsOpenImmersion f.left] |
| 55 | |
| 56 | def openRestrictionRingHom : X.left.ringCatSheaf ⟶ |
| 57 | (f.left.opensFunctor.sheafPushforwardContinuous RingCat.{0} |
| 58 | (Opens.grothendieckTopology X.left) (Opens.grothendieckTopology Y.left)).obj |
| 59 | Y.left.ringCatSheaf := by |
| 60 | let α : X.left.presheaf ⟶ f.left.opensFunctor.op ⋙ Y.left.presheaf := |
| 61 | { app U := (f.left.appIso U.unop).inv |
| 62 | naturality U V i := f.left.appIso_inv_naturality i } |
| 63 | exact ⟨Functor.whiskerRight α (forget₂ CommRingCat RingCat)⟩ |
| 64 | |
| 65 | def restrictedExteriorModulePresheaf (n : ℕ) : X.left.PresheafOfModules := |
| 66 | (PresheafOfModules.pushforward (openRestrictionRingHom f).hom).obj |
| 67 | (Exterior.ModuleSheaf.exteriorFormsModulePresheaf Y n) |
| 68 | |
| 69 | def exteriorOpenModuleMap (n : ℕ) (U : X.left.Opensᵒᵖ) : |
| 70 | (restrictedExteriorModulePresheaf f n).obj U ⟶ |
| 71 | (Exterior.ModuleSheaf.exteriorFormsModulePresheaf X n).obj U := |
| 72 | ModuleCat.ofHom (X := (restrictedExteriorModulePresheaf f n).obj U) |
| 73 | (Y := (Exterior.ModuleSheaf.exteriorFormsModulePresheaf X n).obj U) |
| 74 | { toFun := Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap (CommAlgCat.ofHom (openImageSectionAlgHom f U.unop)) n |
| 75 | map_add' := by intros; exact map_add _ _ _ |
| 76 | map_smul' a ω := by |
| 77 | change Γ(X.left, U.unop) at a |
| 78 | change Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.Forms (CommAlgCat.of ℂ Γ(Y.left, f.left ''ᵁ U.unop)) n at ω |
| 79 | change Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap (CommAlgCat.ofHom (openImageSectionAlgHom f U.unop)) n |
| 80 | ((f.left.appIso U.unop).inv a • ω) = |
| 81 | a • Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap (CommAlgCat.ofHom (openImageSectionAlgHom f U.unop)) n ω |
| 82 | erw [Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap_smul] |
| 83 | congr 1 |
| 84 | exact ConcreteCategory.congr_hom (f.left.appIso U.unop).inv_hom_id a } |
| 85 | |
| 86 | theorem exteriorOpenModuleMap_isIso (n : ℕ) (U : X.left.Opensᵒᵖ) : |
| 87 | IsIso (exteriorOpenModuleMap f n U) := by |
| 88 | let e := (Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsFunctor (R := ℂ) n).mapIso |
| 89 | (CommAlgCat.isoMk (openImageSectionAlgEquiv f U.unop)) |
| 90 | apply (ConcreteCategory.isIso_iff_bijective (exteriorOpenModuleMap f n U)).mpr |
| 91 | exact ConcreteCategory.bijective_of_isIso e.hom |
| 92 | |
| 93 | theorem exteriorOpenModuleMap_naturality (n : ℕ) {U V : X.left.Opensᵒᵖ} (i : U ⟶ V) : |
| 94 | (restrictedExteriorModulePresheaf f n).map i ≫ |
| 95 | (ModuleCat.restrictScalars (X.left.ringCatSheaf.obj.map i).hom).map |
| 96 | (exteriorOpenModuleMap f n V) = |
| 97 | exteriorOpenModuleMap f n U ≫ (Exterior.ModuleSheaf.exteriorFormsModulePresheaf X n).map i := by |
| 98 | apply ConcreteCategory.hom_ext |
| 99 | intro ω |
| 100 | change Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap (CommAlgCat.ofHom (openImageSectionAlgHom f V.unop)) n |
| 101 | (Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap ((Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras ℂ Y).map (f.left.opensFunctor.op.map i)) n ω) = |
| 102 | Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap ((Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras ℂ X).map i) n |
| 103 | (Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap (CommAlgCat.ofHom (openImageSectionAlgHom f U.unop)) n ω) |
| 104 | erw [← Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap_comp, ← Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap_comp] |
| 105 | have h : (Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras ℂ Y).map (f.left.opensFunctor.op.map i) ≫ |
| 106 | CommAlgCat.ofHom (openImageSectionAlgHom f V.unop) = |
| 107 | CommAlgCat.ofHom (openImageSectionAlgHom f U.unop) ≫ (Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras ℂ X).map i := by |
| 108 | apply CommAlgCat.hom_ext |
| 109 | exact openImageSectionAlgHom_naturality f i |
| 110 | erw [h] |
| 111 | rfl |
| 112 | |
| 113 | def exteriorOpenPresheafIso (n : ℕ) : |
| 114 | restrictedExteriorModulePresheaf f n ≅ Exterior.ModuleSheaf.exteriorFormsModulePresheaf X n := by |
| 115 | have (U : X.left.Opensᵒᵖ) : IsIso (exteriorOpenModuleMap f n U) := |
| 116 | exteriorOpenModuleMap_isIso f n U |
| 117 | exact PresheafOfModules.isoMk (fun U => asIso (exteriorOpenModuleMap f n U)) |
| 118 | (fun {_ _} i => exteriorOpenModuleMap_naturality f n i) |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.ExteriorPresheaf |