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.CycleClass.Geometric.LocalHomology |
| 2 | import Mathlib.AlgebraicTopology.SingularHomology.HomotopyInvariance |
| 3 | import Mathlib.AlgebraicTopology.SingularHomology.HomologyZero |
| 4 | import Mathlib.Analysis.Convex.Contractible |
| 5 | import Mathlib.Analysis.Complex.Basic |
| 6 | |
| 7 | /-! # Contractible Model -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.ContractibleModel.Cycles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Singular homology of contractible complex normal models |
| 15 | |
| 16 | The chain and homology objects here are mathlib's genuine singular chains. |
| 17 | Continuous homotopy equivalences induce chain homotopy equivalences. Combining |
| 18 | this with the computation for a point proves positive-degree vanishing. |
| 19 | |
| 20 | The complex normal model is the actual topological vector space `Fin p → ℂ`. |
| 21 | An explicit straight-line contraction is given. This file does not compute |
| 22 | its punctured-space or local homology and does not postulate an orientation |
| 23 | class or a cycle class map. |
| 24 | -/ |
| 25 | |
| 26 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicTopology |
| 27 | |
| 28 | variable {R : Type} [Ring R] |
| 29 | |
| 30 | /-- A genuine homotopy equivalence induces a homotopy equivalence of singular |
| 31 | chain complexes with the indicated coefficient module. -/ |
| 32 | def singularChainsHomotopyEquiv (M : ModuleCat.{0} R) |
| 33 | {X Y : TopCat.{0}} (e : ContinuousMap.HomotopyEquiv X Y) : |
| 34 | _root_.HomotopyEquiv |
| 35 | (((singularChainComplexFunctor (ModuleCat.{0} R)).obj M).obj X) |
| 36 | (((singularChainComplexFunctor (ModuleCat.{0} R)).obj M).obj Y) where |
| 37 | hom := ((singularChainComplexFunctor (ModuleCat.{0} R)).obj M).map |
| 38 | (TopCat.ofHom e.toFun) |
| 39 | inv := ((singularChainComplexFunctor (ModuleCat.{0} R)).obj M).map |
| 40 | (TopCat.ofHom e.invFun) |
| 41 | homotopyHomInvId := by |
| 42 | have H : TopCat.Homotopy |
| 43 | (TopCat.ofHom e.toFun ≫ TopCat.ofHom e.invFun) (𝟙 X) := e.left_inv.some |
| 44 | simpa only [CategoryTheory.Functor.map_comp, CategoryTheory.Functor.map_id] using |
| 45 | H.singularChainComplexFunctorObjMap M |
| 46 | homotopyInvHomId := by |
| 47 | have H : TopCat.Homotopy |
| 48 | (TopCat.ofHom e.invFun ≫ TopCat.ofHom e.toFun) (𝟙 Y) := e.right_inv.some |
| 49 | simpa only [CategoryTheory.Functor.map_comp, CategoryTheory.Functor.map_id] using |
| 50 | H.singularChainComplexFunctorObjMap M |
| 51 | |
| 52 | /-- Singular homology is invariant under an actual continuous homotopy |
| 53 | equivalence. -/ |
| 54 | def singularHomologyIsoOfHomotopyEquiv (M : ModuleCat.{0} R) |
| 55 | {X Y : TopCat.{0}} (e : ContinuousMap.HomotopyEquiv X Y) (n : ℕ) : |
| 56 | ((singularHomologyFunctor (ModuleCat.{0} R) n).obj M).obj X ≅ |
| 57 | ((singularHomologyFunctor (ModuleCat.{0} R) n).obj M).obj Y := |
| 58 | (singularChainsHomotopyEquiv M e).toHomologyIso n |
| 59 | |
| 60 | /-- Positive-degree singular homology of a contractible space is zero. -/ |
| 61 | theorem isZero_singularHomology_of_contractible (M : ModuleCat.{0} R) |
| 62 | (X : TopCat.{0}) [ContractibleSpace X] (n : ℕ) (hn : n ≠ 0) : |
| 63 | IsZero (((singularHomologyFunctor (ModuleCat.{0} R) n).obj M).obj X) := by |
| 64 | obtain ⟨e⟩ := ContractibleSpace.hequiv_unit X |
| 65 | exact (isZero_singularHomologyFunctor_of_totallyDisconnectedSpace |
| 66 | (ModuleCat.{0} R) n M (TopCat.of Unit) hn).of_iso |
| 67 | (singularHomologyIsoOfHomotopyEquiv M (Y := TopCat.of Unit) e n) |
| 68 | |
| 69 | /-- The integral specialization, expressed in the absolute chain objects |
| 70 | used by the relative and local homology construction. -/ |
| 71 | theorem isZero_integralSingularHomology_of_contractible |
| 72 | (X : TopCat.{0}) [ContractibleSpace X] (n : ℕ) (hn : n ≠ 0) : |
| 73 | IsZero ((LocalHomology.Cycles.integralSingularChains X).homology n) := |
| 74 | isZero_singularHomology_of_contractible (ModuleCat.of ℤ ℤ) X n hn |
| 75 | |
| 76 | /-- The genuine integral singular chain complex of a contractible space |
| 77 | is exact in every positive degree. -/ |
| 78 | theorem integralSingularChains_exactAt_of_contractible |
| 79 | (X : TopCat.{0}) [ContractibleSpace X] (n : ℕ) (hn : n ≠ 0) : |
| 80 | (LocalHomology.Cycles.integralSingularChains X).ExactAt n := by |
| 81 | rw [HomologicalComplex.exactAt_iff_isZero_homology] |
| 82 | exact isZero_integralSingularHomology_of_contractible X n hn |
| 83 | |
| 84 | /-- The canonical augmentation computes integral H0 of a path-connected |
| 85 | space, with no choice of homology generator. -/ |
| 86 | def integralSingularH0Iso (X : TopCat.{0}) [PathConnectedSpace X] : |
| 87 | (LocalHomology.Cycles.integralSingularChains X).homology 0 ≅ ModuleCat.of ℤ ℤ := by |
| 88 | let e := asIso (X.singularHomology₀ε (C := ModuleCat.{0} ℤ) (ModuleCat.of ℤ ℤ)) |
| 89 | exact e |
| 90 | |
| 91 | /-- Explicit straight-line contraction of the complex normal coordinate |
| 92 | space, starting with the identity and ending at the zero vector. -/ |
| 93 | def complexNormalModelContraction (p : ℕ) : |
| 94 | ContinuousMap.Homotopy (ContinuousMap.id (Fin p → ℂ)) |
| 95 | (ContinuousMap.const (Fin p → ℂ) 0) where |
| 96 | toFun q := (1 - (q.1 : ℝ)) • q.2 |
| 97 | continuous_toFun := by fun_prop |
| 98 | map_zero_left x := by simp |
| 99 | map_one_left x := by simp |
| 100 | |
| 101 | theorem complexNormalModelContraction_apply (p : ℕ) |
| 102 | (t : unitInterval) (x : Fin p → ℂ) : |
| 103 | complexNormalModelContraction p (t, x) = (1 - (t : ℝ)) • x := rfl |
| 104 | |
| 105 | /-- The complex normal coordinate space is contractible through the displayed |
| 106 | straight-line contraction. -/ |
| 107 | theorem complexNormalModel_contractible (p : ℕ) : ContractibleSpace (Fin p → ℂ) := |
| 108 | (contractible_iff_id_nullhomotopic (Fin p → ℂ)).mpr |
| 109 | ⟨0, ⟨complexNormalModelContraction p⟩⟩ |
| 110 | |
| 111 | /-- Positive-degree integral homology vanishes on the complex normal model. -/ |
| 112 | theorem isZero_complexNormalModelHomology (p n : ℕ) (hn : n ≠ 0) : |
| 113 | IsZero ((LocalHomology.Cycles.integralSingularChains (TopCat.of (Fin p → ℂ))).homology n) := by |
| 114 | let := complexNormalModel_contractible p |
| 115 | exact isZero_integralSingularHomology_of_contractible _ n hn |
| 116 | |
| 117 | /-- The integral singular chain complex of the normal model is exact in |
| 118 | positive degrees. -/ |
| 119 | theorem complexNormalModel_exactAt (p n : ℕ) (hn : n ≠ 0) : |
| 120 | (LocalHomology.Cycles.integralSingularChains (TopCat.of (Fin p → ℂ))).ExactAt n := by |
| 121 | rw [HomologicalComplex.exactAt_iff_isZero_homology] |
| 122 | exact isZero_complexNormalModelHomology p n hn |
| 123 | |
| 124 | /-- Degree-zero homology of the normal model is canonically the integers. -/ |
| 125 | def complexNormalModelH0Iso (p : ℕ) : |
| 126 | (LocalHomology.Cycles.integralSingularChains (TopCat.of (Fin p → ℂ))).homology 0 ≅ ModuleCat.of ℤ ℤ := |
| 127 | integralSingularH0Iso _ |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.CycleClass.Geometric.ContractibleModel.Cycles |