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.AbelianModuli.HilbertConstruction.Localized.KernelSquare |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.SectionDifference |
| 3 | import Mathlib.RingTheory.TensorProduct.IsBaseChangePi |
| 4 | |
| 5 | /-! # Section Localization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.SectionLocalization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A sheaf map that localizes sections on a finite cover and its pairwise overlaps also localizes global sections. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] {X : TopCat.{u}} |
| 18 | {F G : TopCat.Presheaf (ModuleCat.{u} R) X} |
| 19 | {ι : Type v} (U : ι → Opens X) (α : F ⟶ G) |
| 20 | |
| 21 | def openSectionZeroMap : ((i : ι) → F.obj (op (U i))) →ₗ[R] |
| 22 | ((i : ι) → G.obj (op (U i))) := |
| 23 | LinearMap.pi fun i ↦ (α.app (op (U i))).hom.comp (LinearMap.proj i) |
| 24 | |
| 25 | def openSectionOneMap : ((i j : ι) → F.obj (op (U i ⊓ U j))) →ₗ[R] |
| 26 | ((i j : ι) → G.obj (op (U i ⊓ U j))) := |
| 27 | LinearMap.pi fun i ↦ (LinearMap.pi fun j ↦ |
| 28 | (α.app (op (U i ⊓ U j))).hom.comp (LinearMap.proj j)).comp (LinearMap.proj i) |
| 29 | |
| 30 | theorem openSectionMap_square : |
| 31 | (Open.SectionDifference.openSectionDifference G U).comp (openSectionZeroMap U α) = |
| 32 | (openSectionOneMap U α).comp (Open.SectionDifference.openSectionDifference F U) := by |
| 33 | ext x i j |
| 34 | change G.map (homOfLE inf_le_left : U i ⊓ U j ⟶ U i).op (α.app (op (U i)) (x i)) - |
| 35 | G.map (homOfLE inf_le_right : U i ⊓ U j ⟶ U j).op (α.app (op (U j)) (x j)) = |
| 36 | α.app (op (U i ⊓ U j)) |
| 37 | (F.map (homOfLE inf_le_left : U i ⊓ U j ⟶ U i).op (x i) - |
| 38 | F.map (homOfLE inf_le_right : U i ⊓ U j ⟶ U j).op (x j)) |
| 39 | rw [map_sub] |
| 40 | congr 1 |
| 41 | · exact (ConcreteCategory.congr_hom |
| 42 | (α.naturality (homOfLE inf_le_left : U i ⊓ U j ⟶ U i).op) (x i)).symm |
| 43 | · exact (ConcreteCategory.congr_hom |
| 44 | (α.naturality (homOfLE inf_le_right : U i ⊓ U j ⟶ U j).op) (x j)).symm |
| 45 | |
| 46 | theorem sheafSections_isLocalized_of_finite_cover [Finite ι] |
| 47 | (hF : F.IsSheaf) (hG : G.IsSheaf) (S : Submonoid R) (hU : iSup U = ⊤) |
| 48 | (h₀ : ∀ i, IsLocalizedModule S (α.app (op (U i))).hom) |
| 49 | (h₁ : ∀ i j, IsLocalizedModule S (α.app (op (U i ⊓ U j))).hom) : |
| 50 | IsLocalizedModule S (α.app (op ⊤)).hom := by |
| 51 | let (i : ι) := h₀ i |
| 52 | let (i j : ι) := h₁ i j |
| 53 | have : IsLocalizedModule S (openSectionZeroMap U α) := IsLocalizedModule.pi S _ |
| 54 | have : IsLocalizedModule S (openSectionOneMap U α) := by |
| 55 | let (i : ι) : IsLocalizedModule S |
| 56 | (LinearMap.pi fun j ↦ (α.app (op (U i ⊓ U j))).hom.comp (LinearMap.proj j)) := |
| 57 | IsLocalizedModule.pi S _ |
| 58 | exact IsLocalizedModule.pi S _ |
| 59 | let k := Localized.KernelSquare.kernelSquareMap (openSectionZeroMap U α) (openSectionOneMap U α) |
| 60 | (Open.SectionDifference.openSectionDifference F U) (Open.SectionDifference.openSectionDifference G U) (openSectionMap_square U α) |
| 61 | have : IsLocalizedModule S k := Localized.KernelSquare.kernelSquareMap_isLocalized S _ _ _ _ _ |
| 62 | let eF := Open.SectionDifference.globalOpenSectionKernelEquiv F U hF hU |
| 63 | let eG := Open.SectionDifference.globalOpenSectionKernelEquiv G U hG hU |
| 64 | have : IsLocalizedModule S (k.comp eF.toLinearMap) := |
| 65 | IsLocalizedModule.of_linearEquiv_right S k eF |
| 66 | have ht := IsLocalizedModule.of_linearEquiv S (k.comp eF.toLinearMap) eG.symm |
| 67 | convert ht using 1 |
| 68 | apply LinearMap.ext |
| 69 | intro x |
| 70 | apply eG.injective |
| 71 | rw [LinearMap.comp_apply, LinearEquiv.coe_coe, eG.apply_symm_apply] |
| 72 | apply Subtype.ext |
| 73 | funext i |
| 74 | exact (ConcreteCategory.congr_hom (α.naturality (U i).leTop.op) x).symm |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.SectionLocalization |