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.Kunneth.CapFinitenessOf |
| 2 | import OAI.AlgebraicTopology.Duality.Poincare.Manifold |
| 3 | import OAI.AlgebraicGeometry.Betti.ProjectivePresentationCohomology |
| 4 | import OAI.AlgebraicTopology.Cohomology.Singular.UniversalCoefficient |
| 5 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 6 | |
| 7 | /-! # Projective Finiteness Le -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicTopology.Kunneth.ProjectiveFinitenessLe |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Finiteness of rational cohomology, obtained from the actual cap duality. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open OAI.AlgebraicTopology.Cohomology.Singular.UniversalCoefficient OAI.AlgebraicTopology.Duality.Poincare.Manifold |
| 19 | open scoped _root_.Manifold |
| 20 | |
| 21 | namespace Construction.ProjectiveFiniteness |
| 22 | |
| 23 | variable (d : ℕ) {M : Type} [TopologicalSpace M] [T2Space M] [CompactSpace M] |
| 24 | [ChartedSpace (Fin d → ℂ) M] [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 M] |
| 25 | |
| 26 | theorem manifold_homology_finite_of_le (q : ℕ) (hq : q ≤ 2 * d) : |
| 27 | FiniteDimensional ℚ ((Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) (TopCat.of M)).homology q) := by |
| 28 | let p := 2 * d - q |
| 29 | have hpq : p + q = 2 * d := Nat.sub_add_cancel hq |
| 30 | let z := Duality.Poincare.IntegralHomologyCoefficients.integralToScalarSingularHomology (R := ℚ) (TopCat.of M) (p + q) |
| 31 | (Duality.Poincare.CompactMeaning.complexFundamentalClassInDegree d (M := M) (p + q) hpq) |
| 32 | apply CapFinitenessOf.Construction.CapFiniteness.finite_homology_of_cap_surjective (TopCat.toSSet.obj (TopCat.of M)) p q z |
| 33 | exact (Duality.Poincare.Manifold.compactComplexManifoldPoincareDuality d (M := M) p q hpq).toLinearEquiv.surjective |
| 34 | |
| 35 | include d in |
| 36 | /-- Compact complex manifolds have finite-dimensional rational cohomology |
| 37 | in every degree, including degrees above their real dimension. -/ |
| 38 | theorem manifold_cohomology_finite (p : ℕ) : |
| 39 | FiniteDimensional ℚ (Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of M) p) := by |
| 40 | by_cases hp : p ≤ 2 * d |
| 41 | · let q := 2 * d - p |
| 42 | have hpq : p + q = 2 * d := Nat.add_sub_of_le hp |
| 43 | let : FiniteDimensional ℚ |
| 44 | ((Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) (TopCat.of M)).homology q) := |
| 45 | manifold_homology_finite_of_le d q (Nat.sub_le _ _) |
| 46 | exact Module.Finite.of_injective |
| 47 | (Duality.Poincare.Manifold.compactComplexManifoldPoincareDuality d (M := M) p q hpq).toLinearEquiv.toLinearMap |
| 48 | (Duality.Poincare.Manifold.compactComplexManifoldPoincareDuality d (M := M) p q hpq).toLinearEquiv.injective |
| 49 | · let : Subsingleton (Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of M) p) := |
| 50 | ModuleCat.subsingleton_of_isZero |
| 51 | (Duality.Poincare.Manifold.compactComplexManifold_singularCohomology_isZero d (M := M) p (by omega)) |
| 52 | infer_instance |
| 53 | |
| 54 | /-- The manifold hypotheses hold for the actual analytic realization. -/ |
| 55 | theorem integralProjective_cohomology_finite (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (n : ℕ) : |
| 56 | FiniteDimensional ℚ (V.rationalCohomology n) := |
| 57 | manifold_cohomology_finite V.complexDimension (M := V.analyticSpace) n |
| 58 | |
| 59 | /-- The finite clopen component decomposition covers arbitrary smooth |
| 60 | projective presentations, including the empty variety. -/ |
| 61 | theorem projective_cohomology_finite (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (n : ℕ) : |
| 62 | FiniteDimensional ℚ (P.rationalCohomology n) := by |
| 63 | let : ∀ C : irreducibleComponents P.carrier, |
| 64 | FiniteDimensional ℚ ((P.componentVariety C).rationalCohomology n) := |
| 65 | fun C => integralProjective_cohomology_finite (P.componentVariety C) n |
| 66 | exact Module.Finite.of_injective |
| 67 | (P.componentBettiEquiv (ModuleCat.of ℚ ℚ) n).toLinearMap |
| 68 | (P.componentBettiEquiv (ModuleCat.of ℚ ℚ) n).injective |
| 69 | |
| 70 | theorem finite_homology_of_finite_cohomology {k : Type} [Field k] |
| 71 | (X : TopCat.{0}) (n : ℕ) |
| 72 | [FiniteDimensional k (Cohomology.Singular.Basic.singularCohomology (ModuleCat.of k k) X n)] : |
| 73 | FiniteDimensional k ((Cohomology.Singular.Evaluation.singularScalarChains (R := k) X).homology n) := by |
| 74 | let : Module.Finite k (Module.Dual k ((Cohomology.Singular.Evaluation.singularScalarChains (R := k) X).homology n)) := |
| 75 | Module.Finite.of_surjective (Cohomology.Singular.UniversalCoefficient.singularUniversalCoefficientEquiv X n).toLinearMap |
| 76 | (Cohomology.Singular.UniversalCoefficient.singularUniversalCoefficientEquiv X n).surjective |
| 77 | exact (Module.finite_dual_iff k).mp inferInstance |
| 78 | |
| 79 | theorem projective_homology_finite (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (n : ℕ) : |
| 80 | FiniteDimensional ℚ |
| 81 | ((Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) (AlgebraicGeometry.Betti.Scheme.schemePointSpace P.toOver)).homology n) := by |
| 82 | let : FiniteDimensional ℚ (P.rationalCohomology n) := projective_cohomology_finite P n |
| 83 | exact finite_homology_of_finite_cohomology (AlgebraicGeometry.Betti.Scheme.schemePointSpace P.toOver) n |
| 84 | |
| 85 | end Construction.ProjectiveFiniteness |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicTopology.Kunneth.ProjectiveFinitenessLe |