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.NormalSphere |
| 2 | import Mathlib.Analysis.Convex.Contractible |
| 3 | import Mathlib.Geometry.Manifold.Instances.Sphere |
| 4 | |
| 5 | /-! # Sphere Cover -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.SphereCover.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Two stereographic open sets on a sphere |
| 13 | |
| 14 | The complements of opposite poles form an actual open cover of the unit sphere. |
| 15 | Each complement is homeomorphic to a real vector space and hence contractible. |
| 16 | Their intersection is homeomorphic to a punctured hyperplane and is therefore |
| 17 | homotopy equivalent to a sphere in one lower ambient dimension. |
| 18 | |
| 19 | No excision, Mayer--Vietoris theorem, or sphere-homology computation is assumed. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.Metric _root_.Module _root_.Submodule |
| 23 | open scoped RealInnerProductSpace |
| 24 | |
| 25 | variable {E : Type*} [NormedAddCommGroup E] |
| 26 | |
| 27 | /-- The stereographic domain obtained by deleting a pole from the sphere. -/ |
| 28 | def spherePoleOpen (v : NormalSphere.Cycles.NormalUnitSphere E) : Set (NormalSphere.Cycles.NormalUnitSphere E) := {v}ᶜ |
| 29 | |
| 30 | @[simp] |
| 31 | theorem mem_spherePoleOpen (v x : NormalSphere.Cycles.NormalUnitSphere E) : |
| 32 | x ∈ spherePoleOpen v ↔ x ≠ v := Iff.rfl |
| 33 | |
| 34 | theorem isOpen_spherePoleOpen (v : NormalSphere.Cycles.NormalUnitSphere E) : IsOpen (spherePoleOpen v) := |
| 35 | isOpen_compl_singleton |
| 36 | |
| 37 | variable [InnerProductSpace ℝ E] |
| 38 | |
| 39 | /-- Opposite poles have disjoint omitted singleton sets. -/ |
| 40 | theorem spherePoleOpen_union (v : NormalSphere.Cycles.NormalUnitSphere E) : |
| 41 | spherePoleOpen v ∪ spherePoleOpen (-v) = Set.univ := by |
| 42 | ext x |
| 43 | simp only [Set.mem_union, mem_spherePoleOpen, Set.mem_univ, iff_true] |
| 44 | by_cases h : x = v |
| 45 | · exact Or.inr (h ▸ ne_neg_of_mem_unit_sphere ℝ v) |
| 46 | · exact Or.inl h |
| 47 | |
| 48 | /-- The hyperplane perpendicular to the chosen pole. -/ |
| 49 | abbrev SphereEquatorSpace (v : NormalSphere.Cycles.NormalUnitSphere E) := (ℝ ∙ (v : E))ᗮ |
| 50 | |
| 51 | /-- The actual stereographic homeomorphism on a pole complement. -/ |
| 52 | def spherePoleChart (v : NormalSphere.Cycles.NormalUnitSphere E) : |
| 53 | spherePoleOpen v ≃ₜ SphereEquatorSpace v := |
| 54 | (stereographic (norm_eq_of_mem_sphere v)).toHomeomorphSourceTarget.trans |
| 55 | (Homeomorph.Set.univ _) |
| 56 | |
| 57 | @[simp] |
| 58 | theorem spherePoleChart_apply (v : NormalSphere.Cycles.NormalUnitSphere E) (x : spherePoleOpen v) : |
| 59 | spherePoleChart v x = stereographic (norm_eq_of_mem_sphere v) (x : NormalSphere.Cycles.NormalUnitSphere E) := |
| 60 | rfl |
| 61 | |
| 62 | /-- Every pole complement is genuinely contractible. -/ |
| 63 | theorem spherePoleOpen_contractible (v : NormalSphere.Cycles.NormalUnitSphere E) : |
| 64 | ContractibleSpace (spherePoleOpen v) := |
| 65 | (spherePoleChart v).contractibleSpace |
| 66 | |
| 67 | /-- The opposite pole, viewed as a point of the chosen stereographic chart. -/ |
| 68 | def sphereOppositePole (v : NormalSphere.Cycles.NormalUnitSphere E) : spherePoleOpen v := |
| 69 | ⟨-v, (ne_neg_of_mem_unit_sphere ℝ v).symm⟩ |
| 70 | |
| 71 | @[simp] |
| 72 | theorem spherePoleChart_opposite (v : NormalSphere.Cycles.NormalUnitSphere E) : |
| 73 | spherePoleChart v (sphereOppositePole v) = 0 := by |
| 74 | exact stereographic_apply_neg v |
| 75 | |
| 76 | /-- Deleting the opposite pole from this chart is exactly deleting zero from |
| 77 | the hyperplane. -/ |
| 78 | theorem spherePoleChart_eq_zero_iff (v : NormalSphere.Cycles.NormalUnitSphere E) (x : spherePoleOpen v) : |
| 79 | spherePoleChart v x = 0 ↔ (x : NormalSphere.Cycles.NormalUnitSphere E) = -v := by |
| 80 | constructor |
| 81 | · intro h |
| 82 | have he : spherePoleChart v x = spherePoleChart v (sphereOppositePole v) := by |
| 83 | rw [h, spherePoleChart_opposite] |
| 84 | exact congrArg Subtype.val ((spherePoleChart v).injective he) |
| 85 | · intro h |
| 86 | have he : x = sphereOppositePole v := Subtype.ext h |
| 87 | rw [he, spherePoleChart_opposite] |
| 88 | |
| 89 | /-- Flatten the two membership conditions in the intersection of the charts. -/ |
| 90 | def spherePoleIntersectionNested (v : NormalSphere.Cycles.NormalUnitSphere E) : |
| 91 | ↥(spherePoleOpen v ∩ spherePoleOpen (-v)) ≃ₜ |
| 92 | {x : spherePoleOpen v // (x : NormalSphere.Cycles.NormalUnitSphere E) ≠ -v} where |
| 93 | toFun x := ⟨⟨x.1, x.2.1⟩, x.2.2⟩ |
| 94 | invFun x := ⟨x.1.1, ⟨x.1.2, x.2⟩⟩ |
| 95 | left_inv _ := rfl |
| 96 | right_inv _ := rfl |
| 97 | continuous_toFun := by fun_prop |
| 98 | continuous_invFun := by fun_prop |
| 99 | |
| 100 | /-- The overlap of the two stereographic domains is a punctured real |
| 101 | hyperplane, via the restricted stereographic homeomorphism. -/ |
| 102 | def spherePoleIntersectionChart (v : NormalSphere.Cycles.NormalUnitSphere E) : |
| 103 | ↥(spherePoleOpen v ∩ spherePoleOpen (-v)) ≃ₜ NormalSphere.Cycles.PuncturedNormal (SphereEquatorSpace v) := |
| 104 | (spherePoleIntersectionNested v).trans |
| 105 | ((spherePoleChart v).subtype (fun x => by |
| 106 | change (x : NormalSphere.Cycles.NormalUnitSphere E) ≠ -v ↔ spherePoleChart v x ≠ 0 |
| 107 | exact (not_congr (spherePoleChart_eq_zero_iff v x)).symm)) |
| 108 | |
| 109 | @[simp] |
| 110 | theorem spherePoleIntersectionChart_apply (v : NormalSphere.Cycles.NormalUnitSphere E) |
| 111 | (x : ↥(spherePoleOpen v ∩ spherePoleOpen (-v))) : |
| 112 | (spherePoleIntersectionChart v x : SphereEquatorSpace v) = |
| 113 | stereographic (norm_eq_of_mem_sphere v) (x : NormalSphere.Cycles.NormalUnitSphere E) := rfl |
| 114 | |
| 115 | /-- Radial normalization in stereographic coordinates identifies the overlap |
| 116 | up to homotopy with the unit sphere of the equatorial hyperplane. -/ |
| 117 | def spherePoleIntersectionSphereEquiv (v : NormalSphere.Cycles.NormalUnitSphere E) : |
| 118 | ContinuousMap.HomotopyEquiv ↥(spherePoleOpen v ∩ spherePoleOpen (-v)) |
| 119 | (NormalSphere.Cycles.NormalUnitSphere (SphereEquatorSpace v)) := |
| 120 | (spherePoleIntersectionChart v).toHomotopyEquiv.trans |
| 121 | (NormalSphere.Cycles.normalSphereHomotopyEquiv (SphereEquatorSpace v)) |
| 122 | |
| 123 | /-- The equatorial hyperplane has one less real dimension. -/ |
| 124 | theorem sphereEquatorSpace_finrank [FiniteDimensional ℝ E] (v : NormalSphere.Cycles.NormalUnitSphere E) : |
| 125 | Module.finrank ℝ (SphereEquatorSpace v) + 1 = Module.finrank ℝ E := by |
| 126 | have h := (ℝ ∙ (v : E)).finrank_add_finrank_orthogonal |
| 127 | rw [finrank_span_singleton (ne_zero_of_mem_unit_sphere v)] at h |
| 128 | simpa [Nat.add_comm] using h |
| 129 | |
| 130 | /-- In an `(n+1)`-dimensional inner product space, the equatorial sphere is |
| 131 | homeomorphic to the usual unit sphere in real Euclidean `n`-space. -/ |
| 132 | def sphereEquatorEuclideanHomeomorph (n : ℕ) [Fact (Module.finrank ℝ E = n + 1)] |
| 133 | (v : NormalSphere.Cycles.NormalUnitSphere E) : |
| 134 | NormalSphere.Cycles.NormalUnitSphere (SphereEquatorSpace v) ≃ₜ |
| 135 | NormalSphere.Cycles.NormalUnitSphere (EuclideanSpace ℝ (Fin n)) := |
| 136 | (OrthonormalBasis.fromOrthogonalSpanSingleton n (ne_zero_of_mem_unit_sphere v)).repr.toHomeomorph.subtype |
| 137 | (fun x => by |
| 138 | simp only [NormalSphere.Cycles.NormalUnitSphere, mem_sphere_zero_iff_norm] |
| 139 | change ‖x‖ = 1 ↔ |
| 140 | ‖(OrthonormalBasis.fromOrthogonalSpanSingleton n (ne_zero_of_mem_unit_sphere v)).repr x‖ = 1 |
| 141 | rw [LinearIsometryEquiv.norm_map]) |
| 142 | |
| 143 | /-- The explicit lower-dimensional sphere equivalence used in dimension |
| 144 | induction for the two-chart cover. -/ |
| 145 | def spherePoleIntersectionLowerSphereEquiv (n : ℕ) [Fact (Module.finrank ℝ E = n + 1)] |
| 146 | (v : NormalSphere.Cycles.NormalUnitSphere E) : |
| 147 | ContinuousMap.HomotopyEquiv ↥(spherePoleOpen v ∩ spherePoleOpen (-v)) |
| 148 | (NormalSphere.Cycles.NormalUnitSphere (EuclideanSpace ℝ (Fin n))) := |
| 149 | (spherePoleIntersectionSphereEquiv v).trans |
| 150 | (sphereEquatorEuclideanHomeomorph n v).toHomotopyEquiv |
| 151 | |
| 152 | /-- A concrete north pole for the standard sphere. -/ |
| 153 | def standardSphereNorthPole (n : ℕ) : NormalSphere.Cycles.NormalUnitSphere (EuclideanSpace ℝ (Fin (n + 1))) := |
| 154 | ⟨EuclideanSpace.single 0 1, by simp [NormalSphere.Cycles.NormalUnitSphere]⟩ |
| 155 | |
| 156 | section OrderedEquatorCoordinates |
| 157 | |
| 158 | set_option backward.isDefEq.respectTransparency false |
| 159 | set_option backward.isDefEq.respectTransparency.types false |
| 160 | set_option backward.defeqAttrib.useBackward true |
| 161 | |
| 162 | abbrev StandardEquator (n : ℕ) := SphereEquatorSpace (standardSphereNorthPole n) |
| 163 | |
| 164 | theorem standardEquator_first_zero (n : ℕ) (x : StandardEquator n) : x.val 0 = 0 := by |
| 165 | have h := x.property |
| 166 | rw [Submodule.mem_orthogonal_singleton_iff_inner_left] at h |
| 167 | simpa [standardSphereNorthPole, EuclideanSpace.inner_single_right] using h |
| 168 | |
| 169 | def orderedEquatorCoordinates (n : ℕ) : StandardEquator n ≃ₗᵢ[ℝ] EuclideanSpace ℝ (Fin n) where |
| 170 | toFun x := WithLp.toLp 2 (fun i => x.val i.succ) |
| 171 | invFun y := ⟨WithLp.toLp 2 (Fin.cons 0 (fun i => y i)), by |
| 172 | rw [Submodule.mem_orthogonal_singleton_iff_inner_left] |
| 173 | simp [standardSphereNorthPole, EuclideanSpace.inner_single_right]⟩ |
| 174 | left_inv x := by |
| 175 | apply Subtype.ext |
| 176 | ext i |
| 177 | refine Fin.cases ?_ (fun j => ?_) i |
| 178 | · exact (standardEquator_first_zero n x).symm |
| 179 | · rfl |
| 180 | right_inv y := by ext i; rfl |
| 181 | map_add' x y := by ext i; rfl |
| 182 | map_smul' r x := by ext i; rfl |
| 183 | norm_map' x := by |
| 184 | apply (sq_eq_sq₀ (norm_nonneg _) (norm_nonneg _)).mp |
| 185 | change ‖WithLp.toLp 2 (fun i : Fin n => x.val i.succ)‖ ^ 2 = ‖x.val‖ ^ 2 |
| 186 | rw [EuclideanSpace.real_norm_sq_eq, EuclideanSpace.real_norm_sq_eq, Fin.sum_univ_succ] |
| 187 | simp only [standardEquator_first_zero, zero_pow (by decide : 2 ≠ 0), zero_add] |
| 188 | |
| 189 | def orderedEquatorBasis (n : ℕ) : OrthonormalBasis (Fin n) ℝ (StandardEquator n) := |
| 190 | OrthonormalBasis.ofRepr (orderedEquatorCoordinates n) |
| 191 | |
| 192 | theorem orderedEquatorCoordinates_apply (n : ℕ) (x : StandardEquator n) (i : Fin n) : |
| 193 | orderedEquatorCoordinates n x i = x.val i.succ := rfl |
| 194 | |
| 195 | def orderedEquatorSphereHomeomorph (n : ℕ) : |
| 196 | NormalSphere.Cycles.NormalUnitSphere (StandardEquator n) ≃ₜ NormalSphere.Cycles.NormalUnitSphere (EuclideanSpace ℝ (Fin n)) := |
| 197 | (orderedEquatorCoordinates n).toHomeomorph.subtype (fun x => by |
| 198 | simp only [NormalSphere.Cycles.NormalUnitSphere, mem_sphere_zero_iff_norm] |
| 199 | change ‖x‖ = 1 ↔ ‖orderedEquatorCoordinates n x‖ = 1 |
| 200 | rw [LinearIsometryEquiv.norm_map]) |
| 201 | |
| 202 | end OrderedEquatorCoordinates |
| 203 | |
| 204 | /-- The two-chart intersection for the standard `n`-sphere has the homotopy |
| 205 | type of the unit sphere in real `n`-space. This also handles `n = 0`, when |
| 206 | both the intersection and that lower sphere are empty. -/ |
| 207 | def standardSphereOverlapEquiv (n : ℕ) : |
| 208 | ContinuousMap.HomotopyEquiv |
| 209 | ↥(spherePoleOpen (standardSphereNorthPole n) ∩ |
| 210 | spherePoleOpen (-standardSphereNorthPole n)) |
| 211 | (NormalSphere.Cycles.NormalUnitSphere (EuclideanSpace ℝ (Fin n))) := |
| 212 | (spherePoleIntersectionSphereEquiv (standardSphereNorthPole n)).trans |
| 213 | (orderedEquatorSphereHomeomorph n).toHomotopyEquiv |
| 214 | |
| 215 | end |
| 216 | |
| 217 | end OAI.AlgebraicGeometry.CycleClass.Geometric.SphereCover.Cycles |