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 Mathlib.AlgebraicTopology.SimplicialSet.Homology.Basic |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RationalScalarExtension |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains |
| 5 | |
| 6 | /-! # Rational Singular Chains -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.RationalSingularChains.Cycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Change of coefficients for genuine singular chains |
| 14 | |
| 15 | An additive functor preserving coproducts commutes with the actual simplicial |
| 16 | chain construction. The degreewise isomorphism sends the image of each simplex |
| 17 | summand to the corresponding simplex summand with its coefficient transported |
| 18 | by the specified coefficient isomorphism. |
| 19 | -/ |
| 20 | |
| 21 | open Simplicial _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 22 | open scoped TensorProduct ChangeOfRings |
| 23 | |
| 24 | universe w u₁ u₂ v₁ v₂ |
| 25 | |
| 26 | section CoefficientFunctor |
| 27 | |
| 28 | variable {C : Type u₁} [Category.{v₁} C] [Preadditive C] [HasCoproducts.{w} C] |
| 29 | variable {D : Type u₂} [Category.{v₂} D] [Preadditive D] [HasCoproducts.{w} D] |
| 30 | variable (F : C ⥤ D) [PreservesColimitsOfSize.{w, w} F] |
| 31 | variable (R : C) (S : D) (e : F.obj R ≅ S) |
| 32 | |
| 33 | /-- The actual degreewise coproduct comparison for simplicial chains. -/ |
| 34 | def coefficientFunctorChainDegreeIso (K : SSet.{w}) (n : ℕ) : |
| 35 | F.obj ((K.chainComplex R).X n) ≅ (K.chainComplex S).X n := |
| 36 | (asIso (sigmaComparison F (fun _ : K _⦋n⦌ => R))).symm ≪≫ |
| 37 | Sigma.mapIso (fun _ => e) |
| 38 | |
| 39 | /-- On each simplex summand, the coproduct comparison applies precisely the |
| 40 | chosen coefficient isomorphism. -/ |
| 41 | @[reassoc (attr := simp)] |
| 42 | theorem coefficientFunctorChainDegreeIso_ι (K : SSet.{w}) (n : ℕ) (x : K _⦋n⦌) : |
| 43 | F.map (K.ιChainComplex (R := R) x) ≫ |
| 44 | (coefficientFunctorChainDegreeIso F R S e K n).hom = |
| 45 | e.hom ≫ K.ιChainComplex (R := S) x := by |
| 46 | change F.map (Sigma.ι (fun _ : K _⦋n⦌ => R) x) ≫ |
| 47 | inv (sigmaComparison F (fun _ : K _⦋n⦌ => R)) ≫ |
| 48 | (Sigma.mapIso (fun _ : K _⦋n⦌ => e)).hom = |
| 49 | e.hom ≫ Sigma.ι (fun _ : K _⦋n⦌ => S) x |
| 50 | rw [map_ι_comp_inv_sigmaComparison_assoc, Sigma.ι_mapIso_hom] |
| 51 | |
| 52 | omit [Preadditive D] [HasCoproducts D] in |
| 53 | /-- The images of the actual simplex summands are jointly epimorphic. -/ |
| 54 | theorem coefficientFunctorChain_hom_ext (K : SSet.{w}) (n : ℕ) {T : D} |
| 55 | {f g : F.obj ((K.chainComplex R).X n) ⟶ T} |
| 56 | (h : ∀ x : K _⦋n⦌, |
| 57 | F.map (K.ιChainComplex (R := R) x) ≫ f = |
| 58 | F.map (K.ιChainComplex (R := R) x) ≫ g) : f = g := by |
| 59 | apply (isColimitCofanMkObjOfIsColimit F (fun _ : K _⦋n⦌ => R) |
| 60 | (fun x => K.ιChainComplex (R := R) x) (K.isColimitChainComplexXCofan R n)).hom_ext |
| 61 | intro x |
| 62 | exact h x.as |
| 63 | |
| 64 | variable [F.Additive] |
| 65 | |
| 66 | /-- Coproduct comparison commutes with the alternating face differential. -/ |
| 67 | theorem coefficientFunctorChainDegreeIso_comm (K : SSet.{w}) (n : ℕ) : |
| 68 | (coefficientFunctorChainDegreeIso F R S e K (n + 1)).hom ≫ |
| 69 | (K.chainComplex S).d (n + 1) n = |
| 70 | F.map ((K.chainComplex R).d (n + 1) n) ≫ |
| 71 | (coefficientFunctorChainDegreeIso F R S e K n).hom := by |
| 72 | apply coefficientFunctorChain_hom_ext F R K (n + 1) |
| 73 | intro x |
| 74 | rw [← Category.assoc, coefficientFunctorChainDegreeIso_ι, Category.assoc, |
| 75 | SSet.ιChainComplex_d, ← F.map_comp_assoc, SSet.ιChainComplex_d] |
| 76 | simp only [Functor.map_sum, Functor.map_zsmul, Preadditive.sum_comp, |
| 77 | Preadditive.comp_sum, Preadditive.zsmul_comp, Preadditive.comp_zsmul, |
| 78 | coefficientFunctorChainDegreeIso_ι] |
| 79 | |
| 80 | /-- An additive coproduct-preserving coefficient functor commutes with the |
| 81 | actual simplicial chain complex, including its boundary maps. -/ |
| 82 | def coefficientFunctorChainsIso (K : SSet.{w}) : |
| 83 | (F.mapHomologicalComplex (ComplexShape.down ℕ)).obj (K.chainComplex R) ≅ |
| 84 | K.chainComplex S := |
| 85 | HomologicalComplex.Hom.isoOfComponents |
| 86 | (coefficientFunctorChainDegreeIso F R S e K) (by |
| 87 | rintro i j (rfl : j + 1 = i) |
| 88 | exact coefficientFunctorChainDegreeIso_comm F R S e K j) |
| 89 | |
| 90 | /-- The chain comparison preserves every simplex summand. -/ |
| 91 | @[reassoc (attr := simp)] |
| 92 | theorem coefficientFunctorChainsIso_ι (K : SSet.{w}) (n : ℕ) (x : K _⦋n⦌) : |
| 93 | F.map (K.ιChainComplex (R := R) x) ≫ |
| 94 | (coefficientFunctorChainsIso F R S e K).hom.f n = |
| 95 | e.hom ≫ K.ιChainComplex (R := S) x := |
| 96 | coefficientFunctorChainDegreeIso_ι F R S e K n x |
| 97 | |
| 98 | /-- The actual chain comparison is natural under every simplicial map. -/ |
| 99 | @[reassoc] |
| 100 | theorem coefficientFunctorChainsIso_hom_naturality {K L : SSet.{w}} (f : K ⟶ L) : |
| 101 | (F.mapHomologicalComplex (ComplexShape.down ℕ)).map (SSet.chainComplexMap f R) ≫ |
| 102 | (coefficientFunctorChainsIso F R S e L).hom = |
| 103 | (coefficientFunctorChainsIso F R S e K).hom ≫ SSet.chainComplexMap f S := by |
| 104 | ext n |
| 105 | apply coefficientFunctorChain_hom_ext F R K n |
| 106 | intro x |
| 107 | change F.map (K.ιChainComplex (R := R) x) ≫ |
| 108 | (F.map ((SSet.chainComplexMap f R).f n) ≫ |
| 109 | (coefficientFunctorChainDegreeIso F R S e L n).hom) = |
| 110 | F.map (K.ιChainComplex (R := R) x) ≫ |
| 111 | ((coefficientFunctorChainDegreeIso F R S e K n).hom ≫ |
| 112 | (SSet.chainComplexMap f S).f n) |
| 113 | rw [← F.map_comp_assoc, SSet.ι_chainComplexMap_f, |
| 114 | coefficientFunctorChainDegreeIso_ι, coefficientFunctorChainDegreeIso_ι_assoc, |
| 115 | SSet.ι_chainComplexMap_f] |
| 116 | |
| 117 | end CoefficientFunctor |
| 118 | |
| 119 | /-- Rationalizing genuine integral singular chains gives the genuine singular |
| 120 | chain complex with rational coefficients. -/ |
| 121 | def rationalSingularChainsIso (X : TopCat.{0}) : |
| 122 | (RationalScalarExtension.Cycles.rationalizeModules.mapHomologicalComplex (ComplexShape.down ℕ)).obj |
| 123 | (LocalHomology.Cycles.integralSingularChains X) ≅ |
| 124 | (RelativeScalarChains.Cycles.scalarSingularChainFunctor ℚ).obj X := |
| 125 | coefficientFunctorChainsIso RationalScalarExtension.Cycles.rationalizeModules (ModuleCat.of ℤ ℤ) (ModuleCat.of ℚ ℚ) |
| 126 | RationalScalarExtension.Cycles.rationalizeUnitIso (TopCat.toSSet.obj X) |
| 127 | |
| 128 | /-- Rational coefficient comparison is natural for every continuous map. -/ |
| 129 | @[reassoc] |
| 130 | theorem rationalSingularChainsIso_hom_naturality {X Y : TopCat.{0}} (f : X ⟶ Y) : |
| 131 | (RationalScalarExtension.Cycles.rationalizeModules.mapHomologicalComplex (ComplexShape.down ℕ)).map |
| 132 | (LocalHomology.Cycles.integralSingularChainFunctor.map f) ≫ (rationalSingularChainsIso Y).hom = |
| 133 | (rationalSingularChainsIso X).hom ≫ (RelativeScalarChains.Cycles.scalarSingularChainFunctor ℚ).map f := |
| 134 | coefficientFunctorChainsIso_hom_naturality RationalScalarExtension.Cycles.rationalizeModules |
| 135 | (ModuleCat.of ℤ ℤ) (ModuleCat.of ℚ ℚ) RationalScalarExtension.Cycles.rationalizeUnitIso (TopCat.toSSet.map f) |
| 136 | |
| 137 | /-- The rational chain comparison transports the coefficient of each singular |
| 138 | simplex by the canonical rationalized-unit isomorphism. -/ |
| 139 | @[reassoc (attr := simp)] |
| 140 | theorem rationalSingularChainsIso_ι (X : TopCat.{0}) (n : ℕ) |
| 141 | (σ : (TopCat.toSSet.obj X) _⦋n⦌) : |
| 142 | RationalScalarExtension.Cycles.rationalizeModules.map |
| 143 | ((TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) σ) ≫ |
| 144 | (rationalSingularChainsIso X).hom.f n = |
| 145 | RationalScalarExtension.Cycles.rationalizeUnitIso.hom ≫ |
| 146 | (TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℚ ℚ) σ := |
| 147 | coefficientFunctorChainsIso_ι RationalScalarExtension.Cycles.rationalizeModules |
| 148 | (ModuleCat.of ℤ ℤ) (ModuleCat.of ℚ ℚ) RationalScalarExtension.Cycles.rationalizeUnitIso (TopCat.toSSet.obj X) n σ |
| 149 | |
| 150 | /-- On an elementary tensor supported at a singular simplex, the coefficient |
| 151 | is the usual product of the rational scalar and the integral coefficient. -/ |
| 152 | @[simp] |
| 153 | theorem rationalSingularChainsIso_hom_tmul_simplex (X : TopCat.{0}) (n : ℕ) |
| 154 | (σ : (TopCat.toSSet.obj X) _⦋n⦌) (q : ℚ) (z : ℤ) : |
| 155 | (rationalSingularChainsIso X).hom.f n |
| 156 | (q ⊗ₜ[ℤ, Int.castRingHom ℚ] |
| 157 | (TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) σ z) = |
| 158 | (TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℚ ℚ) σ (q * (z : ℚ)) := by |
| 159 | have h := ConcreteCategory.congr_hom (rationalSingularChainsIso_ι X n σ) |
| 160 | (q ⊗ₜ[ℤ, Int.castRingHom ℚ] z) |
| 161 | change (rationalSingularChainsIso X).hom.f n |
| 162 | (RationalScalarExtension.Cycles.rationalizeModules.map |
| 163 | ((TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) σ) |
| 164 | (q ⊗ₜ[ℤ, Int.castRingHom ℚ] z)) = |
| 165 | (TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℚ ℚ) σ |
| 166 | (RationalScalarExtension.Cycles.rationalizeUnitIso.hom (q ⊗ₜ[ℤ, Int.castRingHom ℚ] z)) at h |
| 167 | rw [RationalScalarExtension.Cycles.rationalizeUnitIso_hom_tmul] at h |
| 168 | exact h |
| 169 | |
| 170 | /-- A unit-coefficient integral singular simplex becomes the same simplex |
| 171 | with unit rational coefficient. -/ |
| 172 | @[simp] |
| 173 | theorem rationalSingularChainsIso_hom_one_tmul_simplex (X : TopCat.{0}) (n : ℕ) |
| 174 | (σ : (TopCat.toSSet.obj X) _⦋n⦌) : |
| 175 | (rationalSingularChainsIso X).hom.f n |
| 176 | ((1 : ℚ) ⊗ₜ[ℤ, Int.castRingHom ℚ] |
| 177 | (TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) σ 1) = |
| 178 | (TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℚ ℚ) σ 1 := by |
| 179 | simpa using rationalSingularChainsIso_hom_tmul_simplex X n σ 1 1 |
| 180 | |
| 181 | /-- The rational comparison assembled as a natural isomorphism of the actual |
| 182 | singular chain functors. -/ |
| 183 | def rationalSingularChainsNatIso : |
| 184 | LocalHomology.Cycles.integralSingularChainFunctor ⋙ |
| 185 | RationalScalarExtension.Cycles.rationalizeModules.mapHomologicalComplex (ComplexShape.down ℕ) ≅ |
| 186 | RelativeScalarChains.Cycles.scalarSingularChainFunctor ℚ := |
| 187 | NatIso.ofComponents rationalSingularChainsIso |
| 188 | (fun f => rationalSingularChainsIso_hom_naturality f) |
| 189 | |
| 190 | end |
| 191 | |
| 192 | end OAI.AlgebraicGeometry.CycleClass.Geometric.RationalSingularChains.Cycles |