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.Quotients.FiniteDescent.OpenCechShortComplex |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.BaseModule |
| 3 | |
| 4 | /-! # Cech Coefficient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechCoefficient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ordinary Cech short complexes are functorial in their actual sheaf |
| 11 | coefficients. In particular, a line-bundle trivialization acts componentwise. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.AlgebraicGeometry |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.CechCoefficientFunctor |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenCechShortComplex.Construction.CubeCech |
| 23 | |
| 24 | variable {R : Type u} [CommRing R] {X : TopCat.{u}} {ι : Type u} |
| 25 | variable (U : ι → Opens X) |
| 26 | variable {F G : TopCat.Sheaf (ModuleCat.{u} R) X} (a : F ⟶ G) |
| 27 | |
| 28 | def zero : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 F U →ₗ[R] OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 G U := |
| 29 | LinearMap.pi fun i => (a.hom.app (op (U i))).hom.comp (LinearMap.proj i) |
| 30 | |
| 31 | def one : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U →ₗ[R] OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 G U where |
| 32 | toFun z i j := a.hom.app (op (U i ⊓ U j)) (z i j) |
| 33 | map_add' z w := by funext i j; exact map_add _ _ _ |
| 34 | map_smul' r z := by funext i j; exact map_smul _ _ _ |
| 35 | |
| 36 | def two : OpenCechShortComplex.Construction.CubeCech.openModuleCechC2 F U →ₗ[R] OpenCechShortComplex.Construction.CubeCech.openModuleCechC2 G U where |
| 37 | toFun z i j k := a.hom.app (op ((U i ⊓ U j) ⊓ U k)) (z i j k) |
| 38 | map_add' z w := by funext i j k; exact map_add _ _ _ |
| 39 | map_smul' r z := by funext i j k; exact map_smul _ _ _ |
| 40 | |
| 41 | theorem restrict {V W : Opens X} (h : W ≤ V) (s : F.obj.obj (op V)) : |
| 42 | a.hom.app (op W) (F.obj.map (homOfLE h).op s) = |
| 43 | G.obj.map (homOfLE h).op (a.hom.app (op V) s) := |
| 44 | ConcreteCategory.congr_hom (a.hom.naturality (homOfLE h).op) s |
| 45 | |
| 46 | theorem differential_zero (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 F U) : |
| 47 | one U a (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 F U z) = OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 G U (zero U a z) := by |
| 48 | funext i j |
| 49 | change a.hom.app (op (U i ⊓ U j)) |
| 50 | (F.obj.map (homOfLE inf_le_right).op (z j) - |
| 51 | F.obj.map (homOfLE inf_le_left).op (z i)) = _ |
| 52 | rw [map_sub, restrict, restrict] |
| 53 | rfl |
| 54 | |
| 55 | theorem differential_one (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) : |
| 56 | two U a (OpenCechShortComplex.Construction.CubeCech.openModuleCechD1 F U z) = OpenCechShortComplex.Construction.CubeCech.openModuleCechD1 G U (one U a z) := by |
| 57 | funext i j k |
| 58 | change a.hom.app (op ((U i ⊓ U j) ⊓ U k)) |
| 59 | (F.obj.map (homOfLE _).op (z i j) + F.obj.map (homOfLE _).op (z j k) - |
| 60 | F.obj.map (homOfLE _).op (z i k)) = _ |
| 61 | rw [map_sub, map_add, restrict, restrict, restrict] |
| 62 | rfl |
| 63 | |
| 64 | def map : OpenCechShortComplex.Construction.CubeCech.openModuleCechShortComplex F U ⟶ OpenCechShortComplex.Construction.CubeCech.openModuleCechShortComplex G U where |
| 65 | τ₁ := ModuleCat.ofHom (zero U a) |
| 66 | τ₂ := ModuleCat.ofHom (one U a) |
| 67 | τ₃ := ModuleCat.ofHom (two U a) |
| 68 | comm₁₂ := by |
| 69 | apply ModuleCat.hom_ext |
| 70 | apply LinearMap.ext |
| 71 | intro z |
| 72 | exact (differential_zero U a z).symm |
| 73 | comm₂₃ := by |
| 74 | apply ModuleCat.hom_ext |
| 75 | apply LinearMap.ext |
| 76 | intro z |
| 77 | exact (differential_one U a z).symm |
| 78 | |
| 79 | def functor : TopCat.Sheaf (ModuleCat.{u} R) X ⥤ ShortComplex (ModuleCat.{u} R) where |
| 80 | obj F := OpenCechShortComplex.Construction.CubeCech.openModuleCechShortComplex F U |
| 81 | map a := CechCoefficientFunctor.map U a |
| 82 | map_id F := by |
| 83 | apply ShortComplex.hom_ext <;> apply ModuleCat.hom_ext <;> rfl |
| 84 | map_comp a b := by |
| 85 | apply ShortComplex.hom_ext <;> apply ModuleCat.hom_ext <;> rfl |
| 86 | |
| 87 | def moduleSheafFunctor {X S : Scheme.{u}} (π : X ⟶ S) : |
| 88 | X.Modules ⥤ TopCat.Sheaf (ModuleCat.{u} Γ(S, ⊤)) (Scheme.forgetToTop.obj X) where |
| 89 | obj M := BaseModule.Construction.BaseModuleSheaf.sheaf π M |
| 90 | map a := ⟨(SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafFunctor π).map a⟩ |
| 91 | map_id M := by apply Sheaf.hom_ext; exact (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafFunctor π).map_id M |
| 92 | map_comp a b := by apply Sheaf.hom_ext; exact (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafFunctor π).map_comp a b |
| 93 | |
| 94 | def moduleFunctor {X S : Scheme.{u}} (π : X ⟶ S) {ι : Type u} (U : ι → X.Opens) : |
| 95 | X.Modules ⥤ ShortComplex (ModuleCat.{u} Γ(S, ⊤)) := moduleSheafFunctor π ⋙ functor U |
| 96 | |
| 97 | end Construction.CechCoefficientFunctor |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechCoefficient |