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.Analysis.Normed.Module.Ball.RadialEquiv |
| 2 | import Mathlib.Topology.Homotopy.Equiv |
| 3 | |
| 4 | /-! # Normal Sphere -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.NormalSphere.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The sphere in a punctured normal space |
| 12 | |
| 13 | Radial normalization is a strong deformation retraction from a punctured real |
| 14 | normed vector space to its unit sphere. This applies in particular to the real |
| 15 | normed space underlying a complex normal coordinate space. The construction |
| 16 | uses mathlib's actual polar-coordinate homeomorphism; it makes no assertion |
| 17 | about sphere homology or the existence of a Thom class. |
| 18 | -/ |
| 19 | |
| 20 | open unitInterval |
| 21 | |
| 22 | variable (E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 23 | |
| 24 | /-- The complement of the origin in a normal coordinate vector space. -/ |
| 25 | abbrev PuncturedNormal := ({0}ᶜ : Set E) |
| 26 | |
| 27 | /-- The actual unit sphere of a normal coordinate vector space. -/ |
| 28 | abbrev NormalUnitSphere := Metric.sphere (0 : E) 1 |
| 29 | |
| 30 | private def radiusOne : Set.Ioi (0 : ℝ) := ⟨1, by change (0 : ℝ) < 1; exact zero_lt_one⟩ |
| 31 | |
| 32 | /-- Radial projection to the sphere in polar coordinates. -/ |
| 33 | def normalSphereProjection : C(PuncturedNormal E, NormalUnitSphere E) where |
| 34 | toFun x := (homeomorphUnitSphereProd E x).1 |
| 35 | continuous_toFun := (homeomorphUnitSphereProd E).continuous.fst |
| 36 | |
| 37 | /-- Inclusion of the unit sphere into the punctured normal space. -/ |
| 38 | def normalSphereInclusion : C(NormalUnitSphere E, PuncturedNormal E) where |
| 39 | toFun x := (homeomorphUnitSphereProd E).symm (x, radiusOne) |
| 40 | continuous_toFun := (homeomorphUnitSphereProd E).symm.continuous.comp |
| 41 | (continuous_id.prodMk continuous_const) |
| 42 | |
| 43 | @[simp] |
| 44 | theorem normalSphereProjection_coe (x : PuncturedNormal E) : |
| 45 | ((normalSphereProjection E x : NormalUnitSphere E) : E) = ‖(x : E)‖⁻¹ • (x : E) := by |
| 46 | simp [normalSphereProjection, homeomorphUnitSphereProd_apply_fst_coe] |
| 47 | |
| 48 | @[simp] |
| 49 | theorem normalSphereInclusion_coe (x : NormalUnitSphere E) : |
| 50 | ((normalSphereInclusion E x : PuncturedNormal E) : E) = (x : E) := by |
| 51 | simp [normalSphereInclusion, homeomorphUnitSphereProd_symm_apply_coe, radiusOne] |
| 52 | |
| 53 | @[simp] |
| 54 | theorem normalSphereProjection_inclusion (x : NormalUnitSphere E) : |
| 55 | normalSphereProjection E (normalSphereInclusion E x) = x := by |
| 56 | change ((homeomorphUnitSphereProd E) |
| 57 | ((homeomorphUnitSphereProd E).symm (x, radiusOne))).1 = x |
| 58 | rw [(homeomorphUnitSphereProd E).apply_symm_apply] |
| 59 | |
| 60 | private def interpolateRadius (t : I) (r : Set.Ioi (0 : ℝ)) : Set.Ioi (0 : ℝ) := |
| 61 | ⟨(1 - (t : ℝ)) * (r : ℝ) + (t : ℝ), by |
| 62 | have ht0 : 0 ≤ (t : ℝ) := t.property.1 |
| 63 | have ht1 : (t : ℝ) ≤ 1 := t.property.2 |
| 64 | have hr : 0 < (r : ℝ) := r.property |
| 65 | rcases lt_or_eq_of_le ht0 with ht | ht |
| 66 | · exact add_pos_of_nonneg_of_pos (mul_nonneg (sub_nonneg.mpr ht1) hr.le) ht |
| 67 | · simp [← ht]⟩ |
| 68 | |
| 69 | private theorem continuous_interpolateRadius : |
| 70 | Continuous (fun z : I × Set.Ioi (0 : ℝ) => interpolateRadius z.1 z.2) := by |
| 71 | unfold interpolateRadius |
| 72 | fun_prop |
| 73 | |
| 74 | @[simp] |
| 75 | private theorem interpolateRadius_zero (r : Set.Ioi (0 : ℝ)) : |
| 76 | interpolateRadius 0 r = r := by |
| 77 | apply Subtype.ext |
| 78 | simp [interpolateRadius] |
| 79 | |
| 80 | @[simp] |
| 81 | private theorem interpolateRadius_one (r : Set.Ioi (0 : ℝ)) : |
| 82 | interpolateRadius 1 r = radiusOne := by |
| 83 | apply Subtype.ext |
| 84 | simp [interpolateRadius, radiusOne] |
| 85 | |
| 86 | @[simp] |
| 87 | private theorem interpolateRadius_radiusOne (t : I) : |
| 88 | interpolateRadius t radiusOne = radiusOne := by |
| 89 | apply Subtype.ext |
| 90 | simp [interpolateRadius, radiusOne] |
| 91 | |
| 92 | /-- Radial contraction to the unit sphere, fixed at every point of that sphere |
| 93 | throughout the homotopy. The radius changes from `r` to `(1-t)*r+t`. -/ |
| 94 | def normalSphereDeformation : |
| 95 | ContinuousMap.HomotopyRel (ContinuousMap.id (PuncturedNormal E)) |
| 96 | ((normalSphereInclusion E).comp (normalSphereProjection E)) |
| 97 | (Set.range (normalSphereInclusion E)) where |
| 98 | toFun z := (homeomorphUnitSphereProd E).symm |
| 99 | ((homeomorphUnitSphereProd E z.2).1, |
| 100 | interpolateRadius z.1 (homeomorphUnitSphereProd E z.2).2) |
| 101 | continuous_toFun := (homeomorphUnitSphereProd E).symm.continuous.comp |
| 102 | (((homeomorphUnitSphereProd E).continuous.fst.comp continuous_snd).prodMk |
| 103 | (continuous_interpolateRadius.comp |
| 104 | (continuous_fst.prodMk ((homeomorphUnitSphereProd E).continuous.snd.comp continuous_snd)))) |
| 105 | map_zero_left x := by |
| 106 | change (homeomorphUnitSphereProd E).symm |
| 107 | ((homeomorphUnitSphereProd E x).1, |
| 108 | interpolateRadius 0 (homeomorphUnitSphereProd E x).2) = x |
| 109 | rw [interpolateRadius_zero] |
| 110 | exact (homeomorphUnitSphereProd E).symm_apply_apply x |
| 111 | map_one_left x := by |
| 112 | change (homeomorphUnitSphereProd E).symm |
| 113 | ((homeomorphUnitSphereProd E x).1, |
| 114 | interpolateRadius 1 (homeomorphUnitSphereProd E x).2) = |
| 115 | (homeomorphUnitSphereProd E).symm ((homeomorphUnitSphereProd E x).1, radiusOne) |
| 116 | rw [interpolateRadius_one] |
| 117 | prop' t x hx := by |
| 118 | rcases hx with ⟨y, rfl⟩ |
| 119 | change (homeomorphUnitSphereProd E).symm |
| 120 | (((homeomorphUnitSphereProd E) ((homeomorphUnitSphereProd E).symm (y, radiusOne))).1, |
| 121 | interpolateRadius t |
| 122 | (((homeomorphUnitSphereProd E) ((homeomorphUnitSphereProd E).symm (y, radiusOne))).2)) = |
| 123 | (homeomorphUnitSphereProd E).symm (y, radiusOne) |
| 124 | rw [(homeomorphUnitSphereProd E).apply_symm_apply] |
| 125 | simp only [interpolateRadius_radiusOne] |
| 126 | |
| 127 | /-- The radial deformation has the usual positive scalar interpolation formula. -/ |
| 128 | theorem normalSphereDeformation_coe (t : I) (x : PuncturedNormal E) : |
| 129 | (((normalSphereDeformation E) (t, x) : PuncturedNormal E) : E) = |
| 130 | (((1 - (t : ℝ)) * ‖(x : E)‖ + (t : ℝ)) / ‖(x : E)‖) • (x : E) := by |
| 131 | change (((homeomorphUnitSphereProd E).symm |
| 132 | ((homeomorphUnitSphereProd E x).1, |
| 133 | interpolateRadius t (homeomorphUnitSphereProd E x).2) : PuncturedNormal E) : E) = _ |
| 134 | rw [homeomorphUnitSphereProd_symm_apply_coe] |
| 135 | simp only [interpolateRadius, homeomorphUnitSphereProd_apply_fst_coe, |
| 136 | homeomorphUnitSphereProd_apply_snd_coe, smul_smul, div_eq_mul_inv] |
| 137 | |
| 138 | @[simp] |
| 139 | theorem normalSphereDeformation_fixed (t : I) (x : NormalUnitSphere E) : |
| 140 | (normalSphereDeformation E) (t, normalSphereInclusion E x) = normalSphereInclusion E x := by |
| 141 | exact (normalSphereDeformation E).eq_fst t (Set.mem_range_self x) |
| 142 | |
| 143 | /-- The punctured normal coordinate space and its unit sphere are homotopy |
| 144 | equivalent, via the explicit radial deformation retraction. -/ |
| 145 | def normalSphereHomotopyEquiv : |
| 146 | ContinuousMap.HomotopyEquiv (PuncturedNormal E) (NormalUnitSphere E) where |
| 147 | toFun := normalSphereProjection E |
| 148 | invFun := normalSphereInclusion E |
| 149 | left_inv := ⟨(normalSphereDeformation E).toHomotopy.symm⟩ |
| 150 | right_inv := by |
| 151 | have h : (normalSphereProjection E).comp (normalSphereInclusion E) = |
| 152 | ContinuousMap.id (NormalUnitSphere E) := by |
| 153 | apply ContinuousMap.ext |
| 154 | intro x |
| 155 | exact normalSphereProjection_inclusion E x |
| 156 | rw [h] |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.AlgebraicGeometry.CycleClass.Geometric.NormalSphere.Cycles |