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.HodgeConjecture.CMVariety.AlgebraicForms |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.Torus |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.TorusRealManifold |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.RationalAlgebraic |
| 5 | import Mathlib.Analysis.Complex.LocallyUniformLimit |
| 6 | |
| 7 | /-! # Algebraic Pure Primitive -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicPurePrimitive.CM.Abelian.Algebraization.PurePrimitive |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # CMAbelianVariety: bounded errors of holomorphic primitives |
| 15 | |
| 16 | An entire function at bounded distance from a real-linear map has a |
| 17 | complex-linear leading part. Rescaling gives uniform convergence to that |
| 18 | leading part, and the proved holomorphic uniform-limit theorem applies. |
| 19 | -/ |
| 20 | |
| 21 | open Set Filter |
| 22 | open scoped _root_.Topology |
| 23 | |
| 24 | theorem holomorphic_of_bounded_error (F : ℂ → ℂ) (hF : Differentiable ℂ F) |
| 25 | (l : ℂ →L[ℝ] ℂ) (C : ℝ) (hC : ∀ z, ‖F z - l z‖ ≤ C) : |
| 26 | Differentiable ℂ l := by |
| 27 | have hlim : TendstoUniformly (fun r : ℝ => fun z : ℂ => r⁻¹ • F (r • z)) l atTop := by |
| 28 | apply Metric.tendstoUniformly_iff.mpr |
| 29 | intro ε hε |
| 30 | filter_upwards [eventually_ge_atTop (max 1 (C / ε) + 1)] with r hr |
| 31 | have hr0 : 0 < r := by have := le_max_left (1 : ℝ) (C / ε); linarith |
| 32 | have hCr : C / ε < r := by have := le_max_right (1 : ℝ) (C / ε); linarith |
| 33 | intro z |
| 34 | calc |
| 35 | dist (l z) (r⁻¹ • F (r • z)) = ‖r⁻¹ • (l (r • z) - F (r • z))‖ := by |
| 36 | rw [dist_eq_norm, smul_sub, map_smul, smul_smul, inv_mul_cancel₀ hr0.ne', one_smul] |
| 37 | _ = r⁻¹ * ‖l (r • z) - F (r • z)‖ := by |
| 38 | rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hr0)] |
| 39 | _ ≤ r⁻¹ * C := mul_le_mul_of_nonneg_left |
| 40 | (by simpa only [norm_sub_rev] using hC (r • z)) (inv_nonneg.mpr hr0.le) |
| 41 | _ < ε := by |
| 42 | rw [inv_mul_eq_div, div_lt_iff₀ hr0] |
| 43 | simpa only [mul_comm] using (div_lt_iff₀ hε).mp hCr |
| 44 | apply differentiableOn_univ.mp |
| 45 | apply hlim.tendstoUniformlyOn.tendstoLocallyUniformlyOn.differentiableOn _ isOpen_univ |
| 46 | exact Filter.Eventually.of_forall fun r => |
| 47 | ((hF.comp (differentiable_id.const_smul r)).const_smul r⁻¹).differentiableOn |
| 48 | |
| 49 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V] |
| 50 | [IsScalarTower ℝ ℂ V] |
| 51 | |
| 52 | /-- A bounded error cannot change the complex-linearity of the leading covector. -/ |
| 53 | theorem complexLinear_of_bounded_error (F : V → ℂ) (hF : Differentiable ℂ F) |
| 54 | (l : V →L[ℝ] ℂ) (C : ℝ) (hC : ∀ z, ‖F z - l z‖ ≤ C) : |
| 55 | ∃ L : V →L[ℂ] ℂ, L.restrictScalars ℝ = l := by |
| 56 | have hsmul (a : ℂ) (v : V) : l (a • v) = a • l v := by |
| 57 | let line : ℂ →L[ℂ] V := (ContinuousLinearMap.id ℂ ℂ).smulRight v |
| 58 | let lv : ℂ →L[ℝ] ℂ := l.comp (line.restrictScalars ℝ) |
| 59 | have hlv : Differentiable ℂ lv := holomorphic_of_bounded_error (F ∘ line) |
| 60 | (hF.comp line.differentiable) lv C (fun z => hC (line z)) |
| 61 | have hd : lv = (fderiv ℂ lv 0).restrictScalars ℝ := |
| 62 | lv.hasFDerivAt.unique ((hlv 0).hasFDerivAt.restrictScalars ℝ) |
| 63 | have ha := congrArg (fun k : ℂ →L[ℝ] ℂ => k a) hd |
| 64 | have h1 := congrArg (fun k : ℂ →L[ℝ] ℂ => k 1) hd |
| 65 | change l (a • v) = fderiv ℂ lv 0 a at ha |
| 66 | change l ((1 : ℂ) • v) = fderiv ℂ lv 0 1 at h1 |
| 67 | rw [one_smul] at h1 |
| 68 | calc |
| 69 | l (a • v) = fderiv ℂ lv 0 a := ha |
| 70 | _ = a • fderiv ℂ lv 0 1 := by rw [← map_smul, smul_eq_mul, mul_one] |
| 71 | _ = a • l v := congrArg (fun z => a • z) h1.symm |
| 72 | exact ⟨⟨{ toFun := l, map_add' := l.map_add, map_smul' := hsmul }, l.continuous⟩, rfl⟩ |
| 73 | |
| 74 | theorem pureOneForm_complexLinear (a : OAI.Analysis.DifferentialForms.Manifold.Basic.FormValue V 1) (ha : OAI.Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree V 1 0 a) : |
| 75 | ∃ L : V →L[ℂ] ℂ, L.restrictScalars ℝ = |
| 76 | AlgebraicTopology.DeRham.Comparison.RadialOne.altOneFormToLinear (fun _ : V => a) 0 := by |
| 77 | let l := AlgebraicTopology.DeRham.Comparison.RadialOne.altOneFormToLinear (fun _ : V => a) 0 |
| 78 | have hl (z : ℂ) (v : V) : l (z • v) = z • l v := by |
| 79 | by_cases hz : z = 0 |
| 80 | · simp [hz] |
| 81 | · have h := ha (Units.mk0 z hz) (fun _ => v) |
| 82 | simpa only [OAI.Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter, Units.val_mk0, pow_one, pow_zero, mul_one, |
| 83 | smul_eq_mul] using! h |
| 84 | exact ⟨⟨{ toFun := l, map_add' := l.map_add, map_smul' := hl }, l.continuous⟩, rfl⟩ |
| 85 | |
| 86 | open OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicForms.CM.Abelian.Algebraization.Forms |
| 87 | |
| 88 | variable (Φ : ProjectiveTorusData.CM.Abelian.ProjectivePeriodData) |
| 89 | |
| 90 | theorem coverForm_hasBidegree {p q : ℕ} |
| 91 | (a : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Φ.space) Φ.periodTorus (p + q)) |
| 92 | (ha : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree (Φ.space) Φ.periodTorus p q a) (z : Φ.space) : |
| 93 | OAI.Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree (Φ.space) p q (Torus.CM.Abelian.Algebraization.coverForm Φ a z) := by |
| 94 | let t : Φ.periodTorus := QuotientAddGroup.mk z |
| 95 | have heq : Torus.CM.Abelian.Algebraization.coverForm Φ a z = |
| 96 | (a : OAI.Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm (Φ.space) Φ.periodTorus (p + q)).inChart |
| 97 | (Φ.periodChart t) (Φ.periodChart t t) := by |
| 98 | rw [Torus.CM.Abelian.Algebraization.coverForm_apply] |
| 99 | ext v |
| 100 | exact (OAI.Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_at a (Φ.periodChart t) (Φ.periodChart_mem_atlas t) |
| 101 | t (Φ.mem_periodChart_source t) v).symm |
| 102 | rw [heq] |
| 103 | exact ha _ (Φ.periodChart_mem_atlas t) _ ((Φ.periodChart t).map_source (Φ.mem_periodChart_source t)) |
| 104 | |
| 105 | /-- A primitive of a closed holomorphic one-form is an actual entire function on the cover. -/ |
| 106 | theorem cover_primitive_holomorphic |
| 107 | (a : OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms (Φ.space) Φ.periodTorus 1) |
| 108 | (ha : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree (Φ.space) Φ.periodTorus 1 0 a.val) |
| 109 | (F : Φ.space → ℂ) |
| 110 | (hF : ∀ z, HasFDerivAt F (AlgebraicTopology.DeRham.Comparison.RadialOne.altOneFormToLinear (Torus.CM.Abelian.Algebraization.coverForm Φ a.val) z) z) : |
| 111 | Differentiable ℂ F := by |
| 112 | intro z |
| 113 | obtain ⟨L, hL⟩ := pureOneForm_complexLinear (Torus.CM.Abelian.Algebraization.coverForm Φ a.val z) |
| 114 | (coverForm_hasBidegree Φ (p := 1) (q := 0) a.val ha z) |
| 115 | exact (hasFDerivAt_of_restrictScalars ℝ (hF z) hL).differentiableAt |
| 116 | |
| 117 | /-- The periodic remainder of the cover primitive forces its invariant part to be holomorphic. -/ |
| 118 | theorem exists_holomorphic_primitive_remainder |
| 119 | (a : OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms (Φ.space) Φ.periodTorus 1) |
| 120 | (ha : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree (Φ.space) Φ.periodTorus 1 0 a.val) : |
| 121 | ∃ (F : OAI.Analysis.DifferentialForms.Manifold.Functions.SmoothFunction (Φ.space)) (L : Φ.space →L[ℂ] ℂ), |
| 122 | (∀ z, HasFDerivAt (F : Φ.space → ℂ) |
| 123 | (AlgebraicTopology.DeRham.Comparison.RadialOne.altOneFormToLinear (Torus.CM.Abelian.Algebraization.coverForm Φ a.val) z) z) ∧ |
| 124 | ∀ z t, t ∈ Φ.periodIntegerLattice → F (z + t) - L (z + t) = F z - L z := by |
| 125 | obtain ⟨F, hF⟩ := Torus.CM.Abelian.Algebraization.exists_cover_primitive Φ a |
| 126 | have hperiod : ∀ z t, t ∈ Φ.periodIntegerLattice → |
| 127 | fderiv ℝ (F : Φ.space → ℂ) (z + t) = fderiv ℝ (F : Φ.space → ℂ) z := by |
| 128 | intro z t ht |
| 129 | rw [(hF (z + t)).fderiv, (hF z).fderiv] |
| 130 | unfold AlgebraicTopology.DeRham.Comparison.RadialOne.altOneFormToLinear |
| 131 | rw [Torus.CM.Abelian.Algebraization.coverForm_periodic Φ a.val z t ht] |
| 132 | obtain ⟨l, _, hrem⟩ := Geometry.ComplexTorus.RiemannProjectivity.PrimitiveEq.Constructions.Primitive.exists_periodic_remainder Φ.periodIntegerLattice |
| 133 | (F : Φ.space → ℂ) (F.smooth.differentiable (by simp)) hperiod |
| 134 | have hb := (IsZLattice.isCompact_range_of_periodic Φ.periodIntegerLattice |
| 135 | (fun z => F z - l z) (F.smooth.continuous.sub l.continuous) hrem).isBounded |
| 136 | obtain ⟨C, hC⟩ := hb.exists_norm_le |
| 137 | obtain ⟨L, hL⟩ := complexLinear_of_bounded_error (F : Φ.space → ℂ) |
| 138 | (cover_primitive_holomorphic Φ a ha F hF) l C (fun z => hC _ ⟨z, rfl⟩) |
| 139 | refine ⟨F, L, hF, ?_⟩ |
| 140 | intro z t ht |
| 141 | have he (w : Φ.space) : L w = l w := |
| 142 | congrArg (fun k : Φ.space →L[ℝ] ℂ => k w) hL |
| 143 | simpa only [he] using hrem z t ht |
| 144 | |
| 145 | /-- A closed holomorphic one-form differs from an invariant holomorphic |
| 146 | one-form by an actual exact smooth form on the quotient. -/ |
| 147 | theorem holomorphic_form_eq_invariant_mod_exact |
| 148 | (a : OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms (Φ.space) Φ.periodTorus 1) |
| 149 | (ha : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree (Φ.space) Φ.periodTorus 1 0 a.val) : |
| 150 | ∃ (L : Φ.space →L[ℂ] ℂ) |
| 151 | (f : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Φ.space) Φ.periodTorus 0), |
| 152 | OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f = a.val - (AlgebraicForms.CM.Abelian.Algebraization.Forms.invariantClosedOneForm Φ (L.restrictScalars ℝ)).val := by |
| 153 | obtain ⟨F, L, hF, hrem⟩ := exists_holomorphic_primitive_remainder Φ a ha |
| 154 | let G : OAI.Analysis.DifferentialForms.Manifold.Functions.SmoothFunction (Φ.space) := |
| 155 | ⟨fun z => F z - L z, F.smooth.sub (L.restrictScalars ℝ).contDiff⟩ |
| 156 | have hG : ∀ z t, t ∈ Φ.periodIntegerLattice → G (z + t) = G z := hrem |
| 157 | refine ⟨L, Torus.CM.Abelian.Algebraization.descendedZeroForm Φ G hG, ?_⟩ |
| 158 | apply Torus.CM.Abelian.Algebraization.coverForm_injective Φ |
| 159 | rw [Torus.CM.Abelian.Algebraization.coverForm_d, Torus.CM.Abelian.Algebraization.coverForm_descendedZeroForm, Torus.CM.Abelian.Algebraization.coverForm_sub] |
| 160 | change OAI.Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d G.toZeroForm = Torus.CM.Abelian.Algebraization.coverForm Φ a.val - |
| 161 | (OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback |
| 162 | (QuotientAddGroup.mk : Φ.space → Φ.periodTorus) |
| 163 | (AlgebraicForms.CM.Abelian.Algebraization.Forms.projection_real_smooth Φ) (AlgebraicForms.CM.Abelian.Algebraization.Forms.invariantForm Φ |
| 164 | (ContinuousAlternatingMap.ofSubsingleton ℝ (Φ.space) ℂ (0 : Fin 1) |
| 165 | (L.restrictScalars ℝ)))).toNormedSpace |
| 166 | rw [AlgebraicForms.CM.Abelian.Algebraization.Forms.invariantForm_pullback] |
| 167 | apply OAI.Analysis.DifferentialForms.Manifold.Basic.SmoothForm.ext |
| 168 | intro z |
| 169 | ext v |
| 170 | have hdG : HasFDerivAt (G : Φ.space → ℂ) |
| 171 | (AlgebraicTopology.DeRham.Comparison.RadialOne.altOneFormToLinear (Torus.CM.Abelian.Algebraization.coverForm Φ a.val) z - L.restrictScalars ℝ) z := |
| 172 | (hF z).sub (L.restrictScalars ℝ).hasFDerivAt |
| 173 | rw [OAI.Analysis.DifferentialForms.Manifold.Functions.SmoothFunction.d_toZeroForm_apply, hdG.fderiv] |
| 174 | change AlgebraicTopology.DeRham.Comparison.RadialOne.altOneFormToLinear (Torus.CM.Abelian.Algebraization.coverForm Φ a.val) z (v 0) - L (v 0) = |
| 175 | Torus.CM.Abelian.Algebraization.coverForm Φ a.val z v - L (v 0) |
| 176 | congr 1 |
| 177 | exact congrArg (fun form : OAI.Analysis.DifferentialForms.Manifold.Basic.RawForm (Φ.space) 1 => form z v) |
| 178 | (AlgebraicTopology.DeRham.Comparison.RadialOne.linearOneFormToAlt_altOneFormToLinear (Torus.CM.Abelian.Algebraization.coverForm Φ a.val)) |
| 179 | |
| 180 | /-- The genuine holomorphic de Rham classes are exactly the invariant |
| 181 | complex-linear covectors. -/ |
| 182 | theorem invariantH1_holomorphic_iff (l : Φ.space →L[ℝ] ℂ) : |
| 183 | (∃ a : OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms (Φ.space) Φ.periodTorus 1, |
| 184 | OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree (Φ.space) Φ.periodTorus 1 0 a.val ∧ |
| 185 | OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass (Φ.space) Φ.periodTorus 1 a = AlgebraicForms.CM.Abelian.Algebraization.Forms.invariantH1 Φ l) ↔ |
| 186 | ∃ L : Φ.space →L[ℂ] ℂ, l = L.restrictScalars ℝ := by |
| 187 | constructor |
| 188 | · rintro ⟨a, ha, he⟩ |
| 189 | obtain ⟨L, f, hf⟩ := holomorphic_form_eq_invariant_mod_exact Φ a ha |
| 190 | have hz : OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass (Φ.space) Φ.periodTorus 1 |
| 191 | (a - AlgebraicForms.CM.Abelian.Algebraization.Forms.invariantClosedOneForm Φ (L.restrictScalars ℝ)) = 0 := |
| 192 | (OAI.Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass_eq_zero_iff (Φ.space) Φ.periodTorus 1 _).mpr ⟨f, hf⟩ |
| 193 | rw [map_sub, sub_eq_zero, he] at hz |
| 194 | exact ⟨L, AlgebraicForms.CM.Abelian.Algebraization.Forms.invariantH1_injective Φ hz⟩ |
| 195 | · rintro ⟨L, rfl⟩ |
| 196 | exact ⟨AlgebraicForms.CM.Abelian.Algebraization.Forms.invariantClosedOneForm Φ (L.restrictScalars ℝ), |
| 197 | AlgebraicForms.CM.Abelian.Algebraization.Forms.complex_covector_holomorphic Φ L, rfl⟩ |
| 198 | |
| 199 | end |
| 200 | |
| 201 | end OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicPurePrimitive.CM.Abelian.Algebraization.PurePrimitive |