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.DivisorClass.Chern.HolomorphicMetric.Data |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FormIntegralPair |
| 3 | |
| 4 | /-! # Variable Metric Integral -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Pairing actual bundle-valued forms with any actual smooth Hermitian metric. -/ |
| 13 | |
| 14 | open _root_.TopologicalSpace |
| 15 | open scoped _root_.Manifold ContDiff ComplexConjugate |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | local instance Holomorphic.VariableMetricIntegral.variableMetricPair_finiteDimensional (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 22 | FiniteDimensional ℝ V.analyticModel := FiniteDimensional.trans ℝ ℂ V.analyticModel |
| 23 | |
| 24 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 25 | {u : Holomorphic.Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace} |
| 26 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (n : ℕ) |
| 27 | |
| 28 | def HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) |
| 29 | (x : V.analyticSpace) : ℂ := |
| 30 | (h.ratio (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u) x : ℂ) * Holomorphic.FormIntegralPair.holomorphicLineGlobalFormPair V u n a b x |
| 31 | |
| 32 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair_inFrame (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) |
| 33 | (i x : V.analyticSpace) (hi : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain V.analyticModel V.analyticSpace u i) : |
| 34 | h.globalFormPair V n a b x = (h.weight i ⟨x, hi⟩ : ℂ) * |
| 35 | Projective.CovectorPair.projectiveTangentCovectorPair V n x (a.val i ⟨x, trivial, hi⟩) (b.val i ⟨x, trivial, hi⟩) := by |
| 36 | rw [HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair, Holomorphic.FormIntegralPair.holomorphicLineGlobalFormPair_apply, |
| 37 | HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_inFrame V u n a b i ⟨x, trivial⟩ hi, ← mul_assoc] |
| 38 | change ((h.ratio (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u) x : ℂ) * |
| 39 | ((HolomorphicMetric.Data.holomorphicLineCanonicalMetric u).weight i ⟨x, hi⟩ : ℂ)) * _ = _ |
| 40 | rw [← Complex.ofReal_mul, h.ratio_weight (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u) i ⟨x, hi⟩] |
| 41 | |
| 42 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair_smooth (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 43 | ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ, ℂ) ∞ (h.globalFormPair V n a b) := |
| 44 | (contDiff_mul : ContDiff ℝ ∞ (fun p : ℂ × ℂ => p.1 * p.2)).contMDiff.comp |
| 45 | ((Complex.ofRealCLM.contDiff.contMDiff.comp (h.ratio_smooth (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u))).prodMk_space |
| 46 | (Holomorphic.FormIntegralPair.holomorphicLineGlobalFormPair_contMDiff V u n a b)) |
| 47 | |
| 48 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair_conj (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) |
| 49 | (x : V.analyticSpace) : conj (h.globalFormPair V n b a x) = h.globalFormPair V n a b x := by |
| 50 | simp only [HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair, map_mul, Complex.conj_ofReal, |
| 51 | Holomorphic.FormIntegralPair.holomorphicLineGlobalFormPair_apply, HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_conj] |
| 52 | |
| 53 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair_add_left (a b c : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) |
| 54 | (x : V.analyticSpace) : h.globalFormPair V n (a + b) c x = |
| 55 | h.globalFormPair V n a c x + h.globalFormPair V n b c x := by |
| 56 | simp only [HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair, Holomorphic.FormIntegralPair.holomorphicLineGlobalFormPair_apply, |
| 57 | HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_add_left, mul_add] |
| 58 | |
| 59 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair_smul_left (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) |
| 60 | (z : ℂ) (x : V.analyticSpace) : |
| 61 | h.globalFormPair V n (z • a) b x = conj z * h.globalFormPair V n a b x := by |
| 62 | simp only [HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair, Holomorphic.FormIntegralPair.holomorphicLineGlobalFormPair_apply, |
| 63 | HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_smul_left] |
| 64 | ring |
| 65 | |
| 66 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair_nonneg (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) |
| 67 | (x : V.analyticSpace) : 0 ≤ (h.globalFormPair V n a a x).re := by |
| 68 | change 0 ≤ ((h.ratio (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u) x : ℂ) * |
| 69 | Holomorphic.FormIntegralPair.holomorphicLineGlobalFormPair V u n a a x).re |
| 70 | rw [Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, zero_mul, sub_zero, |
| 71 | Holomorphic.FormIntegralPair.holomorphicLineGlobalFormPair_apply] |
| 72 | exact mul_nonneg (h.ratio_positive (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u) x).le |
| 73 | (HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_nonneg V u n a ⟨x, trivial⟩) |
| 74 | |
| 75 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair_definite (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) |
| 76 | (ha : ∀ x, (h.globalFormPair V n a a x).re = 0) : a = 0 := by |
| 77 | apply HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_definite V u n a |
| 78 | intro x |
| 79 | have hx := ha x.val |
| 80 | change ((h.ratio (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u) x.val : ℂ) * |
| 81 | Holomorphic.FormIntegralPair.holomorphicLineGlobalFormPair V u n a a x.val).re = 0 at hx |
| 82 | rw [Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, zero_mul, sub_zero, |
| 83 | Holomorphic.FormIntegralPair.holomorphicLineGlobalFormPair_apply] at hx |
| 84 | exact (mul_eq_zero.mp hx).resolve_left (ne_of_gt (h.ratio_positive (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u) x.val)) |
| 85 | |
| 86 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair_change (k : HolomorphicMetric.Data.HolomorphicLineMetricData u) |
| 87 | (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) (x : V.analyticSpace) : |
| 88 | h.globalFormPair V n a b x = (h.ratio k x : ℂ) * k.globalFormPair V n a b x := by |
| 89 | simp only [HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair, ← mul_assoc, ← Complex.ofReal_mul, |
| 90 | h.ratio_mul k (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u) x] |
| 91 | |
| 92 | theorem Holomorphic.VariableMetricIntegral.holomorphicLineCanonicalMetric_globalFormPair (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) |
| 93 | (x : V.analyticSpace) : |
| 94 | (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u).globalFormPair V n a b x = Holomorphic.FormIntegralPair.holomorphicLineGlobalFormPair V u n a b x := by |
| 95 | rw [HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair, HolomorphicMetric.Data.HolomorphicLineMetricData.ratio_self, Complex.ofReal_one, one_mul] |
| 96 | |
| 97 | end |
| 98 | |
| 99 | section |
| 100 | |
| 101 | /-! Genuine metric integrals and positive definite inner products for every constructed Hermitian metric. -/ |
| 102 | |
| 103 | open _root_.TopologicalSpace _root_.MeasureTheory |
| 104 | open scoped _root_.Manifold ContDiff ComplexConjugate |
| 105 | |
| 106 | set_option backward.isDefEq.respectTransparency false |
| 107 | set_option backward.isDefEq.respectTransparency.types false |
| 108 | set_option backward.defeqAttrib.useBackward true |
| 109 | |
| 110 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 111 | {u : Holomorphic.Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace} |
| 112 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (n : ℕ) |
| 113 | |
| 114 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.globalFormPair_integrable (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 115 | Integrable (h.globalFormPair V n a b) (ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := by |
| 116 | apply integrableOn_univ.mp |
| 117 | exact (h.globalFormPair_smooth V n a b).continuous.continuousOn.integrableOn_compact isCompact_univ |
| 118 | |
| 119 | def HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : ℂ := |
| 120 | ∫ x, h.globalFormPair V n a b x ∂(ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) |
| 121 | |
| 122 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair_re (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 123 | (h.formIntegralPair V n a b).re = |
| 124 | ∫ x, (h.globalFormPair V n a b x).re ∂(ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 125 | (integral_re (h.globalFormPair_integrable V n a b)).symm |
| 126 | |
| 127 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair_conj (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 128 | conj (h.formIntegralPair V n b a) = h.formIntegralPair V n a b := by |
| 129 | unfold HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair |
| 130 | rw [← integral_conj] |
| 131 | apply integral_congr_ae |
| 132 | exact Filter.Eventually.of_forall (h.globalFormPair_conj V n a b) |
| 133 | |
| 134 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair_add_left (a b c : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 135 | h.formIntegralPair V n (a + b) c = h.formIntegralPair V n a c + h.formIntegralPair V n b c := by |
| 136 | unfold HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair |
| 137 | simp_rw [h.globalFormPair_add_left V n a b c] |
| 138 | exact integral_add (h.globalFormPair_integrable V n a c) (h.globalFormPair_integrable V n b c) |
| 139 | |
| 140 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair_smul_left (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) |
| 141 | (z : ℂ) : h.formIntegralPair V n (z • a) b = conj z * h.formIntegralPair V n a b := by |
| 142 | unfold HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair |
| 143 | simp_rw [h.globalFormPair_smul_left V n a b z] |
| 144 | exact integral_const_mul (conj z) _ |
| 145 | |
| 146 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair_nonneg (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 147 | 0 ≤ (h.formIntegralPair V n a a).re := by |
| 148 | rw [h.formIntegralPair_re] |
| 149 | exact integral_nonneg (h.globalFormPair_nonneg V n a) |
| 150 | |
| 151 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair_definite (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) |
| 152 | (ha : (h.formIntegralPair V n a a).re = 0) : a = 0 := by |
| 153 | rw [h.formIntegralPair_re] at ha |
| 154 | have hae := (integral_eq_zero_iff_of_nonneg (h.globalFormPair_nonneg V n a) |
| 155 | (h.globalFormPair_integrable V n a a).re).mp ha |
| 156 | have hc : Continuous (fun x => (h.globalFormPair V n a a x).re) := |
| 157 | Complex.continuous_re.comp (h.globalFormPair_smooth V n a a).continuous |
| 158 | have hz := Measure.eq_of_ae_eq hae hc continuous_const |
| 159 | exact h.globalFormPair_definite V n a (fun x => congrFun hz x) |
| 160 | |
| 161 | @[instance_reducible] |
| 162 | def HolomorphicMetric.Data.HolomorphicLineMetricData.formInnerProductCore : InnerProductSpace.Core ℂ (HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) where |
| 163 | inner := h.formIntegralPair V n |
| 164 | conj_inner_symm := h.formIntegralPair_conj V n |
| 165 | re_inner_nonneg := h.formIntegralPair_nonneg V n |
| 166 | add_left := h.formIntegralPair_add_left V n |
| 167 | smul_left := h.formIntegralPair_smul_left V n |
| 168 | definite a ha := h.formIntegralPair_definite V n a (congrArg Complex.re ha) |
| 169 | |
| 170 | theorem Holomorphic.VariableMetricIntegral.holomorphicLineCanonicalMetric_formIntegralPair (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 171 | (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u).formIntegralPair V n a b = Holomorphic.FormIntegralPair.holomorphicLineFormIntegralPair V u n a b := by |
| 172 | unfold HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair Holomorphic.FormIntegralPair.holomorphicLineFormIntegralPair |
| 173 | apply integral_congr_ae |
| 174 | exact Filter.Eventually.of_forall (Holomorphic.VariableMetricIntegral.holomorphicLineCanonicalMetric_globalFormPair V n a b) |
| 175 | |
| 176 | end |
| 177 | |
| 178 | /-! Uniform comparison of the actual form integrals for any two smooth positive metrics. -/ |
| 179 | |
| 180 | open _root_.TopologicalSpace _root_.MeasureTheory Set |
| 181 | open scoped _root_.Manifold ContDiff |
| 182 | |
| 183 | set_option backward.isDefEq.respectTransparency false |
| 184 | set_option backward.isDefEq.respectTransparency.types false |
| 185 | set_option backward.defeqAttrib.useBackward true |
| 186 | |
| 187 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 188 | {u : Holomorphic.Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace} |
| 189 | (h k : HolomorphicMetric.Data.HolomorphicLineMetricData u) |
| 190 | |
| 191 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.ratio_bounded : |
| 192 | ∃ C : ℝ, 0 < C ∧ ∀ x, h.ratio k x ≤ C := by |
| 193 | obtain ⟨C, hC⟩ := isCompact_univ.bddAbove_image (h.ratio_smooth k).continuous.continuousOn |
| 194 | refine ⟨max C 1, lt_of_lt_of_le zero_lt_one (le_max_right _ _), ?_⟩ |
| 195 | intro x |
| 196 | exact (hC (mem_image_of_mem (h.ratio k) (mem_univ x))).trans (le_max_left _ _) |
| 197 | |
| 198 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair_le_of_ratio_le (n : ℕ) (C : ℝ) |
| 199 | (hC : ∀ x, h.ratio k x ≤ C) (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 200 | (h.formIntegralPair V n a a).re ≤ C * (k.formIntegralPair V n a a).re := by |
| 201 | rw [h.formIntegralPair_re, k.formIntegralPair_re, ← integral_const_mul] |
| 202 | apply integral_mono (h.globalFormPair_integrable V n a a).re |
| 203 | ((k.globalFormPair_integrable V n a a).re.const_mul C) |
| 204 | intro x |
| 205 | change (h.globalFormPair V n a a x).re ≤ C * (k.globalFormPair V n a a x).re |
| 206 | rw [h.globalFormPair_change V n k a a x, Complex.mul_re, Complex.ofReal_re, |
| 207 | Complex.ofReal_im, zero_mul, sub_zero] |
| 208 | exact mul_le_mul_of_nonneg_right (hC x) (k.globalFormPair_nonneg V n a x) |
| 209 | |
| 210 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair_uniform_bound : |
| 211 | ∃ C : ℝ, 0 < C ∧ ∀ n (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n), |
| 212 | (h.formIntegralPair V n a a).re ≤ C * (k.formIntegralPair V n a a).re := by |
| 213 | obtain ⟨C, hC, hb⟩ := h.ratio_bounded V k |
| 214 | exact ⟨C, hC, fun n a => h.formIntegralPair_le_of_ratio_le V k n C hb a⟩ |
| 215 | |
| 216 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.formIntegralPair_equivalent : |
| 217 | ∃ c C : ℝ, 0 < c ∧ 0 < C ∧ ∀ n (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n), |
| 218 | c * (k.formIntegralPair V n a a).re ≤ (h.formIntegralPair V n a a).re ∧ |
| 219 | (h.formIntegralPair V n a a).re ≤ C * (k.formIntegralPair V n a a).re := by |
| 220 | obtain ⟨C, hC, hb⟩ := h.formIntegralPair_uniform_bound V k |
| 221 | obtain ⟨D, hD, hd⟩ := k.formIntegralPair_uniform_bound V h |
| 222 | refine ⟨D⁻¹, C, inv_pos.mpr hD, hC, ?_⟩ |
| 223 | intro n a |
| 224 | refine ⟨?_, hb n a⟩ |
| 225 | have hp := mul_le_mul_of_nonneg_left (hd n a) (inv_pos.mpr hD).le |
| 226 | rwa [← mul_assoc, inv_mul_cancel₀ (ne_of_gt hD), one_mul] at hp |
| 227 | |
| 228 | end |
| 229 | |
| 230 | end OAI.AlgebraicGeometry.DivisorClass.Chern |