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.DivisorClass.Chern.Abelian.SheafLocalExact |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.ManifoldSheaf |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.LocallyConstant |
| 4 | import OAI.Analysis.DifferentialForms.Manifold.LocalPoincare |
| 5 | import OAI.AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf |
| 6 | |
| 7 | /-! # Manifold De Rham -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.ManifoldDeRham |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Original manifold forms and their proved de Rham exactness as abelian sheaves. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | |
| 22 | def abelianLocallyConstantComplexSheaf (X : TopCat.{0}) : TopCat.Sheaf AddCommGrpCat.{0} X := |
| 23 | (sheafCompose (Opens.grothendieckTopology X) |
| 24 | (forget₂ (ModuleCat.{0} ℂ) AddCommGrpCat.{0})).obj (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf X) |
| 25 | |
| 26 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 27 | (M : Type) [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 28 | |
| 29 | def abelianManifoldFormSheaf (n : ℕ) : TopCat.Sheaf AddCommGrpCat.{0} (TopCat.of M) := |
| 30 | (sheafCompose (Opens.grothendieckTopology (TopCat.of M)) |
| 31 | (forget₂ (ModuleCat.{0} ℂ) AddCommGrpCat.{0})).obj (Analysis.DifferentialForms.Manifold.ManifoldSheaf.manifoldFormSheaf E M n) |
| 32 | |
| 33 | def abelianManifoldFormSheafD (n : ℕ) : |
| 34 | abelianManifoldFormSheaf E M n ⟶ abelianManifoldFormSheaf E M (n + 1) := |
| 35 | ObjectProperty.homMk { |
| 36 | app U := AddCommGrpCat.ofHom (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (E := E) (U := U.unop) (n := n)).toAddMonoidHom |
| 37 | naturality := by |
| 38 | intro U V i |
| 39 | apply AddCommGrpCat.hom_ext |
| 40 | apply AddMonoidHom.ext |
| 41 | intro a |
| 42 | exact (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict_d (leOfHom i.unop) a).symm } |
| 43 | |
| 44 | theorem abelianManifoldFormSheafD_squared (n : ℕ) : |
| 45 | abelianManifoldFormSheafD E M n ≫ abelianManifoldFormSheafD E M (n + 1) = 0 := by |
| 46 | apply ObjectProperty.hom_ext |
| 47 | apply NatTrans.ext |
| 48 | funext U |
| 49 | apply AddCommGrpCat.hom_ext |
| 50 | apply AddMonoidHom.ext |
| 51 | intro a |
| 52 | exact Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d_squared a |
| 53 | |
| 54 | def abelianManifoldLocallyConstantInclusion : |
| 55 | abelianLocallyConstantComplexSheaf (TopCat.of M) ⟶ abelianManifoldFormSheaf E M 0 := |
| 56 | ObjectProperty.homMk { |
| 57 | app U := AddCommGrpCat.ofHom (Analysis.DifferentialForms.Manifold.LocallyConstant.locallyConstantToManifoldZeroForm E U.unop).toAddMonoidHom |
| 58 | naturality := by |
| 59 | intro U V i |
| 60 | apply AddCommGrpCat.hom_ext |
| 61 | apply AddMonoidHom.ext |
| 62 | intro f |
| 63 | exact (Analysis.DifferentialForms.Manifold.LocallyConstant.restrict_locallyConstantToManifoldZeroForm (E := E) (leOfHom i.unop) f).symm } |
| 64 | |
| 65 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 66 | theorem abelianManifoldLocallyConstantInclusion_mono : Mono (abelianManifoldLocallyConstantInclusion E M) := by |
| 67 | apply (CategoryTheory.Sheaf.Hom.mono_iff_presheaf_mono _ _ _).mpr |
| 68 | apply (NatTrans.mono_iff_mono_app _).mpr |
| 69 | intro U |
| 70 | exact (AddCommGrpCat.mono_iff_injective _).mpr (Analysis.DifferentialForms.Manifold.LocallyConstant.locallyConstantToManifoldZeroForm_injective (E := E) U.unop) |
| 71 | |
| 72 | theorem abelianManifoldLocallyConstantInclusion_d : |
| 73 | abelianManifoldLocallyConstantInclusion E M ≫ abelianManifoldFormSheafD E M 0 = 0 := by |
| 74 | apply ObjectProperty.hom_ext |
| 75 | apply NatTrans.ext |
| 76 | funext U |
| 77 | apply AddCommGrpCat.hom_ext |
| 78 | apply AddMonoidHom.ext |
| 79 | intro f |
| 80 | exact Analysis.DifferentialForms.Manifold.LocallyConstant.d_locallyConstantToManifoldZeroForm (E := E) U.unop f |
| 81 | |
| 82 | def abelianManifoldDeRhamZeroSequence : ShortComplex (TopCat.Sheaf AddCommGrpCat.{0} (TopCat.of M)) := |
| 83 | ShortComplex.mk (abelianManifoldLocallyConstantInclusion E M) (abelianManifoldFormSheafD E M 0) |
| 84 | (abelianManifoldLocallyConstantInclusion_d E M) |
| 85 | |
| 86 | theorem abelianManifoldDeRhamZeroSequence_exact : (abelianManifoldDeRhamZeroSequence E M).Exact := by |
| 87 | apply SheafLocalExact.abelianSheaf_exact_of_section_exact (TopCat.of M) |
| 88 | intro U |
| 89 | rw [ShortComplex.ab_exact_iff] |
| 90 | intro a ha |
| 91 | change Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d a = 0 at ha |
| 92 | have hr : a ∈ LinearMap.range (Analysis.DifferentialForms.Manifold.LocallyConstant.locallyConstantToManifoldZeroForm E U) := by |
| 93 | rw [Analysis.DifferentialForms.Manifold.LocallyConstant.range_locallyConstantToManifoldZeroForm] |
| 94 | exact ha |
| 95 | exact hr |
| 96 | |
| 97 | def abelianManifoldDeRhamStep (n : ℕ) : ShortComplex (TopCat.Sheaf AddCommGrpCat.{0} (TopCat.of M)) := |
| 98 | ShortComplex.mk (abelianManifoldFormSheafD E M n) (abelianManifoldFormSheafD E M (n + 1)) |
| 99 | (abelianManifoldFormSheafD_squared E M n) |
| 100 | |
| 101 | variable [FiniteDimensional ℝ E] |
| 102 | |
| 103 | theorem abelianManifoldDeRhamStep_exact (n : ℕ) : (abelianManifoldDeRhamStep E M n).Exact := by |
| 104 | apply SheafLocalExact.abelianSheaf_exact_of_local_lifts (TopCat.of M) (abelianManifoldDeRhamStep E M n) |
| 105 | intro U a ha x hx |
| 106 | change Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d a = 0 at ha |
| 107 | obtain ⟨V, hVU, hxV, t, ht⟩ := Analysis.DifferentialForms.Manifold.LocalPoincare.manifold_local_poincare U a ha ⟨x, hx⟩ |
| 108 | exact ⟨V, hxV, hVU, t, ht⟩ |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.ManifoldDeRham |