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 OAI.AlgebraicGeometry.CycleClass.Geometric.ContractibleModel |
| 3 | |
| 4 | /-! # Point -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.Point.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-!+# The integral local class of a point |
| 11 | |
| 12 | This file proves the dimension-zero normalization using actual relative singular |
| 13 | chains. It identifies the relative chain complex of `(X, ∅)` with the absolute |
| 14 | one, then uses the canonical zeroth-homology augmentation. Its distinguished |
| 15 | point class is the inverse image of `1: ℤ`, not an assumed fundamental class. |
| 16 | No positive-dimensional orientation or fundamental-class theorem is asserted. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicTopology |
| 20 | |
| 21 | /-- An empty topological space has zero integral singular chain complex. -/ |
| 22 | theorem integralSingularChains_isZero_of_isEmpty (X : TopCat.{0}) [IsEmpty X] : |
| 23 | IsZero (LocalHomology.Cycles.integralSingularChains X) := by |
| 24 | have hs : IsZero (∐ fun _ : X ↦ ModuleCat.of ℤ ℤ) := by |
| 25 | rw [IsZero.iff_id_eq_zero] |
| 26 | apply Sigma.hom_ext |
| 27 | intro x |
| 28 | exact isEmptyElim x |
| 29 | have hc : IsZero (ChainComplex.alternatingConst.obj (∐ fun _ : X ↦ ModuleCat.of ℤ ℤ)) := by |
| 30 | rw [IsZero.iff_id_eq_zero] |
| 31 | apply HomologicalComplex.hom_ext |
| 32 | intro n |
| 33 | exact hs.eq_zero_of_src _ |
| 34 | exact hc.of_iso |
| 35 | (singularChainComplexFunctorIsoOfTotallyDisconnectedSpace |
| 36 | (ModuleCat.{0} ℤ) (ModuleCat.of ℤ ℤ) X) |
| 37 | |
| 38 | /-- The singular-chain inclusion from the empty subspace is the zero chain map. -/ |
| 39 | theorem subspaceChainInclusion_empty (X : TopCat.{0}) : |
| 40 | LocalHomology.Cycles.subspaceChainInclusion X ∅ = 0 := |
| 41 | (integralSingularChains_isZero_of_isEmpty (TopCat.of (∅ : Set X))).eq_zero_of_src _ |
| 42 | |
| 43 | /-- Quotienting integral singular chains by the chains of the empty subspace |
| 44 | does not change the chain complex. -/ |
| 45 | def relativeEmptyChainsIso (X : TopCat.{0}) : |
| 46 | LocalHomology.Cycles.relativeSingularChains X ∅ ≅ LocalHomology.Cycles.integralSingularChains X := by |
| 47 | letI : IsIso (LocalHomology.Cycles.relativeChainProjection X ∅) := |
| 48 | cokernel.π_of_zero (subspaceChainInclusion_empty X) |
| 49 | exact (asIso (LocalHomology.Cycles.relativeChainProjection X ∅)).symm |
| 50 | |
| 51 | /-- Relative homology for the empty subspace is ordinary integral singular homology. -/ |
| 52 | def relativeEmptyHomologyIso (X : TopCat.{0}) (n : ℕ) : |
| 53 | LocalHomology.Cycles.relativeSingularHomology X ∅ n ≅ (LocalHomology.Cycles.integralSingularChains X).homology n := |
| 54 | (HomologicalComplex.homologyFunctor (ModuleCat.{0} ℤ) (ComplexShape.down ℕ) n).mapIso |
| 55 | (relativeEmptyChainsIso X) |
| 56 | |
| 57 | /-- On a path-connected space, the genuine relative group `H₀(X, ∅; ℤ)` is |
| 58 | identified with `ℤ` by the canonical augmentation. -/ |
| 59 | def relativeEmptyHomologyZeroIso (X : TopCat.{0}) [PathConnectedSpace X] : |
| 60 | LocalHomology.Cycles.relativeSingularHomology X ∅ 0 ≅ ModuleCat.of ℤ ℤ := |
| 61 | relativeEmptyHomologyIso X 0 ≪≫ ContractibleModel.Cycles.integralSingularH0Iso X |
| 62 | |
| 63 | /-- The one-point topological model of a complex manifold of dimension zero. -/ |
| 64 | abbrev pointModel : TopCat.{0} := TopCat.of PUnit |
| 65 | |
| 66 | instance pointModel_pathConnectedSpace : PathConnectedSpace pointModel where |
| 67 | nonempty := ⟨PUnit.unit⟩ |
| 68 | joined x y := by |
| 69 | have h : x = y := Subsingleton.elim _ _ |
| 70 | subst y |
| 71 | exact ⟨Path.refl x⟩ |
| 72 | |
| 73 | /-- The complement of the point in the one-point model is empty. -/ |
| 74 | theorem pointModel_punctured_eq_empty : |
| 75 | ({PUnit.unit}ᶜ : Set pointModel) = ∅ := by |
| 76 | ext x |
| 77 | simp |
| 78 | |
| 79 | /-- The actual degree-zero local singular homology group of a point is `ℤ`. -/ |
| 80 | def pointLocalHomologyZeroIso : |
| 81 | LocalHomology.Cycles.localSingularHomology pointModel PUnit.unit 0 ≅ ModuleCat.of ℤ ℤ := by |
| 82 | unfold LocalHomology.Cycles.localSingularHomology |
| 83 | rw [pointModel_punctured_eq_empty] |
| 84 | exact relativeEmptyHomologyZeroIso pointModel |
| 85 | |
| 86 | /-- The positively normalized integral local class of the point. -/ |
| 87 | def pointLocalClass : LocalHomology.Cycles.localSingularHomology pointModel PUnit.unit 0 := |
| 88 | pointLocalHomologyZeroIso.inv (1 : ℤ) |
| 89 | |
| 90 | /-- The point class has augmentation exactly one. -/ |
| 91 | @[simp] |
| 92 | theorem pointLocalClass_normalization : |
| 93 | pointLocalHomologyZeroIso.hom pointLocalClass = 1 := by |
| 94 | change (pointLocalHomologyZeroIso.inv ≫ pointLocalHomologyZeroIso.hom) (1 : ℤ) = 1 |
| 95 | simp |
| 96 | |
| 97 | /-- The local class of the point is nonzero. -/ |
| 98 | theorem pointLocalClass_ne_zero : pointLocalClass ≠ 0 := by |
| 99 | intro h |
| 100 | have hn := pointLocalClass_normalization |
| 101 | rw [h, map_zero] at hn |
| 102 | exact zero_ne_one hn |
| 103 | |
| 104 | /-- Every integral local class of a point is a unique integer multiple of its |
| 105 | positively normalized generator. -/ |
| 106 | theorem pointLocalClass_generates |
| 107 | (x : LocalHomology.Cycles.localSingularHomology pointModel PUnit.unit 0) : |
| 108 | ∃! n : ℤ, n • pointLocalClass = x := by |
| 109 | have hnorm (n : ℤ) : pointLocalHomologyZeroIso.hom (n • pointLocalClass) = n := by |
| 110 | calc |
| 111 | pointLocalHomologyZeroIso.hom (n • pointLocalClass) = |
| 112 | n • (pointLocalHomologyZeroIso.hom pointLocalClass) := |
| 113 | map_zsmul pointLocalHomologyZeroIso.hom.hom _ _ |
| 114 | _ = n := by rw [pointLocalClass_normalization]; simp |
| 115 | refine ⟨pointLocalHomologyZeroIso.hom x, ?_, ?_⟩ |
| 116 | · apply (ConcreteCategory.bijective_of_isIso pointLocalHomologyZeroIso.hom).1 |
| 117 | exact hnorm _ |
| 118 | · intro n hn |
| 119 | calc |
| 120 | n = pointLocalHomologyZeroIso.hom (n • pointLocalClass) := (hnorm n).symm |
| 121 | _ = pointLocalHomologyZeroIso.hom x := congrArg pointLocalHomologyZeroIso.hom hn |
| 122 | |
| 123 | /-- The genuine complex coordinate model in dimension zero is the point model. -/ |
| 124 | def complexZeroModelHomeomorphPoint : (Fin 0 → ℂ) ≃ₜ pointModel where |
| 125 | toFun _ := PUnit.unit |
| 126 | invFun _ := 0 |
| 127 | left_inv _ := Subsingleton.elim _ _ |
| 128 | right_inv _ := Subsingleton.elim _ _ |
| 129 | continuous_toFun := continuous_const |
| 130 | continuous_invFun := continuous_const |
| 131 | |
| 132 | /-- The actual local homology normalization of the zero-dimensional complex |
| 133 | coordinate model, transported by its canonical homeomorphism with a point. -/ |
| 134 | def complexZeroLocalHomologyIso : |
| 135 | LocalHomology.Cycles.localSingularHomology (TopCat.of (Fin 0 → ℂ)) 0 0 ≅ ModuleCat.of ℤ ℤ := |
| 136 | LocalHomology.Cycles.localSingularHomologyIso (X := TopCat.of (Fin 0 → ℂ)) (Y := pointModel) |
| 137 | complexZeroModelHomeomorphPoint 0 0 ≪≫ pointLocalHomologyZeroIso |
| 138 | |
| 139 | /-- The positively normalized local class in complex dimension zero. -/ |
| 140 | def complexZeroLocalClass : LocalHomology.Cycles.localSingularHomology (TopCat.of (Fin 0 → ℂ)) 0 0 := |
| 141 | complexZeroLocalHomologyIso.inv (1 : ℤ) |
| 142 | |
| 143 | @[simp] |
| 144 | theorem complexZeroLocalClass_normalization : |
| 145 | complexZeroLocalHomologyIso.hom complexZeroLocalClass = 1 := by |
| 146 | change (complexZeroLocalHomologyIso.inv ≫ complexZeroLocalHomologyIso.hom) (1 : ℤ) = 1 |
| 147 | simp |
| 148 | |
| 149 | theorem complexZeroLocalClass_ne_zero : complexZeroLocalClass ≠ 0 := by |
| 150 | intro h |
| 151 | have hn := complexZeroLocalClass_normalization |
| 152 | rw [h, map_zero] at hn |
| 153 | exact zero_ne_one hn |
| 154 | |
| 155 | /-- The zero-dimensional complex local homology group is freely generated |
| 156 | by its positively normalized class. -/ |
| 157 | theorem complexZeroLocalClass_generates |
| 158 | (x : LocalHomology.Cycles.localSingularHomology (TopCat.of (Fin 0 → ℂ)) 0 0) : |
| 159 | ∃! n : ℤ, n • complexZeroLocalClass = x := by |
| 160 | have hnorm (n : ℤ) : complexZeroLocalHomologyIso.hom (n • complexZeroLocalClass) = n := by |
| 161 | calc |
| 162 | complexZeroLocalHomologyIso.hom (n • complexZeroLocalClass) = |
| 163 | n • (complexZeroLocalHomologyIso.hom complexZeroLocalClass) := |
| 164 | map_zsmul complexZeroLocalHomologyIso.hom.hom _ _ |
| 165 | _ = n := by rw [complexZeroLocalClass_normalization]; simp |
| 166 | refine ⟨complexZeroLocalHomologyIso.hom x, ?_, ?_⟩ |
| 167 | · apply (ConcreteCategory.bijective_of_isIso complexZeroLocalHomologyIso.hom).1 |
| 168 | exact hnorm _ |
| 169 | · intro n hn |
| 170 | calc |
| 171 | n = complexZeroLocalHomologyIso.hom (n • complexZeroLocalClass) := (hnorm n).symm |
| 172 | _ = complexZeroLocalHomologyIso.hom x := congrArg complexZeroLocalHomologyIso.hom hn |
| 173 | |
| 174 | end |
| 175 | |
| 176 | end OAI.AlgebraicGeometry.CycleClass.Geometric.Point.Cycles |