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.PELModuli.IntegralModel.LocalizedKernelSquare |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenCechDegreeZero |
| 3 | import Mathlib.RingTheory.TensorProduct.IsBaseChangePi |
| 4 | |
| 5 | /-! # Sheaf Sections Localization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.SheafSectionsLocalization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Localization of sections can be checked on a finite open cover and |
| 12 | its pairwise intersections. The proof uses actual sheaf gluing. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech |
| 17 | universe u v w |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] {X : TopCat.{v}} |
| 20 | {F G : TopCat.Sheaf (ModuleCat.{v} R) X} |
| 21 | {ι : Type w} (U : ι → Opens X) |
| 22 | |
| 23 | def sheafSectionsCechKernelEquiv (F : TopCat.Sheaf (ModuleCat.{v} R) X) |
| 24 | (hU : iSup U = ⊤) : |
| 25 | F.obj.obj (op ⊤) ≃ₗ[R] (Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 F U).ker := |
| 26 | LinearEquiv.ofBijective |
| 27 | ((Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCechUnit F U).codRestrict _ (fun s => |
| 28 | (Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCech_exact_degreeZero F U hU _).mpr ⟨s, rfl⟩)) |
| 29 | ⟨fun x y h => Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCechUnit_injective F U hU (congrArg Subtype.val h), by |
| 30 | intro x |
| 31 | obtain ⟨s, hs, _⟩ := Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCech_sections_glue F U hU x.val x.property |
| 32 | exact ⟨s, Subtype.ext hs⟩⟩ |
| 33 | |
| 34 | variable (α : F ⟶ G) |
| 35 | |
| 36 | def sheafCechZeroMap : Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 F U →ₗ[R] Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 G U := |
| 37 | .pi fun i => (α.hom.app (op (U i))).hom.comp (.proj i) |
| 38 | |
| 39 | def sheafCechOneMap : Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U →ₗ[R] Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 G U := |
| 40 | .pi fun i => (LinearMap.pi fun j => |
| 41 | (α.hom.app (op (U i ⊓ U j))).hom.comp (.proj j)).comp (.proj i) |
| 42 | |
| 43 | theorem sheafCechMap_square : |
| 44 | (Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 G U).comp (sheafCechZeroMap U α) = |
| 45 | (sheafCechOneMap U α).comp (Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 F U) := by |
| 46 | ext x i j |
| 47 | change G.obj.map (homOfLE inf_le_right : U i ⊓ U j ⟶ U j).op |
| 48 | (α.hom.app (op (U j)) (x j)) - |
| 49 | G.obj.map (homOfLE inf_le_left : U i ⊓ U j ⟶ U i).op |
| 50 | (α.hom.app (op (U i)) (x i)) = |
| 51 | α.hom.app (op (U i ⊓ U j)) |
| 52 | (F.obj.map (homOfLE inf_le_right : U i ⊓ U j ⟶ U j).op (x j) - |
| 53 | F.obj.map (homOfLE inf_le_left : U i ⊓ U j ⟶ U i).op (x i)) |
| 54 | rw [map_sub] |
| 55 | congr 1 |
| 56 | · exact (ConcreteCategory.congr_hom |
| 57 | (α.hom.naturality (homOfLE inf_le_right : U i ⊓ U j ⟶ U j).op) (x j)).symm |
| 58 | · exact (ConcreteCategory.congr_hom |
| 59 | (α.hom.naturality (homOfLE inf_le_left : U i ⊓ U j ⟶ U i).op) (x i)).symm |
| 60 | |
| 61 | theorem sheafSections_isLocalized_of_finite_cover [Finite ι] |
| 62 | (S : Submonoid R) (hU : iSup U = ⊤) |
| 63 | (h₀ : ∀ i, IsLocalizedModule S (α.hom.app (op (U i))).hom) |
| 64 | (h₁ : ∀ i j, IsLocalizedModule S (α.hom.app (op (U i ⊓ U j))).hom) : |
| 65 | IsLocalizedModule S (α.hom.app (op ⊤)).hom := by |
| 66 | let (i : ι) := h₀ i |
| 67 | let (i j : ι) := h₁ i j |
| 68 | have : IsLocalizedModule S (sheafCechZeroMap U α) := IsLocalizedModule.pi S _ |
| 69 | have : IsLocalizedModule S (sheafCechOneMap U α) := by |
| 70 | let (i : ι) : IsLocalizedModule S |
| 71 | (.pi fun j => (α.hom.app (op (U i ⊓ U j))).hom.comp (.proj j)) := |
| 72 | IsLocalizedModule.pi S _ |
| 73 | exact IsLocalizedModule.pi S _ |
| 74 | let k := LocalizedKernelSquare.kernelSquareMap (sheafCechZeroMap U α) (sheafCechOneMap U α) |
| 75 | (Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 F U) (Quotients.FiniteDescent.OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 G U) (sheafCechMap_square U α) |
| 76 | have : IsLocalizedModule S k := LocalizedKernelSquare.kernelSquareMap_isLocalized S _ _ _ _ _ |
| 77 | let eF := sheafSectionsCechKernelEquiv U F hU |
| 78 | let eG := sheafSectionsCechKernelEquiv U G hU |
| 79 | have : IsLocalizedModule S (k.comp eF.toLinearMap) := |
| 80 | IsLocalizedModule.of_linearEquiv_right S k eF |
| 81 | have ht := IsLocalizedModule.of_linearEquiv S (k.comp eF.toLinearMap) eG.symm |
| 82 | convert ht using 1 |
| 83 | ext x |
| 84 | apply eG.injective |
| 85 | rw [LinearMap.comp_apply, LinearEquiv.coe_coe, eG.apply_symm_apply] |
| 86 | apply Subtype.ext |
| 87 | funext i |
| 88 | exact (ConcreteCategory.congr_hom (α.hom.naturality (U i).leTop.op) x).symm |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.SheafSectionsLocalization |