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.Analysis.DifferentialForms.Manifold.LocallyConstant |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.ManifoldSheaf |
| 3 | import OAI.AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf |
| 4 | import Mathlib.Algebra.Category.ModuleCat.Kernels |
| 5 | import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic |
| 6 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Kernels |
| 7 | |
| 8 | /-! # Locally Constant Kernel -/ |
| 9 | |
| 10 | namespace OAI.Analysis.DifferentialForms.Manifold.LocallyConstantKernel |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # The actual locally constant kernel of the manifold zero-form differential |
| 16 | |
| 17 | The locally constant sheaf is defined independently of differential forms. |
| 18 | Its explicit inclusion is proved to satisfy the categorical kernel universal |
| 19 | property using the established sectionwise image/kernel equality. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 23 | open scoped _root_.Manifold ContDiff |
| 24 | |
| 25 | open OAI.AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf |
| 26 | |
| 27 | universe u |
| 28 | |
| 29 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 30 | (M : Type u) [TopologicalSpace M] [ChartedSpace E M] |
| 31 | [IsManifold 𝓘(ℝ, E) ∞ M] |
| 32 | |
| 33 | /-- The actual inclusion of locally constant sections into manifold zero-forms. -/ |
| 34 | def manifoldLocallyConstantToZeroPresheaf : |
| 35 | AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantPresheaf (TopCat.of M) ⟶ ManifoldSheaf.manifoldFormPresheaf E M 0 where |
| 36 | app U := ModuleCat.ofHom (LocallyConstant.locallyConstantToManifoldZeroForm E U.unop) |
| 37 | naturality U V i := by |
| 38 | apply ModuleCat.hom_ext |
| 39 | apply LinearMap.ext |
| 40 | intro f |
| 41 | exact (LocallyConstant.restrict_locallyConstantToManifoldZeroForm (E := E) (leOfHom i.unop) f).symm |
| 42 | |
| 43 | /-- Exterior differentiation kills the actual locally constant inclusion. -/ |
| 44 | theorem manifoldLocallyConstantToZeroPresheaf_comp_d : |
| 45 | manifoldLocallyConstantToZeroPresheaf E M ≫ ManifoldSheaf.manifoldFormPresheafD E M 0 = 0 := by |
| 46 | apply NatTrans.ext |
| 47 | funext U |
| 48 | apply ModuleCat.hom_ext |
| 49 | apply LinearMap.ext |
| 50 | intro f |
| 51 | exact LocallyConstant.d_locallyConstantToManifoldZeroForm (E := E) U.unop f |
| 52 | |
| 53 | /-- The same inclusion between the independently constructed genuine sheaves. -/ |
| 54 | def manifoldLocallyConstantToZeroSheaf : |
| 55 | AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf (TopCat.of M) ⟶ ManifoldSheaf.manifoldFormSheaf E M 0 := |
| 56 | ObjectProperty.homMk (manifoldLocallyConstantToZeroPresheaf E M) |
| 57 | |
| 58 | theorem manifoldLocallyConstantToZeroSheaf_comp_d : |
| 59 | manifoldLocallyConstantToZeroSheaf E M ≫ ManifoldSheaf.manifoldFormSheafD E M 0 = 0 := by |
| 60 | apply CategoryTheory.Sheaf.hom_ext |
| 61 | exact manifoldLocallyConstantToZeroPresheaf_comp_d E M |
| 62 | |
| 63 | /-- The sectionwise image/kernel equality gives the presheaf kernel universal property. -/ |
| 64 | def manifoldLocallyConstantPresheafKernelIsLimit : |
| 65 | IsLimit (KernelFork.ofι (manifoldLocallyConstantToZeroPresheaf E M) |
| 66 | (manifoldLocallyConstantToZeroPresheaf_comp_d E M)) := by |
| 67 | apply evaluationJointlyReflectsLimits |
| 68 | intro U |
| 69 | refine (isLimitMapConeForkEquiv' |
| 70 | ((evaluation (Opens (TopCat.of M))ᵒᵖ (ModuleCat.{u} ℂ)).obj U) |
| 71 | (manifoldLocallyConstantToZeroPresheaf_comp_d E M)).symm ?_ |
| 72 | change IsLimit (KernelFork.ofι |
| 73 | (f := (ManifoldSheaf.manifoldFormPresheafD E M 0).app U) |
| 74 | ((manifoldLocallyConstantToZeroPresheaf E M).app U) _) |
| 75 | apply ModuleCat.isLimitKernelFork |
| 76 | ((manifoldLocallyConstantToZeroPresheaf E M).app U) |
| 77 | ((ManifoldSheaf.manifoldFormPresheafD E M 0).app U) |
| 78 | · rw [LinearMap.exact_iff] |
| 79 | exact (LocallyConstant.range_locallyConstantToManifoldZeroForm (E := E) U.unop).symm |
| 80 | · exact LocallyConstant.locallyConstantToManifoldZeroForm_injective (E := E) U.unop |
| 81 | |
| 82 | /-- The genuine locally constant sheaf is the kernel of the actual manifold d0. -/ |
| 83 | def manifoldLocallyConstantSheafKernelIsLimit : |
| 84 | IsLimit (KernelFork.ofι (manifoldLocallyConstantToZeroSheaf E M) |
| 85 | (manifoldLocallyConstantToZeroSheaf_comp_d E M)) := by |
| 86 | let F := TopCat.Sheaf.forget (ModuleCat.{u} ℂ) (TopCat.of M) |
| 87 | apply isLimitOfReflects F |
| 88 | refine (isLimitMapConeForkEquiv' F |
| 89 | (manifoldLocallyConstantToZeroSheaf_comp_d E M)).symm ?_ |
| 90 | exact manifoldLocallyConstantPresheafKernelIsLimit E M |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.Analysis.DifferentialForms.Manifold.LocallyConstantKernel |