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.SubdivisionOperator |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.SimplexFillings |
| 3 | |
| 4 | /-! # Subdivision Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.SubdivisionNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Naturality and normalization of actual subdivision |
| 12 | |
| 13 | These are properties of the actual degreewise signed subdivision operator. |
| 14 | No differential commutation or chain homotopy is assumed here. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | open scoped Simplicial BigOperators Classical |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | namespace Cycles |
| 24 | |
| 25 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex |
| 26 | |
| 27 | /-- Any two points of the genuine standard zero-simplex agree. -/ |
| 28 | theorem standardZeroSimplex_eq (x y : Convexity.StdSimplex ℝ (Fin 1)) : x = y := by |
| 29 | apply (Convexity.StdSimplex.isEmbedding_toFun_comp_weights ℝ (Fin 1)).injective |
| 30 | funext i |
| 31 | have hi : i = 0 := Subsingleton.elim _ _ |
| 32 | subst i |
| 33 | have hx := Convexity.StdSimplex.total_of_fintype x |
| 34 | have hy := Convexity.StdSimplex.total_of_fintype y |
| 35 | simp only [Fin.sum_univ_one] at hx hy |
| 36 | exact hx.trans hy.symm |
| 37 | |
| 38 | /-- Geometric subdivision fixes every zero-simplex. -/ |
| 39 | @[simp] |
| 40 | theorem subdivisionSimplex_zero (X : TopCat.{0}) (s : SubdivisionOperator.Cycles.SingularSimplex X 0) |
| 41 | (σ : Equiv.Perm (Fin 1)) : SubdivisionOperator.Cycles.subdivisionSimplex X 0 s σ = s := by |
| 42 | apply (X.toSSetObjEquiv (.op ⦋0⦌)).injective |
| 43 | rw [SubdivisionOperator.Cycles.subdivisionSimplex_toContinuousMap] |
| 44 | apply ContinuousMap.ext |
| 45 | intro x |
| 46 | simp only [ContinuousMap.comp_apply] |
| 47 | rw [standardZeroSimplex_eq (BarycentricSimplex.Cycles.barycentricSubdivisionMap σ x) x] |
| 48 | |
| 49 | /-- The signed generator formula is the identity in degree zero. -/ |
| 50 | @[simp] |
| 51 | theorem subdivisionGenerator_zero (X : TopCat.{0}) (s : SubdivisionOperator.Cycles.SingularSimplex X 0) : |
| 52 | SubdivisionOperator.Cycles.subdivisionGenerator X 0 s = Finsupp.single s 1 := by |
| 53 | have hsign (σ : Equiv.Perm (Fin 1)) : (Equiv.Perm.sign σ : ℤ) = 1 := by |
| 54 | rw [show σ = 1 from Subsingleton.elim _ _] |
| 55 | simp |
| 56 | simp [SubdivisionOperator.Cycles.subdivisionGenerator, hsign] |
| 57 | |
| 58 | /-- The coefficient subdivision map is the identity in degree zero. -/ |
| 59 | theorem subdivisionFinsupp_zero_dimension (X : TopCat.{0}) : |
| 60 | SubdivisionOperator.Cycles.subdivisionFinsupp X 0 = LinearMap.id := by |
| 61 | apply Finsupp.lhom_ext |
| 62 | intro s a |
| 63 | simp [SubdivisionOperator.Cycles.subdivisionFinsupp, Finsupp.smul_single] |
| 64 | |
| 65 | /-- Actual singular zero-chains are fixed by subdivision. -/ |
| 66 | theorem subdivisionDegree_zero_dimension (X : TopCat.{0}) : |
| 67 | SubdivisionOperator.Cycles.subdivisionDegree X 0 = LinearMap.id := by |
| 68 | apply LinearMap.ext |
| 69 | intro c |
| 70 | apply (SingularChainSupport.Cycles.singularChainCoefficients X 0).injective |
| 71 | rw [SubdivisionOperator.Cycles.subdivisionDegree_coefficients, subdivisionFinsupp_zero_dimension] |
| 72 | rfl |
| 73 | |
| 74 | @[simp] |
| 75 | theorem subdivisionDegree_zero_dimension_apply (X : TopCat.{0}) |
| 76 | (c : (LocalHomology.Cycles.integralSingularChains X).X 0) : SubdivisionOperator.Cycles.subdivisionDegree X 0 c = c := by |
| 77 | rw [subdivisionDegree_zero_dimension] |
| 78 | rfl |
| 79 | |
| 80 | /-- Compatibility with the actual canonical zero-chain augmentation. -/ |
| 81 | @[simp] |
| 82 | theorem singularZeroChainAugmentation_subdivision (X : TopCat.{0}) |
| 83 | (c : (LocalHomology.Cycles.integralSingularChains X).X 0) : |
| 84 | SimplexFillings.Cycles.singularZeroChainAugmentation X (SubdivisionOperator.Cycles.subdivisionDegree X 0 c) = |
| 85 | SimplexFillings.Cycles.singularZeroChainAugmentation X c := by |
| 86 | rw [subdivisionDegree_zero_dimension_apply] |
| 87 | |
| 88 | /-- A barycentric cell commutes with continuous postcomposition. -/ |
| 89 | theorem subdivisionSimplex_postcompose {X Y : TopCat.{0}} (f : X ⟶ Y) (n : ℕ) |
| 90 | (s : SubdivisionOperator.Cycles.SingularSimplex X n) (σ : Equiv.Perm (Fin (n + 1))) : |
| 91 | (TopCat.toSSet.map f).app _ (SubdivisionOperator.Cycles.subdivisionSimplex X n s σ) = |
| 92 | SubdivisionOperator.Cycles.subdivisionSimplex Y n ((TopCat.toSSet.map f).app _ s) σ := by |
| 93 | have hgeom (t : SubdivisionOperator.Cycles.SingularSimplex X n) : |
| 94 | Y.toSSetObjEquiv (.op ⦋n⦌) ((TopCat.toSSet.map f).app _ t) = |
| 95 | f.hom.comp (X.toSSetObjEquiv (.op ⦋n⦌) t) := rfl |
| 96 | apply (Y.toSSetObjEquiv (.op ⦋n⦌)).injective |
| 97 | rw [hgeom, SubdivisionOperator.Cycles.subdivisionSimplex_toContinuousMap, SubdivisionOperator.Cycles.subdivisionSimplex_toContinuousMap, hgeom] |
| 98 | rfl |
| 99 | |
| 100 | /-- The actual singular-chain pushforward in an individual degree. -/ |
| 101 | abbrev singularChainPostcompose {X Y : TopCat.{0}} (f : X ⟶ Y) (n : ℕ) : |
| 102 | (LocalHomology.Cycles.integralSingularChains X).X n →ₗ[ℤ] (LocalHomology.Cycles.integralSingularChains Y).X n := |
| 103 | ((LocalHomology.Cycles.integralSingularChainFunctor.map f).f n).hom |
| 104 | |
| 105 | /-- Its action on a genuine simplex summand is literal postcomposition. -/ |
| 106 | @[simp] |
| 107 | theorem singularChainPostcompose_simplex {X Y : TopCat.{0}} (f : X ⟶ Y) (n : ℕ) |
| 108 | (s : SubdivisionOperator.Cycles.SingularSimplex X n) (a : ℤ) : |
| 109 | singularChainPostcompose f n |
| 110 | ((TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) s a) = |
| 111 | (TopCat.toSSet.obj Y).ιChainComplex (R := ModuleCat.of ℤ ℤ) |
| 112 | ((TopCat.toSSet.map f).app _ s) a := by |
| 113 | simpa only [ModuleCat.hom_comp, LinearMap.comp_apply] using! |
| 114 | congrArg (fun g : ModuleCat.of ℤ ℤ ⟶ (LocalHomology.Cycles.integralSingularChains Y).X n => g.hom a) |
| 115 | (SSet.ι_chainComplexMap_f (TopCat.toSSet.obj X) (TopCat.toSSet.obj Y) |
| 116 | (TopCat.toSSet.map f) (ModuleCat.of ℤ ℤ) s) |
| 117 | |
| 118 | /-- To check a linear map on actual singular chains, check each simplex summand. -/ |
| 119 | theorem singularChainLinearMap_ext (X : TopCat.{0}) (n : ℕ) (M : ModuleCat.{0} ℤ) |
| 120 | (f g : (LocalHomology.Cycles.integralSingularChains X).X n →ₗ[ℤ] M) |
| 121 | (h : ∀ (s : SubdivisionOperator.Cycles.SingularSimplex X n) (a : ℤ), |
| 122 | f ((TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) s a) = |
| 123 | g ((TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) s a)) : f = g := by |
| 124 | have hcat : ModuleCat.ofHom f = ModuleCat.ofHom g := by |
| 125 | apply (TopCat.toSSet.obj X).chainComplex_hom_ext |
| 126 | intro s |
| 127 | apply ModuleCat.hom_ext |
| 128 | apply LinearMap.ext |
| 129 | intro a |
| 130 | simpa only [ModuleCat.hom_comp, ModuleCat.hom_ofHom, LinearMap.comp_apply] using! h s a |
| 131 | exact congrArg (fun k => k.hom) hcat |
| 132 | |
| 133 | /-- Actual degreewise subdivision is natural under any continuous map. -/ |
| 134 | theorem subdivisionDegree_naturality {X Y : TopCat.{0}} (f : X ⟶ Y) (n : ℕ) : |
| 135 | (singularChainPostcompose f n).comp (SubdivisionOperator.Cycles.subdivisionDegree X n) = |
| 136 | (SubdivisionOperator.Cycles.subdivisionDegree Y n).comp (singularChainPostcompose f n) := by |
| 137 | have hsd (Z : TopCat.{0}) (t : SubdivisionOperator.Cycles.SingularSimplex Z n) (b : ℤ) : |
| 138 | SubdivisionOperator.Cycles.subdivisionDegree Z n ((TopCat.toSSet.obj Z).ιChainComplex |
| 139 | (R := ModuleCat.of ℤ ℤ) t b) = |
| 140 | ∑ σ : Equiv.Perm (Fin (n + 1)), |
| 141 | (TopCat.toSSet.obj Z).ιChainComplex (R := ModuleCat.of ℤ ℤ) |
| 142 | (SubdivisionOperator.Cycles.subdivisionSimplex Z n t σ) ((Equiv.Perm.sign σ : ℤ) * b) := by |
| 143 | simpa only using! SubdivisionOperator.Cycles.subdivisionDegree_simplex Z n t b |
| 144 | have hp (t : SubdivisionOperator.Cycles.SingularSimplex X n) (b : ℤ) : |
| 145 | singularChainPostcompose f n |
| 146 | ((TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) t b) = |
| 147 | (TopCat.toSSet.obj Y).ιChainComplex (R := ModuleCat.of ℤ ℤ) |
| 148 | ((TopCat.toSSet.map f).app _ t) b := by |
| 149 | simpa only using! singularChainPostcompose_simplex f n t b |
| 150 | apply singularChainLinearMap_ext X n ((LocalHomology.Cycles.integralSingularChains Y).X n) |
| 151 | intro s a |
| 152 | simp only [LinearMap.comp_apply, hsd, map_sum, hp, subdivisionSimplex_postcompose] |
| 153 | |
| 154 | /-- Pointwise naturality, convenient for the actual acyclic-model construction. -/ |
| 155 | theorem subdivisionDegree_naturality_apply {X Y : TopCat.{0}} (f : X ⟶ Y) (n : ℕ) |
| 156 | (c : (LocalHomology.Cycles.integralSingularChains X).X n) : |
| 157 | singularChainPostcompose f n (SubdivisionOperator.Cycles.subdivisionDegree X n c) = |
| 158 | SubdivisionOperator.Cycles.subdivisionDegree Y n (singularChainPostcompose f n c) := |
| 159 | LinearMap.congr_fun (subdivisionDegree_naturality f n) c |
| 160 | |
| 161 | /-- Once a chain is subordinate to a cover, subdivision preserves that property. |
| 162 | This uses actual range containment and imposes no openness assumption. -/ |
| 163 | theorem subdivisionDegree_preserves_small {X : TopCat.{0}} {J : Type} |
| 164 | (U : J → Set X) (n : ℕ) (c : (LocalHomology.Cycles.integralSingularChains X).X n) |
| 165 | (hc : ∀ s ∈ SingularChainSupport.Cycles.singularChainSupport c, |
| 166 | s ∈ (AlgebraicTopology.DeRham.Comparison.SmallSingularSet.smallSingularSubcomplex X U).obj (.op ⦋n⦌)) : |
| 167 | ∀ t ∈ SingularChainSupport.Cycles.singularChainSupport (SubdivisionOperator.Cycles.subdivisionDegree X n c), |
| 168 | t ∈ (AlgebraicTopology.DeRham.Comparison.SmallSingularSet.smallSingularSubcomplex X U).obj (.op ⦋n⦌) := by |
| 169 | intro t ht |
| 170 | obtain ⟨s, hs, hsub⟩ := SubdivisionOperator.Cycles.support_subdivisionDegree_range X n c t ht |
| 171 | obtain ⟨j, hj⟩ := hc s hs |
| 172 | exact ⟨j, hsub.trans hj⟩ |
| 173 | |
| 174 | end Cycles |
| 175 | |
| 176 | end |
| 177 | |
| 178 | end OAI.AlgebraicGeometry.CycleClass.Geometric.SubdivisionNaturality |