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.Manifold.DolbeaultCharts |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.DolbeaultSheafMaps |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.ManifoldSheaf |
| 4 | import Mathlib.Algebra.Homology.Single |
| 5 | |
| 6 | /-! # Pure Manifold Dolbeault Sheaf -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.PureManifoldDolbeaultSheaf |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual pure Dolbeault sheaf complex on a complex manifold. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 22 | |
| 23 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 24 | [IsScalarTower ℝ ℂ E] (M : Type) [TopologicalSpace M] [ChartedSpace E M] |
| 25 | [IsManifold 𝓘(ℂ, E) ∞ M] |
| 26 | |
| 27 | def antiOpenManifoldFormPresheaf (q : ℕ) : TopCat.Presheaf (ModuleCat.{0} ℂ) (TopCat.of M) where |
| 28 | obj U := ModuleCat.of ℂ (Open.ManifoldBidegree.AntiOpenManifoldForm E U.unop q) |
| 29 | map h := ModuleCat.ofHom (Open.ManifoldBidegree.antiOpenManifoldFormRestrict (leOfHom h.unop)) |
| 30 | map_id U := by |
| 31 | apply ModuleCat.hom_ext |
| 32 | apply LinearMap.ext |
| 33 | intro form |
| 34 | exact Subtype.ext (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict_refl form.1) |
| 35 | map_comp f g := by |
| 36 | apply ModuleCat.hom_ext |
| 37 | apply LinearMap.ext |
| 38 | intro form |
| 39 | exact Subtype.ext (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict_trans (leOfHom f.unop) (leOfHom g.unop) form.1).symm |
| 40 | |
| 41 | theorem antiOpenManifoldFormPresheaf_isSheaf (q : ℕ) : |
| 42 | (antiOpenManifoldFormPresheaf E M q).IsSheaf := by |
| 43 | apply (TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing (antiOpenManifoldFormPresheaf E M q)).2 |
| 44 | intro ι U forms hcompat |
| 45 | have hlocal : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.Compatible (fun i => (forms i).1) := by |
| 46 | apply (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.compatible_iff_restrict _).2 |
| 47 | intro i j |
| 48 | exact congrArg Subtype.val (hcompat i j) |
| 49 | obtain ⟨form, hform, huniq⟩ := Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.existsUnique_glue_iSup _ hlocal |
| 50 | have hpure : Open.ManifoldBidegree.OpenManifoldHasBidegree 0 q form := by |
| 51 | intro e he y hy |
| 52 | obtain ⟨i, hi⟩ : ∃ i, e.symm y ∈ U i := by |
| 53 | have hym : e.symm y ∈ (⨆ i, U i) := hy.2 |
| 54 | simpa only [Opens.mem_iSup] using hym |
| 55 | have heq := congrArg (fun f : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (U i) q => f.extension.inChart e y) (hform i) |
| 56 | rw [Open.ManifoldBidegree.openManifold_restrict_inChart _ form e hi] at heq |
| 57 | rw [heq] |
| 58 | exact (forms i).2 e he y ⟨hy.1, hi⟩ |
| 59 | refine ⟨⟨form, hpure⟩, fun i => Subtype.ext (hform i), ?_⟩ |
| 60 | intro other hother |
| 61 | apply Subtype.ext |
| 62 | apply huniq other.1 |
| 63 | intro i |
| 64 | exact congrArg Subtype.val (hother i) |
| 65 | |
| 66 | def antiOpenManifoldFormSheaf (q : ℕ) : TopCat.Sheaf (ModuleCat.{0} ℂ) (TopCat.of M) where |
| 67 | obj := antiOpenManifoldFormPresheaf E M q |
| 68 | property := antiOpenManifoldFormPresheaf_isSheaf E M q |
| 69 | |
| 70 | def abelianAntiOpenManifoldFormSheaf (q : ℕ) : TopCat.Sheaf AddCommGrpCat.{0} (TopCat.of M) := |
| 71 | (sheafCompose (Opens.grothendieckTopology (TopCat.of M)) |
| 72 | (forget₂ (ModuleCat.{0} ℂ) AddCommGrpCat.{0})).obj (antiOpenManifoldFormSheaf E M q) |
| 73 | |
| 74 | def pureManifoldDolbeaultSheafMap (q : ℕ) : |
| 75 | abelianAntiOpenManifoldFormSheaf E M q ⟶ abelianAntiOpenManifoldFormSheaf E M (q + 1) := |
| 76 | ObjectProperty.homMk { |
| 77 | app U := AddCommGrpCat.ofHom (Manifold.DolbeaultCharts.pureOpenManifoldDolbeaultD U.unop q).toAddMonoidHom |
| 78 | naturality := by |
| 79 | intro U V i |
| 80 | apply AddCommGrpCat.hom_ext |
| 81 | apply AddMonoidHom.ext |
| 82 | intro form |
| 83 | exact (Manifold.DolbeaultCharts.pureOpenManifoldDolbeaultD_restrict (leOfHom i.unop) form).symm } |
| 84 | |
| 85 | theorem pureManifoldDolbeaultSheafMap_squared (q : ℕ) : |
| 86 | pureManifoldDolbeaultSheafMap E M q ≫ pureManifoldDolbeaultSheafMap E M (q + 1) = 0 := by |
| 87 | apply ObjectProperty.hom_ext |
| 88 | apply NatTrans.ext |
| 89 | funext U |
| 90 | apply AddCommGrpCat.hom_ext |
| 91 | apply AddMonoidHom.ext |
| 92 | intro form |
| 93 | exact Manifold.DolbeaultCharts.pureOpenManifoldDolbeaultD_squared U.unop q form |
| 94 | |
| 95 | def pureManifoldDolbeaultSheafComplex : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} (TopCat.of M)) ℕ := |
| 96 | CochainComplex.of (abelianAntiOpenManifoldFormSheaf E M) (pureManifoldDolbeaultSheafMap E M) |
| 97 | (pureManifoldDolbeaultSheafMap_squared E M) |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.DivisorClass.Chern.PureManifoldDolbeaultSheaf |