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.CoefficientDerivative |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SobolevDerivativeCoordinates |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Elliptic |
| 4 | |
| 5 | /-! # Differentiate Flux Equation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.DifferentiateFluxEquation.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Differentiation of the actual weak elliptic equation by strong limits |
| 14 | of spatial difference quotients. The coefficient commutator is retained as |
| 15 | an explicit vector-valued flux. -/ |
| 16 | |
| 17 | open _root_.MeasureTheory TemperedDistribution Filter |
| 18 | open scoped SchwartzMap LineDeriv ContDiff _root_.Topology |
| 19 | |
| 20 | variable {E ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 21 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] [Fintype ι] |
| 22 | |
| 23 | theorem coefficientGradient_difference_tendsto (b : OrthonormalBasis ι ℝ E) |
| 24 | (A : E → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) |
| 25 | (hA : ContDiff ℝ ∞ A) {L : NNReal} (hL : LipschitzWith L A) |
| 26 | {C : ℝ} (hC : ∀ x, ‖A x‖ ≤ C) (m : E) |
| 27 | (u v : Lp ℂ 2 (volume : Measure E)) |
| 28 | (hv : Tendsto (fun t : ℝ => DifferenceQuotients.CM.Construction.l2DifferenceQuotient m t u) (𝓝[≠] 0) (𝓝 v)) : |
| 29 | let M := LpCoefficients.CM.Construction.boundedFieldLp (p := 2) A hA.continuous.aestronglyMeasurable (Filter.Eventually.of_forall hC) |
| 30 | let N := LpCoefficients.CM.Construction.boundedFieldLp (p := 2) (CoefficientDerivative.CM.Construction.coefficientDerivative A m) |
| 31 | (CoefficientDerivative.CM.Construction.coefficientDerivative_continuous A hA m).aestronglyMeasurable |
| 32 | (Filter.Eventually.of_forall (CoefficientDerivative.CM.Construction.coefficientDerivative_bound A (hA.differentiable (by simp)) hL m)) |
| 33 | Tendsto (fun t : ℝ => DifferenceProduct.CM.Construction.realL2Difference m t (M (EuclideanGradient.CM.Construction.sobolevVectorGradient b u))) (𝓝[≠] 0) |
| 34 | (𝓝 (M (EuclideanGradient.CM.Construction.sobolevVectorGradient b v) + N (EuclideanGradient.CM.Construction.sobolevVectorGradient b u))) := by |
| 35 | dsimp only |
| 36 | have hD := ((EuclideanGradient.CM.Construction.sobolevVectorGradient b).continuous.tendsto v).comp hv |
| 37 | have hT := CoefficientDerivative.CM.Construction.translatedCoefficientLp_tendsto_varying A hA.continuous hC m |
| 38 | (fun t => EuclideanGradient.CM.Construction.sobolevVectorGradient b (DifferenceQuotients.CM.Construction.l2DifferenceQuotient m t u)) (EuclideanGradient.CM.Construction.sobolevVectorGradient b v) hD |
| 39 | have hR := CoefficientDerivative.CM.Construction.differenceCoefficientLp_tendsto A hA hL hC m (EuclideanGradient.CM.Construction.sobolevVectorGradient b u) |
| 40 | have h := hT.add hR |
| 41 | have heq (t : ℝ) : DifferenceProduct.CM.Construction.realL2Difference m t |
| 42 | (LpCoefficients.CM.Construction.boundedFieldLp A hA.continuous.aestronglyMeasurable (Filter.Eventually.of_forall hC) |
| 43 | (EuclideanGradient.CM.Construction.sobolevVectorGradient b u)) = |
| 44 | LpCoefficients.CM.Construction.boundedFieldLp (DifferenceProduct.CM.Construction.translatedCoefficient A (t • m)) |
| 45 | (DifferenceProduct.CM.Construction.translatedCoefficient_measurable A hA.continuous.aestronglyMeasurable (t • m)) |
| 46 | (DifferenceProduct.CM.Construction.translatedCoefficient_bound A (Filter.Eventually.of_forall hC) (t • m)) |
| 47 | (EuclideanGradient.CM.Construction.sobolevVectorGradient b (DifferenceQuotients.CM.Construction.l2DifferenceQuotient m t u)) + |
| 48 | LpCoefficients.CM.Construction.boundedFieldLp (DifferenceProduct.CM.Construction.differenceCoefficient A m t) |
| 49 | (DifferenceProduct.CM.Construction.differenceCoefficient_measurable A hA.continuous.aestronglyMeasurable m t) |
| 50 | (DifferenceProduct.CM.Construction.differenceCoefficient_bound A (Filter.Eventually.of_forall hC) m t) (EuclideanGradient.CM.Construction.sobolevVectorGradient b u) := by |
| 51 | rw [DifferenceProduct.CM.Construction.realL2Difference_coefficient_product, ← EuclideanGradient.CM.Construction.sobolevVectorGradient_difference] |
| 52 | exact h.congr' (Filter.Eventually.of_forall (fun t => (heq t).symm)) |
| 53 | |
| 54 | omit [Fintype ι] in |
| 55 | theorem l2DifferenceQuotient_real_inner (m : E) (t : ℝ) |
| 56 | (u v : Lp ℂ 2 (volume : Measure E)) : |
| 57 | inner ℝ (DifferenceQuotients.CM.Construction.l2DifferenceQuotient m t u) v = -inner ℝ u (DifferenceQuotients.CM.Construction.l2DifferenceQuotient m (-t) v) := by |
| 58 | rw [← DifferenceProduct.CM.Construction.realL2Difference_eq_complex, ← DifferenceProduct.CM.Construction.realL2Difference_eq_complex] |
| 59 | exact DifferenceProduct.CM.Construction.realL2Difference_inner m t u v |
| 60 | |
| 61 | theorem euclidean_weak_equation_difference_test (b : OrthonormalBasis ι ℝ E) |
| 62 | (A : E → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) |
| 63 | (hA : AEStronglyMeasurable A (volume : Measure E)) |
| 64 | {C : ℝ} (hC : ∀ᵐ x ∂(volume : Measure E), ‖A x‖ ≤ C) |
| 65 | (u f : Lp ℂ 2 (volume : Measure E)) (hsol : EllipticDifferenceEstimate.CM.Construction.IsEuclideanWeakMetricSolution b A u f) |
| 66 | (m : E) (t : ℝ) (w : Lp ℂ 2 (volume : Measure E)) : |
| 67 | inner ℝ (DifferenceProduct.CM.Construction.realL2Difference m t (LpCoefficients.CM.Construction.boundedFieldLp A hA hC (EuclideanGradient.CM.Construction.sobolevVectorGradient b u))) |
| 68 | (EuclideanGradient.CM.Construction.sobolevVectorGradient b w) = |
| 69 | inner ℝ (DifferenceQuotients.CM.Construction.l2DifferenceQuotient m t f) (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) w) := by |
| 70 | let M := LpCoefficients.CM.Construction.boundedFieldLp (p := 2) A hA hC |
| 71 | let D := EuclideanGradient.CM.Construction.sobolevVectorGradient b |
| 72 | let J := SobolevIs.CM.Construction.sobolevL2Embedding (E := E) (F := ℂ) (by norm_num : (0 : ℝ) ≤ 1) |
| 73 | have hweak (v : Lp ℂ 2 (volume : Measure E)) : inner ℝ (M (D u)) (D v) = inner ℝ f (J v) := |
| 74 | (CoerciveKernelSolver.CM.Construction.boundedFieldEnergy_apply A hA hC (D u) (D v)).trans (hsol v) |
| 75 | rw [DifferenceProduct.CM.Construction.realL2Difference_inner, ← EuclideanGradient.CM.Construction.sobolevVectorGradient_difference, |
| 76 | hweak, ← DifferenceBounds.CM.Construction.l2DifferenceQuotient_sobolevEmbedding_comm, |
| 77 | ← l2DifferenceQuotient_real_inner] |
| 78 | |
| 79 | /-- The directional derivative of an H2 weak solution solves the |
| 80 | differentiated equation, with its genuine coefficient-derivative flux. -/ |
| 81 | theorem euclidean_weak_solution_derivative (b : OrthonormalBasis ι ℝ E) |
| 82 | (A : E → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) |
| 83 | (hA : ContDiff ℝ ∞ A) {L : NNReal} (hL : LipschitzWith L A) |
| 84 | {C : ℝ} (hC : ∀ x, ‖A x‖ ≤ C) (m : E) |
| 85 | (u f : Lp ℂ 2 (volume : Measure E)) (hsol : EllipticDifferenceEstimate.CM.Construction.IsEuclideanWeakMetricSolution b A u f) |
| 86 | (hu : MemSobolev 2 2 |
| 87 | (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u : 𝓢'(E, ℂ))) |
| 88 | (hf : MemSobolev 1 2 (f : 𝓢'(E, ℂ))) : |
| 89 | let N := LpCoefficients.CM.Construction.boundedFieldLp (p := 2) (CoefficientDerivative.CM.Construction.coefficientDerivative A m) |
| 90 | (CoefficientDerivative.CM.Construction.coefficientDerivative_continuous A hA m).aestronglyMeasurable |
| 91 | (Filter.Eventually.of_forall (CoefficientDerivative.CM.Construction.coefficientDerivative_bound A (hA.differentiable (by simp)) hL m)) |
| 92 | ∃ v df : Lp ℂ 2 (volume : Measure E), |
| 93 | SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) v = SobolevDifferential.CM.Construction.sobolevL2Derivative m u ∧ |
| 94 | (df : 𝓢'(E, ℂ)) = ∂_{m} (f : 𝓢'(E, ℂ)) ∧ |
| 95 | EllipticDifferenceEstimate.CM.Construction.IsEuclideanWeakMetricFluxSolution b A v df (-N (EuclideanGradient.CM.Construction.sobolevVectorGradient b u)) := by |
| 96 | dsimp only |
| 97 | obtain ⟨v, hv, hvlim⟩ := SobolevDerivativeCoordinates.CM.Construction.h2_difference_tendsto_h1_derivative m u hu |
| 98 | obtain ⟨fw, hfw⟩ := (SobolevDerivativeCoordinates.CM.Construction.memSobolev_l2_iff_embedding_range (by norm_num : (0 : ℝ) ≤ 1) f).mp hf |
| 99 | let df := SobolevDifferential.CM.Construction.sobolevL2Derivative m fw |
| 100 | have hdflim := DifferenceConvergence.CM.Construction.l2DifferenceQuotient_tendsto_derivative m fw |
| 101 | rw [hfw] at hdflim |
| 102 | refine ⟨v, df, hv, ?_, fun w => ?_⟩ |
| 103 | · rw [show (df : 𝓢'(E, ℂ)) = ∂_{m} |
| 104 | (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) fw : 𝓢'(E, ℂ)) from |
| 105 | SobolevDifferential.CM.Construction.sobolevL2Derivative_distribution m fw, hfw] |
| 106 | · have hlim := coefficientGradient_difference_tendsto b A hA hL hC m u v hvlim |
| 107 | have hleft := hlim.inner (tendsto_const_nhds : Tendsto (fun _ : ℝ => EuclideanGradient.CM.Construction.sobolevVectorGradient b w) |
| 108 | (𝓝[≠] 0) (𝓝 (EuclideanGradient.CM.Construction.sobolevVectorGradient b w))) (𝕜 := ℝ) |
| 109 | have hright := hdflim.inner (tendsto_const_nhds : Tendsto (fun _ : ℝ => |
| 110 | SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) w) (𝓝[≠] 0) |
| 111 | (𝓝 (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) w))) (𝕜 := ℝ) |
| 112 | have heq := tendsto_nhds_unique hleft (hright.congr' (Filter.Eventually.of_forall (fun t => |
| 113 | (euclidean_weak_equation_difference_test b A hA.continuous.aestronglyMeasurable |
| 114 | (Filter.Eventually.of_forall hC) u f hsol m t w).symm))) |
| 115 | rw [inner_add_left] at heq |
| 116 | rw [← CoerciveKernelSolver.CM.Construction.boundedFieldEnergy_apply A hA.continuous.aestronglyMeasurable (Filter.Eventually.of_forall hC)] |
| 117 | change inner ℝ (LpCoefficients.CM.Construction.boundedFieldLp A hA.continuous.aestronglyMeasurable |
| 118 | (Filter.Eventually.of_forall hC) (EuclideanGradient.CM.Construction.sobolevVectorGradient b v)) (EuclideanGradient.CM.Construction.sobolevVectorGradient b w) = _ |
| 119 | rw [inner_neg_left] |
| 120 | linarith [heq] |
| 121 | |
| 122 | end |
| 123 | |
| 124 | /-! The strong-limit derivative of a weak equation with an actual flux |
| 125 | forcing, retaining both derivatives of that forcing and of the coefficients. -/ |
| 126 | |
| 127 | open _root_.MeasureTheory Filter |
| 128 | open scoped ContDiff _root_.Topology |
| 129 | |
| 130 | variable {E ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 131 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] [Fintype ι] |
| 132 | |
| 133 | theorem euclidean_weak_flux_difference_test (b : OrthonormalBasis ι ℝ E) |
| 134 | (A : E → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) |
| 135 | (hA : AEStronglyMeasurable A (volume : Measure E)) |
| 136 | {C : ℝ} (hC : ∀ᵐ x ∂(volume : Measure E), ‖A x‖ ≤ C) |
| 137 | (u f : Lp ℂ 2 (volume : Measure E)) (g : Lp (EuclideanSpace ℂ ι) 2 (volume : Measure E)) |
| 138 | (hsol : EllipticDifferenceEstimate.CM.Construction.IsEuclideanWeakMetricFluxSolution b A u f g) |
| 139 | (m : E) (t : ℝ) (w : Lp ℂ 2 (volume : Measure E)) : |
| 140 | inner ℝ (DifferenceProduct.CM.Construction.realL2Difference m t (LpCoefficients.CM.Construction.boundedFieldLp A hA hC (EuclideanGradient.CM.Construction.sobolevVectorGradient b u))) |
| 141 | (EuclideanGradient.CM.Construction.sobolevVectorGradient b w) = |
| 142 | inner ℝ (DifferenceProduct.CM.Construction.realL2Difference m t f) (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) w) + |
| 143 | inner ℝ (DifferenceProduct.CM.Construction.realL2Difference m t g) (EuclideanGradient.CM.Construction.sobolevVectorGradient b w) := by |
| 144 | let M := LpCoefficients.CM.Construction.boundedFieldLp (p := 2) A hA hC |
| 145 | let D := EuclideanGradient.CM.Construction.sobolevVectorGradient b |
| 146 | let J := SobolevIs.CM.Construction.sobolevL2Embedding (E := E) (F := ℂ) (by norm_num : (0 : ℝ) ≤ 1) |
| 147 | have hweak (v : Lp ℂ 2 (volume : Measure E)) : |
| 148 | inner ℝ (M (D u)) (D v) = inner ℝ f (J v) + inner ℝ g (D v) := |
| 149 | (CoerciveKernelSolver.CM.Construction.boundedFieldEnergy_apply A hA hC (D u) (D v)).trans (hsol v) |
| 150 | rw [DifferenceProduct.CM.Construction.realL2Difference_inner, ← EuclideanGradient.CM.Construction.sobolevVectorGradient_difference, |
| 151 | hweak, neg_add, ← DifferenceBounds.CM.Construction.l2DifferenceQuotient_sobolevEmbedding_comm, |
| 152 | ← l2DifferenceQuotient_real_inner, EuclideanGradient.CM.Construction.sobolevVectorGradient_difference, |
| 153 | ← DifferenceProduct.CM.Construction.realL2Difference_inner, DifferenceProduct.CM.Construction.realL2Difference_eq_complex] |
| 154 | |
| 155 | theorem euclidean_weak_flux_derivative_of_limits (b : OrthonormalBasis ι ℝ E) |
| 156 | (A : E → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) |
| 157 | (hA : ContDiff ℝ ∞ A) {L : NNReal} (hL : LipschitzWith L A) |
| 158 | {C : ℝ} (hC : ∀ x, ‖A x‖ ≤ C) (m : E) |
| 159 | (u f v df : Lp ℂ 2 (volume : Measure E)) |
| 160 | (g dg : Lp (EuclideanSpace ℂ ι) 2 (volume : Measure E)) |
| 161 | (hsol : EllipticDifferenceEstimate.CM.Construction.IsEuclideanWeakMetricFluxSolution b A u f g) |
| 162 | (hv : Tendsto (fun t : ℝ => DifferenceQuotients.CM.Construction.l2DifferenceQuotient m t u) (𝓝[≠] 0) (𝓝 v)) |
| 163 | (hf : Tendsto (fun t : ℝ => DifferenceProduct.CM.Construction.realL2Difference m t f) (𝓝[≠] 0) (𝓝 df)) |
| 164 | (hg : Tendsto (fun t : ℝ => DifferenceProduct.CM.Construction.realL2Difference m t g) (𝓝[≠] 0) (𝓝 dg)) : |
| 165 | let N := LpCoefficients.CM.Construction.boundedFieldLp (p := 2) (CoefficientDerivative.CM.Construction.coefficientDerivative A m) |
| 166 | (CoefficientDerivative.CM.Construction.coefficientDerivative_continuous A hA m).aestronglyMeasurable |
| 167 | (Filter.Eventually.of_forall (CoefficientDerivative.CM.Construction.coefficientDerivative_bound A (hA.differentiable (by simp)) hL m)) |
| 168 | EllipticDifferenceEstimate.CM.Construction.IsEuclideanWeakMetricFluxSolution b A v df (dg - N (EuclideanGradient.CM.Construction.sobolevVectorGradient b u)) := by |
| 169 | dsimp only |
| 170 | intro w |
| 171 | have hlim := coefficientGradient_difference_tendsto b A hA hL hC m u v hv |
| 172 | have hcD : Tendsto (fun _ : ℝ => EuclideanGradient.CM.Construction.sobolevVectorGradient b w) (𝓝[≠] 0) |
| 173 | (𝓝 (EuclideanGradient.CM.Construction.sobolevVectorGradient b w)) := tendsto_const_nhds |
| 174 | have hcJ : Tendsto (fun _ : ℝ => SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) w) |
| 175 | (𝓝[≠] 0) (𝓝 (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) w)) := tendsto_const_nhds |
| 176 | have hleft := hlim.inner hcD (𝕜 := ℝ) |
| 177 | have hright := (hf.inner hcJ (𝕜 := ℝ)).add (hg.inner hcD (𝕜 := ℝ)) |
| 178 | have heq := tendsto_nhds_unique hleft (hright.congr' (Filter.Eventually.of_forall (fun t => |
| 179 | (euclidean_weak_flux_difference_test b A hA.continuous.aestronglyMeasurable |
| 180 | (Filter.Eventually.of_forall hC) u f g hsol m t w).symm))) |
| 181 | rw [inner_add_left] at heq |
| 182 | rw [← CoerciveKernelSolver.CM.Construction.boundedFieldEnergy_apply A hA.continuous.aestronglyMeasurable (Filter.Eventually.of_forall hC)] |
| 183 | change inner ℝ (LpCoefficients.CM.Construction.boundedFieldLp A hA.continuous.aestronglyMeasurable |
| 184 | (Filter.Eventually.of_forall hC) (EuclideanGradient.CM.Construction.sobolevVectorGradient b v)) (EuclideanGradient.CM.Construction.sobolevVectorGradient b w) = _ |
| 185 | rw [inner_sub_left] |
| 186 | linarith [heq] |
| 187 | |
| 188 | end |
| 189 | |
| 190 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.DifferentiateFluxEquation.CM.Construction |