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.AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.LocallyConstantZeroForms |
| 3 | import OAI.AlgebraicTopology.DeRham.Comparison.ConstantLocallyConstant |
| 4 | import OAI.Analysis.DifferentialForms.Manifold.SmoothFormD |
| 5 | import Mathlib.Algebra.Category.ModuleCat.Kernels |
| 6 | import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic |
| 7 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Kernels |
| 8 | |
| 9 | /-! # Locally Constant Resolution -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicTopology.DeRham.Comparison.LocallyConstantResolution |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! |
| 16 | # The first exact step of the de Rham sheaf resolution |
| 17 | |
| 18 | The locally constant sheaf maps to the actual smooth zero-form sheaf. This |
| 19 | map is proved to be the categorical kernel of exterior differentiation. |
| 20 | The sheaf of locally constant functions was constructed independently of |
| 21 | forms, so the kernel identification is a theorem, not a definition. |
| 22 | -/ |
| 23 | |
| 24 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | variable (E : Type u) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 29 | |
| 30 | /-- The explicit inclusion of locally constant sections into smooth zero-forms. -/ |
| 31 | def locallyConstantToSmoothZeroPresheaf : |
| 32 | LocallyConstantSheaf.locallyConstantPresheaf (TopCat.of E) ⟶ Analysis.DifferentialForms.Manifold.Presheaf.smoothFormPresheaf E 0 where |
| 33 | app U := ModuleCat.ofHom (LocallyConstantZeroForms.locallyConstantToZeroForm U.unop) |
| 34 | naturality U V i := by |
| 35 | apply ModuleCat.hom_ext |
| 36 | apply LinearMap.ext |
| 37 | intro f |
| 38 | exact (LocallyConstantZeroForms.restrict_locallyConstantToZeroForm (leOfHom i.unop) f).symm |
| 39 | |
| 40 | /-- Exterior differentiation kills the explicit locally constant inclusion. -/ |
| 41 | theorem locallyConstantToSmoothZeroPresheaf_comp_d : |
| 42 | locallyConstantToSmoothZeroPresheaf E ≫ Analysis.DifferentialForms.Manifold.Presheaf.smoothFormPresheafD E 0 = 0 := by |
| 43 | apply NatTrans.ext |
| 44 | funext U |
| 45 | apply ModuleCat.hom_ext |
| 46 | apply LinearMap.ext |
| 47 | intro f |
| 48 | exact LocallyConstantZeroForms.d_locallyConstantToZeroForm U.unop f |
| 49 | |
| 50 | /-- The same actual inclusion, regarded as a morphism of genuine sheaves. -/ |
| 51 | def locallyConstantToSmoothZeroSheaf : |
| 52 | LocallyConstantSheaf.locallyConstantSheaf (TopCat.of E) ⟶ Analysis.DifferentialForms.Manifold.SmoothFormD.smoothFormSheaf E 0 := |
| 53 | ObjectProperty.homMk (locallyConstantToSmoothZeroPresheaf E) |
| 54 | |
| 55 | theorem locallyConstantToSmoothZeroSheaf_comp_d : |
| 56 | locallyConstantToSmoothZeroSheaf E ≫ Analysis.DifferentialForms.Manifold.SmoothFormD.smoothFormSheafD E 0 = 0 := by |
| 57 | apply CategoryTheory.Sheaf.hom_ext |
| 58 | exact locallyConstantToSmoothZeroPresheaf_comp_d E |
| 59 | |
| 60 | /-- Sectionwise exactness is sufficient to prove the presheaf kernel universal property. -/ |
| 61 | def locallyConstantPresheafKernelIsLimit : |
| 62 | IsLimit (KernelFork.ofι (locallyConstantToSmoothZeroPresheaf E) |
| 63 | (locallyConstantToSmoothZeroPresheaf_comp_d E)) := by |
| 64 | apply evaluationJointlyReflectsLimits |
| 65 | intro U |
| 66 | refine (isLimitMapConeForkEquiv' |
| 67 | ((evaluation (Opens (TopCat.of E))ᵒᵖ (ModuleCat.{u} ℂ)).obj U) |
| 68 | (locallyConstantToSmoothZeroPresheaf_comp_d E)).symm ?_ |
| 69 | change IsLimit (KernelFork.ofι |
| 70 | (f := (Analysis.DifferentialForms.Manifold.Presheaf.smoothFormPresheafD E 0).app U) |
| 71 | ((locallyConstantToSmoothZeroPresheaf E).app U) _) |
| 72 | apply ModuleCat.isLimitKernelFork |
| 73 | ((locallyConstantToSmoothZeroPresheaf E).app U) |
| 74 | ((Analysis.DifferentialForms.Manifold.Presheaf.smoothFormPresheafD E 0).app U) |
| 75 | · rw [LinearMap.exact_iff] |
| 76 | exact (LocallyConstantZeroForms.range_locallyConstantToZeroForm U.unop).symm |
| 77 | · exact LocallyConstantZeroForms.locallyConstantToZeroForm_injective U.unop |
| 78 | |
| 79 | /-- The independently defined locally constant sheaf is the categorical kernel |
| 80 | of the actual degree-zero exterior derivative. -/ |
| 81 | def locallyConstantSheafKernelIsLimit : |
| 82 | IsLimit (KernelFork.ofι (locallyConstantToSmoothZeroSheaf E) |
| 83 | (locallyConstantToSmoothZeroSheaf_comp_d E)) := by |
| 84 | let F := TopCat.Sheaf.forget (ModuleCat.{u} ℂ) (TopCat.of E) |
| 85 | apply isLimitOfReflects F |
| 86 | refine (isLimitMapConeForkEquiv' F (locallyConstantToSmoothZeroSheaf_comp_d E)).symm ?_ |
| 87 | exact locallyConstantPresheafKernelIsLimit E |
| 88 | |
| 89 | variable (V : Type) [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 90 | |
| 91 | /-- The standard constant complex sheaf, with the topological-sheaf wrapper explicit. -/ |
| 92 | abbrev constantComplexSheaf : TopCat.Sheaf (ModuleCat.{0} ℂ) (TopCat.of V) := |
| 93 | (constantSheaf (Opens.grothendieckTopology (TopCat.of V)) (ModuleCat.{0} ℂ)).obj |
| 94 | (ModuleCat.of ℂ ℂ) |
| 95 | |
| 96 | /-- The proved constant-sheaf identification in the topological-sheaf category. -/ |
| 97 | def constantComplexLocallyConstantIso : |
| 98 | constantComplexSheaf V ≅ LocallyConstantSheaf.locallyConstantSheaf (TopCat.of V) := |
| 99 | ConstantLocallyConstant.constantSheafLocallyConstantIso (TopCat.of V) |
| 100 | |
| 101 | /-- The canonical augmentation from mathlib's constant complex sheaf to smooth zero-forms. -/ |
| 102 | def constantComplexToSmoothZeroSheaf : |
| 103 | constantComplexSheaf V ⟶ Analysis.DifferentialForms.Manifold.SmoothFormD.smoothFormSheaf V 0 := |
| 104 | (constantComplexLocallyConstantIso V).hom ≫ |
| 105 | locallyConstantToSmoothZeroSheaf V |
| 106 | |
| 107 | theorem constantComplexToSmoothZeroSheaf_comp_d : |
| 108 | constantComplexToSmoothZeroSheaf V ≫ Analysis.DifferentialForms.Manifold.SmoothFormD.smoothFormSheafD V 0 = 0 := by |
| 109 | simp only [constantComplexToSmoothZeroSheaf, Category.assoc, |
| 110 | locallyConstantToSmoothZeroSheaf_comp_d, comp_zero] |
| 111 | |
| 112 | /-- The actual constant complex sheaf is the categorical kernel of the actual |
| 113 | degree-zero exterior derivative. This uses the proved constant-sheaf identification. -/ |
| 114 | def constantComplexSheafKernelIsLimit : |
| 115 | IsLimit (KernelFork.ofι (constantComplexToSmoothZeroSheaf V) |
| 116 | (constantComplexToSmoothZeroSheaf_comp_d V)) := by |
| 117 | refine IsLimit.ofIsoLimit (locallyConstantSheafKernelIsLimit V) ?_ |
| 118 | refine Fork.ext (constantComplexLocallyConstantIso V).symm ?_ |
| 119 | simp [constantComplexToSmoothZeroSheaf] |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicTopology.DeRham.Comparison.LocallyConstantResolution |