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.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone |
| 2 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 3 | import Mathlib.Analysis.Normed.Group.Bounded |
| 4 | import Mathlib.Topology.Maps.Proper.CompactlyGenerated |
| 5 | |
| 6 | /-! # Projection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.Projection.Constructions.Cone |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Proper linear projections of closed complex cones |
| 14 | |
| 15 | If the kernel of a linear projection meets a closed complex cone only at the |
| 16 | origin, the projection controls the norm on the cone. Consequently the |
| 17 | restricted projection is proper. These are the compactness estimates needed |
| 18 | to construct equations by finite projection. |
| 19 | -/ |
| 20 | |
| 21 | open Set _root_.Metric |
| 22 | open scoped _root_.Topology |
| 23 | |
| 24 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 25 | variable [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 26 | |
| 27 | local instance : ProperSpace E := FiniteDimensional.proper ℂ E |
| 28 | |
| 29 | /-- A projection with no nonzero kernel point on a closed cone controls the |
| 30 | norm everywhere on the cone. -/ |
| 31 | theorem norm_le_projection {S : Set E} |
| 32 | (hS : IsClosed S) |
| 33 | (hcone : ∀ (c : ℂ) ⦃x : E⦄, x ∈ S → c • x ∈ S) |
| 34 | (L : E →L[ℂ] F) |
| 35 | (hker : ∀ x ∈ S, L x = 0 → x = 0) : |
| 36 | ∃ C : ℝ, 0 < C ∧ ∀ x ∈ S, ‖x‖ ≤ C * ‖L x‖ := by |
| 37 | let K : Set E := sphere 0 1 ∩ S |
| 38 | have hK : IsCompact K := (isCompact_sphere _ _).inter_right hS |
| 39 | have hnonzero (x : E) (hx : x ∈ K) : ‖L x‖ ≠ 0 := by |
| 40 | intro hz |
| 41 | have hx0 := hker x hx.2 (norm_eq_zero.mp hz) |
| 42 | have hnorm : ‖x‖ = 1 := by |
| 43 | simpa only [mem_sphere_iff_norm, sub_zero] using hx.1 |
| 44 | simp [hx0] at hnorm |
| 45 | have hcont : ContinuousOn (fun x => (‖L x‖)⁻¹) K := |
| 46 | L.continuous.norm.continuousOn.inv₀ hnonzero |
| 47 | obtain ⟨C, hC, hbound⟩ := (hK.image_of_continuousOn hcont).isBounded.exists_pos_norm_le |
| 48 | refine ⟨C, hC, fun x hx => ?_⟩ |
| 49 | by_cases hx0 : x = 0 |
| 50 | · simp [hx0] |
| 51 | · let c : ℂ := ‖x‖ |
| 52 | have hc : c ≠ 0 := by |
| 53 | dsimp [c] |
| 54 | exact_mod_cast (norm_ne_zero_iff.mpr hx0) |
| 55 | have hcnorm : ‖c‖ = ‖x‖ := by simp [c] |
| 56 | let y : E := c⁻¹ • x |
| 57 | have hynorm : ‖y‖ = 1 := by |
| 58 | rw [show y = c⁻¹ • x from rfl, norm_smul, norm_inv, hcnorm] |
| 59 | exact inv_mul_cancel₀ (norm_ne_zero_iff.mpr hx0) |
| 60 | have hy : y ∈ K := ⟨by |
| 61 | simpa only [mem_sphere_iff_norm, sub_zero] using hynorm, |
| 62 | hcone c⁻¹ hx⟩ |
| 63 | have hnormpos : 0 < ‖L y‖ := lt_of_le_of_ne (norm_nonneg _) (hnonzero y hy).symm |
| 64 | have hCy : (‖L y‖)⁻¹ ≤ C := by |
| 65 | simpa only [norm_inv, Real.norm_of_nonneg (norm_nonneg _)] using |
| 66 | hbound _ (mem_image_of_mem _ hy) |
| 67 | have hone : 1 ≤ C * ‖L y‖ := (inv_le_iff_one_le_mul₀ hnormpos).mp hCy |
| 68 | have hcy : c • y = x := by |
| 69 | rw [show y = c⁻¹ • x from rfl, smul_smul, mul_inv_cancel₀ hc, one_smul] |
| 70 | calc |
| 71 | ‖x‖ = ‖x‖ * 1 := (mul_one _).symm |
| 72 | _ ≤ ‖x‖ * (C * ‖L y‖) := mul_le_mul_of_nonneg_left hone (norm_nonneg _) |
| 73 | _ = C * ‖L x‖ := by |
| 74 | conv_rhs => rw [← hcy, map_smul, norm_smul, hcnorm] |
| 75 | ring |
| 76 | |
| 77 | /-- Compact subsets of the base have compact inverse images on the cone. -/ |
| 78 | theorem isCompact_projection_preimage {S : Set E} |
| 79 | (hS : IsClosed S) |
| 80 | (hcone : ∀ (c : ℂ) ⦃x : E⦄, x ∈ S → c • x ∈ S) |
| 81 | (L : E →L[ℂ] F) |
| 82 | (hker : ∀ x ∈ S, L x = 0 → x = 0) |
| 83 | {K : Set F} (hK : IsCompact K) : |
| 84 | IsCompact (S ∩ L ⁻¹' K) := by |
| 85 | obtain ⟨C, hC, hbound⟩ := norm_le_projection hS hcone L hker |
| 86 | obtain ⟨R, hR⟩ := hK.isBounded.exists_norm_le |
| 87 | apply isCompact_iff_isClosed_bounded.mpr |
| 88 | refine ⟨hS.inter (hK.isClosed.preimage L.continuous), ?_⟩ |
| 89 | apply isBounded_iff_forall_norm_le.mpr |
| 90 | refine ⟨C * R, fun x hx => ?_⟩ |
| 91 | exact (hbound x hx.1).trans (mul_le_mul_of_nonneg_left (hR _ hx.2) hC.le) |
| 92 | |
| 93 | /-- The linear projection restricted to a closed cone is proper when its |
| 94 | kernel meets the cone only at the origin. -/ |
| 95 | theorem isProperMap_projection {S : Set E} |
| 96 | (hS : IsClosed S) |
| 97 | (hcone : ∀ (c : ℂ) ⦃x : E⦄, x ∈ S → c • x ∈ S) |
| 98 | (L : E →L[ℂ] F) |
| 99 | (hker : ∀ x ∈ S, L x = 0 → x = 0) : |
| 100 | IsProperMap (fun x : S => L x) := by |
| 101 | apply isProperMap_iff_isCompact_preimage.mpr |
| 102 | refine ⟨L.continuous.comp continuous_subtype_val, fun K hK => ?_⟩ |
| 103 | rw [Subtype.isCompact_iff] |
| 104 | convert isCompact_projection_preimage hS hcone L hker hK using 1 |
| 105 | ext x |
| 106 | simp only [mem_image, mem_preimage, mem_inter_iff, Subtype.exists, |
| 107 | exists_and_right, exists_eq_right, exists_prop] |
| 108 | |
| 109 | /-- Apply the projection estimate to the actual affine cone of a closed |
| 110 | projective set. -/ |
| 111 | theorem norm_le_projectiveCone_projection {n k : ℕ} |
| 112 | {Z : Set (Projectivization ℂ (Fin n → ℂ))} (hZ : IsClosed Z) |
| 113 | (L : (Fin n → ℂ) →L[ℂ] (Fin k → ℂ)) |
| 114 | (hker : ∀ x ∈ ProjectiveCone.Constructions.Cone.projectiveCone Z, L x = 0 → x = 0) : |
| 115 | ∃ C : ℝ, 0 < C ∧ ∀ x ∈ ProjectiveCone.Constructions.Cone.projectiveCone Z, ‖x‖ ≤ C * ‖L x‖ := |
| 116 | norm_le_projection (ProjectiveCone.Constructions.Cone.isClosed_projectiveCone Z hZ) (ProjectiveCone.Constructions.Cone.smul_mem_projectiveCone Z) L hker |
| 117 | |
| 118 | /-- The linear projection which drops the first coordinate. -/ |
| 119 | def tailProjection (n : ℕ) : (Fin (n + 1) → ℂ) →L[ℂ] (Fin n → ℂ) where |
| 120 | toFun := Fin.tail |
| 121 | map_add' _ _ := rfl |
| 122 | map_smul' _ _ := rfl |
| 123 | cont := continuous_pi (fun i => continuous_apply i.succ) |
| 124 | |
| 125 | @[simp] |
| 126 | theorem tailProjection_cons {n : ℕ} (c : ℂ) (x : Fin n → ℂ) : |
| 127 | tailProjection n (Fin.cons c x) = x := rfl |
| 128 | |
| 129 | /-- Avoiding one projective center gives the required kernel condition. -/ |
| 130 | theorem tailProjection_kernel_trivial {n : ℕ} {S : Set (Fin (n + 1) → ℂ)} |
| 131 | (hcone : ∀ (c : ℂ) ⦃x : Fin (n + 1) → ℂ⦄, x ∈ S → c • x ∈ S) |
| 132 | (haxis : (Fin.cons 1 0 : Fin (n + 1) → ℂ) ∉ S) : |
| 133 | ∀ x ∈ S, tailProjection n x = 0 → x = 0 := by |
| 134 | intro x hx htail |
| 135 | have heq : x = (x 0) • (Fin.cons 1 0 : Fin (n + 1) → ℂ) := by |
| 136 | ext i |
| 137 | refine Fin.cases ?_ (fun j => ?_) i |
| 138 | · simp |
| 139 | · change x j.succ = x 0 * 0 |
| 140 | rw [mul_zero] |
| 141 | exact congrFun htail j |
| 142 | by_cases hx0 : x 0 = 0 |
| 143 | · simpa only [hx0, zero_smul] using heq |
| 144 | · apply False.elim |
| 145 | apply haxis |
| 146 | have hs := hcone (x 0)⁻¹ hx |
| 147 | have heq' : (x 0)⁻¹ • x = (Fin.cons 1 0 : Fin (n + 1) → ℂ) := by |
| 148 | calc |
| 149 | _ = (x 0)⁻¹ • ((x 0) • (Fin.cons 1 0 : Fin (n + 1) → ℂ)) := |
| 150 | congrArg (fun z => (x 0)⁻¹ • z) heq |
| 151 | _ = _ := by rw [smul_smul, inv_mul_cancel₀ hx0, one_smul] |
| 152 | rwa [heq'] at hs |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.Projection.Constructions.Cone |