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.ComplexMultiplication.HodgeComparison.DifferenceBounds |
| 2 | |
| 3 | /-! # Difference Product -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.DifferenceProduct.CM.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Spatial difference quotients of vector-valued L2 fields, viewed over |
| 12 | the real scalars of the metric energy. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory |
| 15 | |
| 16 | variable {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 17 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 18 | [NormedAddCommGroup F] [InnerProductSpace ℝ F] |
| 19 | |
| 20 | def realL2Translation (m : E) : Lp F 2 (volume : Measure E) →ₗᵢ[ℝ] Lp F 2 (volume : Measure E) := |
| 21 | Lp.compMeasurePreservingₗᵢ ℝ (fun x : E => x + m) (measurePreserving_add_right volume m) |
| 22 | |
| 23 | theorem realL2Translation_coe (m : E) (u : Lp F 2 (volume : Measure E)) : |
| 24 | ∀ᵐ x ∂(volume : Measure E), realL2Translation m u x = u (x + m) := |
| 25 | Lp.coeFn_compMeasurePreserving u (measurePreserving_add_right volume m) |
| 26 | |
| 27 | theorem realL2Translation_zero (u : Lp F 2 (volume : Measure E)) : realL2Translation (0 : E) u = u := by |
| 28 | apply Lp.ext |
| 29 | filter_upwards [realL2Translation_coe (0 : E) u] with x hx |
| 30 | simpa only [add_zero] using hx |
| 31 | |
| 32 | theorem realL2Translation_add (m n : E) (u : Lp F 2 (volume : Measure E)) : |
| 33 | realL2Translation m (realL2Translation n u) = realL2Translation (m + n) u := by |
| 34 | apply Lp.ext |
| 35 | filter_upwards [realL2Translation_coe m (realL2Translation n u), |
| 36 | (measurePreserving_add_right volume m).quasiMeasurePreserving.ae (realL2Translation_coe n u), |
| 37 | realL2Translation_coe (m + n) u] with x hm hn hmn |
| 38 | rw [hm, hn, hmn, add_assoc] |
| 39 | |
| 40 | theorem realL2Translation_inner (m : E) (u v : Lp F 2 (volume : Measure E)) : |
| 41 | inner ℝ (realL2Translation m u) v = inner ℝ u (realL2Translation (-m) v) := by |
| 42 | have h := (realL2Translation m).inner_map_map u (realL2Translation (-m) v) |
| 43 | rw [realL2Translation_add, add_neg_cancel, realL2Translation_zero] at h |
| 44 | exact h |
| 45 | |
| 46 | def realL2Difference (m : E) (t : ℝ) : Lp F 2 (volume : Measure E) →L[ℝ] Lp F 2 (volume : Measure E) := |
| 47 | t⁻¹ • ((realL2Translation (t • m)).toContinuousLinearMap - ContinuousLinearMap.id ℝ _) |
| 48 | |
| 49 | theorem realL2Difference_coe (m : E) (t : ℝ) (u : Lp F 2 (volume : Measure E)) : |
| 50 | ∀ᵐ x ∂(volume : Measure E), realL2Difference m t u x = t⁻¹ • (u (x + t • m) - u x) := by |
| 51 | filter_upwards [Lp.coeFn_smul t⁻¹ (realL2Translation (t • m) u - u), |
| 52 | Lp.coeFn_sub (realL2Translation (t • m) u) u, realL2Translation_coe (t • m) u] with x hs hd ht |
| 53 | change (t⁻¹ • (realL2Translation (t • m) u - u) : Lp F 2 volume) x = _ |
| 54 | simp only [hs, hd, Pi.smul_apply, Pi.sub_apply, ht] |
| 55 | |
| 56 | theorem realL2Difference_inner (m : E) (t : ℝ) (u v : Lp F 2 (volume : Measure E)) : |
| 57 | inner ℝ (realL2Difference m t u) v = -inner ℝ u (realL2Difference m (-t) v) := by |
| 58 | change inner ℝ (t⁻¹ • (realL2Translation (t • m) u - u)) v = |
| 59 | -inner ℝ u ((-t)⁻¹ • (realL2Translation ((-t) • m) v - v)) |
| 60 | rw [real_inner_smul_left, inner_sub_left, realL2Translation_inner, real_inner_smul_right, inner_sub_right] |
| 61 | simp only [inv_neg, neg_smul] |
| 62 | ring |
| 63 | |
| 64 | theorem realL2Difference_eq_complex (m : E) (t : ℝ) (u : Lp ℂ 2 (volume : Measure E)) : |
| 65 | realL2Difference m t u = DifferenceQuotients.CM.Construction.l2DifferenceQuotient m t u := by |
| 66 | apply Lp.ext |
| 67 | filter_upwards [realL2Difference_coe m t u, DifferenceQuotients.CM.Construction.l2DifferenceQuotient_coe m t u] with x hr hc |
| 68 | rw [hr, hc, Complex.real_smul, Complex.ofReal_inv] |
| 69 | |
| 70 | end |
| 71 | |
| 72 | /-! The exact discrete product rule for measurable operator coefficients, |
| 73 | and uniform coefficient-difference estimates from a Lipschitz bound. -/ |
| 74 | |
| 75 | open _root_.MeasureTheory |
| 76 | |
| 77 | variable {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 78 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 79 | [NormedAddCommGroup F] [InnerProductSpace ℝ F] |
| 80 | |
| 81 | def translatedCoefficient (A : E → F →L[ℝ] F) (m : E) : E → F →L[ℝ] F := fun x => A (x + m) |
| 82 | |
| 83 | theorem translatedCoefficient_measurable (A : E → F →L[ℝ] F) |
| 84 | (hA : AEStronglyMeasurable A (volume : Measure E)) (m : E) : |
| 85 | AEStronglyMeasurable (translatedCoefficient A m) (volume : Measure E) := |
| 86 | hA.comp_measurePreserving (measurePreserving_add_right volume m) |
| 87 | |
| 88 | theorem translatedCoefficient_bound (A : E → F →L[ℝ] F) |
| 89 | {C : ℝ} (hC : ∀ᵐ x ∂(volume : Measure E), ‖A x‖ ≤ C) (m : E) : |
| 90 | ∀ᵐ x ∂(volume : Measure E), ‖translatedCoefficient A m x‖ ≤ C := |
| 91 | (measurePreserving_add_right volume m).quasiMeasurePreserving.ae hC |
| 92 | |
| 93 | def differenceCoefficient (A : E → F →L[ℝ] F) (m : E) (t : ℝ) : E → F →L[ℝ] F := |
| 94 | fun x => t⁻¹ • (A (x + t • m) - A x) |
| 95 | |
| 96 | theorem differenceCoefficient_measurable (A : E → F →L[ℝ] F) |
| 97 | (hA : AEStronglyMeasurable A (volume : Measure E)) (m : E) (t : ℝ) : |
| 98 | AEStronglyMeasurable (differenceCoefficient A m t) (volume : Measure E) := |
| 99 | ((translatedCoefficient_measurable A hA (t • m)).sub hA).const_smul t⁻¹ |
| 100 | |
| 101 | theorem differenceCoefficient_bound (A : E → F →L[ℝ] F) |
| 102 | {C : ℝ} (hC : ∀ᵐ x ∂(volume : Measure E), ‖A x‖ ≤ C) (m : E) (t : ℝ) : |
| 103 | ∀ᵐ x ∂(volume : Measure E), ‖differenceCoefficient A m t x‖ ≤ |t|⁻¹ * (2 * C) := by |
| 104 | filter_upwards [translatedCoefficient_bound A hC (t • m), hC] with x hx hy |
| 105 | change ‖t⁻¹ • (A (x + t • m) - A x)‖ ≤ _ |
| 106 | rw [norm_smul, Real.norm_eq_abs, abs_inv] |
| 107 | apply mul_le_mul_of_nonneg_left _ (by positivity) |
| 108 | exact (norm_sub_le _ _).trans (by change ‖A (x + t • m)‖ ≤ C at hx; linarith) |
| 109 | |
| 110 | omit [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] in |
| 111 | /-- A global Lipschitz coefficient bound controls every spatial difference |
| 112 | coefficient uniformly as the translation size tends to zero. -/ |
| 113 | theorem differenceCoefficient_lipschitz_bound (A : E → F →L[ℝ] F) {L : NNReal} |
| 114 | (hA : LipschitzWith L A) (m x : E) (t : ℝ) : |
| 115 | ‖differenceCoefficient A m t x‖ ≤ (L : ℝ) * ‖m‖ := by |
| 116 | by_cases ht : t = 0 |
| 117 | · simp only [differenceCoefficient, ht, inv_zero, zero_smul, norm_zero] |
| 118 | positivity |
| 119 | have h := hA.dist_le_mul (x + t • m) x |
| 120 | rw [dist_eq_norm, dist_eq_norm, add_sub_cancel_left, norm_smul, Real.norm_eq_abs] at h |
| 121 | rw [differenceCoefficient, norm_smul, Real.norm_eq_abs, abs_inv] |
| 122 | calc |
| 123 | _ ≤ |t|⁻¹ * ((L : ℝ) * (|t| * ‖m‖)) := mul_le_mul_of_nonneg_left h (by positivity) |
| 124 | _ = (L : ℝ) * ‖m‖ := by field_simp [abs_ne_zero.mpr ht] |
| 125 | |
| 126 | /-- The discrete Leibniz rule on actual L2 equivalence classes. -/ |
| 127 | theorem realL2Difference_coefficient_product (A : E → F →L[ℝ] F) |
| 128 | (hA : AEStronglyMeasurable A (volume : Measure E)) |
| 129 | {C : ℝ} (hC : ∀ᵐ x ∂(volume : Measure E), ‖A x‖ ≤ C) |
| 130 | (m : E) (t : ℝ) (u : Lp F 2 (volume : Measure E)) : |
| 131 | realL2Difference m t (LpCoefficients.CM.Construction.boundedFieldLp A hA hC u) = |
| 132 | LpCoefficients.CM.Construction.boundedFieldLp (translatedCoefficient A (t • m)) (translatedCoefficient_measurable A hA (t • m)) |
| 133 | (translatedCoefficient_bound A hC (t • m)) (realL2Difference m t u) + |
| 134 | LpCoefficients.CM.Construction.boundedFieldLp (differenceCoefficient A m t) (differenceCoefficient_measurable A hA m t) |
| 135 | (differenceCoefficient_bound A hC m t) u := by |
| 136 | let T := LpCoefficients.CM.Construction.boundedFieldLp (p := 2) (translatedCoefficient A (t • m)) |
| 137 | (translatedCoefficient_measurable A hA (t • m)) (translatedCoefficient_bound A hC (t • m)) |
| 138 | let R := LpCoefficients.CM.Construction.boundedFieldLp (p := 2) (differenceCoefficient A m t) |
| 139 | (differenceCoefficient_measurable A hA m t) (differenceCoefficient_bound A hC m t) |
| 140 | apply Lp.ext |
| 141 | filter_upwards [realL2Difference_coe m t (LpCoefficients.CM.Construction.boundedFieldLp A hA hC u), |
| 142 | (measurePreserving_add_right volume (t • m)).quasiMeasurePreserving.ae (LpCoefficients.CM.Construction.boundedFieldLp_coe A hA hC u), |
| 143 | LpCoefficients.CM.Construction.boundedFieldLp_coe A hA hC u, Lp.coeFn_add (T (realL2Difference m t u)) (R u), |
| 144 | LpCoefficients.CM.Construction.boundedFieldLp_coe _ (translatedCoefficient_measurable A hA (t • m)) |
| 145 | (translatedCoefficient_bound A hC (t • m)) (realL2Difference m t u), |
| 146 | LpCoefficients.CM.Construction.boundedFieldLp_coe _ (differenceCoefficient_measurable A hA m t) |
| 147 | (differenceCoefficient_bound A hC m t) u, realL2Difference_coe m t u] |
| 148 | with x hd ht h0 hadd hT hR hdu |
| 149 | change realL2Difference m t (LpCoefficients.CM.Construction.boundedFieldLp A hA hC u) x = (T (realL2Difference m t u) + R u) x |
| 150 | rw [hd, ht, h0, hadd] |
| 151 | change _ = T (realL2Difference m t u) x + R u x |
| 152 | rw [hT, hR, hdu] |
| 153 | simp only [translatedCoefficient, differenceCoefficient, map_smul, map_sub, smul_apply, sub_apply, |
| 154 | smul_sub] |
| 155 | abel |
| 156 | |
| 157 | end |
| 158 | |
| 159 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.DifferenceProduct.CM.Construction |