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.Geometry.Foundations.ConvexStdSimplexMetric |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.ContractibleModel |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.SingularChainSupport |
| 4 | import OAI.AlgebraicTopology.Cohomology.Singular.ChainRepresentatives |
| 5 | |
| 6 | /-! # Simplex Fillings -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.SimplexFillings.Cycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Actual singular-chain fillings in a standard topological simplex |
| 14 | |
| 15 | Positive cycles are filled using the proved singular homology vanishing of a |
| 16 | contractible space and the proved cycle/boundary quotient description. |
| 17 | Degree-zero fillings use the actual canonical homology augmentation, not an |
| 18 | assumed acyclic-model property. |
| 19 | -/ |
| 20 | |
| 21 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex |
| 22 | |
| 23 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicTopology |
| 24 | open scoped Simplicial |
| 25 | |
| 26 | /-- Regard any zero-chain as a cycle in the genuine nonnegative chain complex. -/ |
| 27 | def zeroChainToCycles (X : TopCat.{0}) : |
| 28 | (LocalHomology.Cycles.integralSingularChains X).X 0 →+ |
| 29 | AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles (LocalHomology.Cycles.integralSingularChains X) 0 where |
| 30 | toFun c := ⟨c, AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.mem_chainCycles_zero (LocalHomology.Cycles.integralSingularChains X) c⟩ |
| 31 | map_zero' := Subtype.ext rfl |
| 32 | map_add' _ _ := Subtype.ext rfl |
| 33 | |
| 34 | /-- The augmentation of genuine singular zero-chains is the canonical |
| 35 | homology augmentation composed with the canonical class projection. -/ |
| 36 | def singularZeroChainAugmentation (X : TopCat.{0}) : |
| 37 | (LocalHomology.Cycles.integralSingularChains X).X 0 →+ ℤ := |
| 38 | (X.singularHomology₀ε (C := ModuleCat.{0} ℤ) (ModuleCat.of ℤ ℤ)).hom.toAddMonoidHom.comp |
| 39 | ((AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass (LocalHomology.Cycles.integralSingularChains X) 0).toAddMonoidHom.comp |
| 40 | (zeroChainToCycles X)) |
| 41 | |
| 42 | set_option backward.defeqAttrib.useBackward true in |
| 43 | set_option backward.isDefEq.respectTransparency false in |
| 44 | /-- The explicit zero-chain class is the canonical projection through the |
| 45 | degree-zero cycle isomorphism. -/ |
| 46 | theorem zeroChain_class_eq (X : TopCat.{0}) (c : (LocalHomology.Cycles.integralSingularChains X).X 0) : |
| 47 | AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass (LocalHomology.Cycles.integralSingularChains X) 0 (zeroChainToCycles X c) = |
| 48 | ((LocalHomology.Cycles.integralSingularChains X).homologyπ 0) |
| 49 | ((LocalHomology.Cycles.integralSingularChains X).cycles₀Iso.inv c) := by |
| 50 | let C := LocalHomology.Cycles.integralSingularChains X |
| 51 | rw [AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass_eq_homologyπ] |
| 52 | apply congrArg (C.homologyπ 0) |
| 53 | apply (ModuleCat.mono_iff_injective (C.iCycles 0)).mp inferInstance |
| 54 | change (((C.sc 0).moduleCatCyclesIso.inv ≫ (C.sc 0).iCycles) |
| 55 | (zeroChainToCycles X c)) = ((C.cycles₀Iso.inv ≫ C.cycles₀Iso.hom) c) |
| 56 | rw [(C.sc 0).moduleCatCyclesIso_inv_iCycles, Iso.inv_hom_id] |
| 57 | rfl |
| 58 | |
| 59 | set_option backward.defeqAttrib.useBackward true in |
| 60 | set_option backward.isDefEq.respectTransparency false in |
| 61 | /-- Every actual singular zero-simplex contributes its coefficient to the |
| 62 | augmentation; hence this is the usual sum-of-coefficients augmentation. -/ |
| 63 | @[simp] theorem singularZeroChainAugmentation_simplex (X : TopCat.{0}) |
| 64 | (σ : (TopCat.toSSet.obj X).obj (.op ⦋0⦌)) (a : ℤ) : |
| 65 | singularZeroChainAugmentation X |
| 66 | ((TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) σ a) = a := by |
| 67 | let C := LocalHomology.Cycles.integralSingularChains X |
| 68 | let ι := (TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) σ |
| 69 | have hlift : ι ≫ C.cycles₀Iso.inv = |
| 70 | C.liftCycles ι 0 (by simp) (by simp) := by |
| 71 | apply (cancel_mono (C.iCycles 0)).mp |
| 72 | rw [HomologicalComplex.liftCycles_i, Category.assoc] |
| 73 | change ι ≫ (C.cycles₀Iso.inv ≫ C.cycles₀Iso.hom) = ι |
| 74 | rw [Iso.inv_hom_id, Category.comp_id] |
| 75 | have h : (ι ≫ C.cycles₀Iso.inv) ≫ C.homologyπ 0 ≫ |
| 76 | X.singularHomology₀ε (C := ModuleCat.{0} ℤ) (ModuleCat.of ℤ ℤ) = 𝟙 _ := by |
| 77 | rw [hlift] |
| 78 | exact (TopCat.toSSet.obj X).liftCycles_ιChainComplex_homologyπ_homology₀ε |
| 79 | (ModuleCat.of ℤ ℤ) σ |
| 80 | have ha := congrArg (fun f : ModuleCat.of ℤ ℤ ⟶ ModuleCat.of ℤ ℤ => f.hom a) h |
| 81 | change (X.singularHomology₀ε (C := ModuleCat.{0} ℤ) (ModuleCat.of ℤ ℤ)).hom |
| 82 | (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass C 0 (zeroChainToCycles X (ι a))) = a |
| 83 | rw [zeroChain_class_eq] |
| 84 | exact ha |
| 85 | |
| 86 | /-- Every positive-degree singular cycle on a contractible space is the |
| 87 | boundary of an actual singular chain one degree higher. -/ |
| 88 | theorem exists_singularBoundary_of_contractible |
| 89 | (X : TopCat.{0}) [ContractibleSpace X] (n : ℕ) (hn : n ≠ 0) |
| 90 | (c : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles (LocalHomology.Cycles.integralSingularChains X) n) : |
| 91 | ∃ b : (LocalHomology.Cycles.integralSingularChains X).X (n + 1), |
| 92 | (LocalHomology.Cycles.integralSingularChains X).d (n + 1) n b = c.1 := by |
| 93 | let := ModuleCat.subsingleton_of_isZero |
| 94 | (ContractibleModel.Cycles.isZero_integralSingularHomology_of_contractible X n hn) |
| 95 | exact (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass_eq_zero_iff_exists _ n c).mp (Subsingleton.elim _ _) |
| 96 | |
| 97 | /-- Unbundled positive-cycle filling, directly in the singular chain modules. -/ |
| 98 | theorem exists_singularBoundary_succ_of_contractible |
| 99 | (X : TopCat.{0}) [ContractibleSpace X] (n : ℕ) |
| 100 | (c : (LocalHomology.Cycles.integralSingularChains X).X (n + 1)) |
| 101 | (hc : (LocalHomology.Cycles.integralSingularChains X).d (n + 1) n c = 0) : |
| 102 | ∃ b : (LocalHomology.Cycles.integralSingularChains X).X (n + 2), |
| 103 | (LocalHomology.Cycles.integralSingularChains X).d (n + 2) (n + 1) b = c := |
| 104 | exists_singularBoundary_of_contractible X (n + 1) (Nat.succ_ne_zero n) |
| 105 | ⟨c, (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.mem_chainCycles_iff_succ _ n c).mpr hc⟩ |
| 106 | |
| 107 | /-- A zero-chain with zero canonical augmentation on a path-connected space |
| 108 | is the boundary of an actual one-chain. -/ |
| 109 | theorem exists_singularBoundary_zero_of_pathConnected |
| 110 | (X : TopCat.{0}) [PathConnectedSpace X] |
| 111 | (c : (LocalHomology.Cycles.integralSingularChains X).X 0) |
| 112 | (hc : singularZeroChainAugmentation X c = 0) : |
| 113 | ∃ b : (LocalHomology.Cycles.integralSingularChains X).X 1, |
| 114 | (LocalHomology.Cycles.integralSingularChains X).d 1 0 b = c := by |
| 115 | apply (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass_eq_zero_iff_exists _ 0 (zeroChainToCycles X c)).mp |
| 116 | apply (ContractibleModel.Cycles.integralSingularH0Iso X).toLinearEquiv.injective |
| 117 | change singularZeroChainAugmentation X c = (ContractibleModel.Cycles.integralSingularH0Iso X).toLinearEquiv 0 |
| 118 | rw [hc, map_zero] |
| 119 | |
| 120 | /-- The ordinary geometric standard simplex is contractible by convexity. -/ |
| 121 | theorem stdSimplex_contractible (q : ℕ) : |
| 122 | ContractibleSpace (Convexity.StdSimplex ℝ (Fin (q + 1))) := |
| 123 | inferInstance |
| 124 | |
| 125 | /-- The actual standard simplex object used by mathlib's singular-set |
| 126 | construction is contractible, including its universe-lift convention. -/ |
| 127 | theorem toTopSimplex_contractible (q : ℕ) : |
| 128 | ContractibleSpace (SimplexCategory.toTop.{0}.obj ⦋q⦌) := by |
| 129 | let : ContractibleSpace (SimplexCategory.toTop₀.obj ⦋q⦌) := stdSimplex_contractible q |
| 130 | exact (SimplexCategory.toTop₀.obj ⦋q⦌).uliftFunctorObjHomeo.symm.contractibleSpace |
| 131 | |
| 132 | /-- Positive singular cycles in a geometric standard simplex have fillings. -/ |
| 133 | theorem exists_stdSimplex_boundary_succ (q n : ℕ) |
| 134 | (c : (LocalHomology.Cycles.integralSingularChains (TopCat.of (Convexity.StdSimplex ℝ (Fin (q + 1))))).X (n + 1)) |
| 135 | (hc : (LocalHomology.Cycles.integralSingularChains (TopCat.of (Convexity.StdSimplex ℝ (Fin (q + 1))))).d |
| 136 | (n + 1) n c = 0) : |
| 137 | ∃ b : (LocalHomology.Cycles.integralSingularChains (TopCat.of (Convexity.StdSimplex ℝ (Fin (q + 1))))).X (n + 2), |
| 138 | (LocalHomology.Cycles.integralSingularChains (TopCat.of (Convexity.StdSimplex ℝ (Fin (q + 1))))).d |
| 139 | (n + 2) (n + 1) b = c := by |
| 140 | let := stdSimplex_contractible q |
| 141 | exact exists_singularBoundary_succ_of_contractible _ n c hc |
| 142 | |
| 143 | /-- Positive singular cycles in the standard simplex object have actual |
| 144 | singular-chain fillings, suitable for acyclic-model recursion. -/ |
| 145 | theorem exists_simplex_boundary_succ (q n : ℕ) |
| 146 | (c : (LocalHomology.Cycles.integralSingularChains (SimplexCategory.toTop.{0}.obj ⦋q⦌)).X (n + 1)) |
| 147 | (hc : (LocalHomology.Cycles.integralSingularChains (SimplexCategory.toTop.{0}.obj ⦋q⦌)).d |
| 148 | (n + 1) n c = 0) : |
| 149 | ∃ b : (LocalHomology.Cycles.integralSingularChains (SimplexCategory.toTop.{0}.obj ⦋q⦌)).X (n + 2), |
| 150 | (LocalHomology.Cycles.integralSingularChains (SimplexCategory.toTop.{0}.obj ⦋q⦌)).d |
| 151 | (n + 2) (n + 1) b = c := by |
| 152 | let := toTopSimplex_contractible q |
| 153 | exact exists_singularBoundary_succ_of_contractible _ n c hc |
| 154 | |
| 155 | /-- Augmentation-zero singular zero-chains in the standard simplex have |
| 156 | actual one-chain fillings. -/ |
| 157 | theorem exists_simplex_boundary_zero (q : ℕ) |
| 158 | (c : (LocalHomology.Cycles.integralSingularChains (SimplexCategory.toTop.{0}.obj ⦋q⦌)).X 0) |
| 159 | (hc : singularZeroChainAugmentation (SimplexCategory.toTop.{0}.obj ⦋q⦌) c = 0) : |
| 160 | ∃ b : (LocalHomology.Cycles.integralSingularChains (SimplexCategory.toTop.{0}.obj ⦋q⦌)).X 1, |
| 161 | (LocalHomology.Cycles.integralSingularChains (SimplexCategory.toTop.{0}.obj ⦋q⦌)).d 1 0 b = c := |
| 162 | exists_singularBoundary_zero_of_pathConnected _ c hc |
| 163 | |
| 164 | end |
| 165 | |
| 166 | end OAI.AlgebraicGeometry.CycleClass.Geometric.SimplexFillings.Cycles |