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.DifferenceProduct |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanGradient |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.DifferenceCriterion |
| 4 | |
| 5 | /-! # Elliptic Difference Estimate -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EllipticDifferenceEstimate.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The coercive difference-quotient estimate for a genuine weak elliptic |
| 12 | equation with bounded Lipschitz coefficients. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory |
| 15 | |
| 16 | theorem quadratic_energy_bound {a A B x : ℝ} (ha : 0 < a) (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 17 | (_hx : 0 ≤ x) (h : a * x * x ≤ A * x + B) : x ≤ 1 + (A + B) / a := by |
| 18 | by_cases hx1 : x ≤ 1 |
| 19 | · exact hx1.trans (le_add_of_nonneg_right (div_nonneg (add_nonneg hA hB) ha.le)) |
| 20 | have hxpos : 0 < x := lt_trans zero_lt_one (lt_of_not_ge hx1) |
| 21 | have hB' : B ≤ B * x := by nlinarith |
| 22 | have hax : a * x ≤ A + B := by |
| 23 | apply (mul_le_mul_iff_right₀ hxpos).mp |
| 24 | nlinarith |
| 25 | have hdiv : x ≤ (A + B) / a := (le_div_iff₀ ha).mpr (by nlinarith) |
| 26 | linarith |
| 27 | |
| 28 | variable {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 29 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 30 | [NormedAddCommGroup F] [InnerProductSpace ℝ F] |
| 31 | |
| 32 | theorem boundedFieldLp_norm_le_other (A : E → F →L[ℝ] F) |
| 33 | (hA : AEStronglyMeasurable A (volume : Measure E)) {C L : ℝ} |
| 34 | (hC : ∀ᵐ x ∂(volume : Measure E), ‖A x‖ ≤ C) |
| 35 | (hL : ∀ᵐ x ∂(volume : Measure E), ‖A x‖ ≤ L) (u : Lp F 2 (volume : Measure E)) : |
| 36 | ‖LpCoefficients.CM.Construction.boundedFieldLp A hA hC u‖ ≤ L * ‖u‖ := by |
| 37 | apply Lp.norm_le_mul_norm_of_ae_le_mul |
| 38 | filter_upwards [LpCoefficients.CM.Construction.boundedFieldLp_coe A hA hC u, hL] with x hx hLx |
| 39 | rw [hx] |
| 40 | exact ((A x).le_opNorm _).trans (mul_le_mul_of_nonneg_right hLx (norm_nonneg _)) |
| 41 | |
| 42 | variable {ι : Type*} [Fintype ι] |
| 43 | |
| 44 | def IsEuclideanWeakMetricSolution (b : OrthonormalBasis ι ℝ E) |
| 45 | (A : E → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) |
| 46 | (u f : Lp ℂ 2 (volume : Measure E)) : Prop := |
| 47 | ∀ v : Lp ℂ 2 (volume : Measure E), |
| 48 | (∫ x, inner ℝ (A x (EuclideanGradient.CM.Construction.sobolevVectorGradient b u x)) (EuclideanGradient.CM.Construction.sobolevVectorGradient b v x)) = |
| 49 | inner ℝ f (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) v) |
| 50 | |
| 51 | /-- The actual weak equation with an additional vector-valued flux forcing. |
| 52 | Such terms arise when multiplying a weak solution by a spatial cutoff. -/ |
| 53 | def IsEuclideanWeakMetricFluxSolution (b : OrthonormalBasis ι ℝ E) |
| 54 | (A : E → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) |
| 55 | (u f : Lp ℂ 2 (volume : Measure E)) |
| 56 | (g : Lp (EuclideanSpace ℂ ι) 2 (volume : Measure E)) : Prop := |
| 57 | ∀ v : Lp ℂ 2 (volume : Measure E), |
| 58 | (∫ x, inner ℝ (A x (EuclideanGradient.CM.Construction.sobolevVectorGradient b u x)) (EuclideanGradient.CM.Construction.sobolevVectorGradient b v x)) = |
| 59 | inner ℝ f (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) v) + |
| 60 | inner ℝ g (EuclideanGradient.CM.Construction.sobolevVectorGradient b v) |
| 61 | |
| 62 | theorem elliptic_flux_test_inner (b : OrthonormalBasis ι ℝ E) (m : E) (t : ℝ) |
| 63 | (g : Lp (EuclideanSpace ℂ ι) 2 (volume : Measure E)) (v : Lp ℂ 2 (volume : Measure E)) : |
| 64 | inner ℝ g (EuclideanGradient.CM.Construction.sobolevVectorGradient b (-DifferenceQuotients.CM.Construction.l2DifferenceQuotient m (-t) v)) = |
| 65 | inner ℝ (DifferenceProduct.CM.Construction.realL2Difference m t g) (EuclideanGradient.CM.Construction.sobolevVectorGradient b v) := by |
| 66 | rw [map_neg, EuclideanGradient.CM.Construction.sobolevVectorGradient_difference, inner_neg_right, DifferenceProduct.CM.Construction.realL2Difference_inner] |
| 67 | |
| 68 | /-- The gradient of every spatial difference quotient of an actual weak |
| 69 | solution has a bound independent of the nonzero translation size. -/ |
| 70 | theorem elliptic_flux_difference_gradient_bound (b : OrthonormalBasis ι ℝ E) |
| 71 | (A : E → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) {L : NNReal} |
| 72 | (hA : LipschitzWith L A) {C a : ℝ} (hC : ∀ x, ‖A x‖ ≤ C) (ha : 0 < a) |
| 73 | (hpos : ∀ x, ∀ w : EuclideanSpace ℂ ι, a * ‖w‖ * ‖w‖ ≤ inner ℝ (A x w) w) |
| 74 | (u f : Lp ℂ 2 (volume : Measure E)) |
| 75 | (g : Lp (EuclideanSpace ℂ ι) 2 (volume : Measure E)) |
| 76 | (hsol : IsEuclideanWeakMetricFluxSolution b A u f g) |
| 77 | (m : E) {B₀ : ℝ} (hg : ∀ t : ℝ, ‖DifferenceProduct.CM.Construction.realL2Difference m t g‖ ≤ B₀) : |
| 78 | ∃ B : ℝ, ∀ t : ℝ, ‖EuclideanGradient.CM.Construction.sobolevVectorGradient b (DifferenceQuotients.CM.Construction.l2DifferenceQuotient m t u)‖ ≤ B := by |
| 79 | let J := SobolevIs.CM.Construction.sobolevL2Embedding (E := E) (F := ℂ) (by norm_num : (0 : ℝ) ≤ 1) |
| 80 | let D := EuclideanGradient.CM.Construction.sobolevVectorGradient b |
| 81 | let k : ℝ := 2 * Real.pi * ‖m‖ |
| 82 | have hk : 0 ≤ k := by dsimp [k]; positivity |
| 83 | have hAm : AEStronglyMeasurable A (volume : Measure E) := hA.continuous.aestronglyMeasurable |
| 84 | have hCm : ∀ᵐ x ∂(volume : Measure E), ‖A x‖ ≤ C := Filter.Eventually.of_forall hC |
| 85 | let M := LpCoefficients.CM.Construction.boundedFieldLp (p := 2) A hAm hCm |
| 86 | have hweak (v : Lp ℂ 2 (volume : Measure E)) : |
| 87 | inner ℝ (M (D u)) (D v) = inner ℝ f (J v) + inner ℝ g (D v) := |
| 88 | (CoerciveKernelSolver.CM.Construction.boundedFieldEnergy_apply A hAm hCm (D u) (D v)).trans (hsol v) |
| 89 | let P : ℝ := (L : ℝ) * ‖m‖ * ‖D u‖ + k * ‖f‖ + max B₀ 0 |
| 90 | let Q : ℝ := k ^ 2 * ‖f‖ * ‖u‖ |
| 91 | refine ⟨1 + (P + Q) / a, fun t => ?_⟩ |
| 92 | let v := DifferenceQuotients.CM.Construction.l2DifferenceQuotient m t u |
| 93 | let T := LpCoefficients.CM.Construction.boundedFieldLp (p := 2) (DifferenceProduct.CM.Construction.translatedCoefficient A (t • m)) |
| 94 | (DifferenceProduct.CM.Construction.translatedCoefficient_measurable A hAm (t • m)) (DifferenceProduct.CM.Construction.translatedCoefficient_bound A hCm (t • m)) |
| 95 | let R := LpCoefficients.CM.Construction.boundedFieldLp (p := 2) (DifferenceProduct.CM.Construction.differenceCoefficient A m t) |
| 96 | (DifferenceProduct.CM.Construction.differenceCoefficient_measurable A hAm m t) (DifferenceProduct.CM.Construction.differenceCoefficient_bound A hCm m t) |
| 97 | have hprod : DifferenceProduct.CM.Construction.realL2Difference m t (M (D u)) = T (D v) + R (D u) := by |
| 98 | rw [DifferenceProduct.CM.Construction.realL2Difference_coefficient_product] |
| 99 | rw [← EuclideanGradient.CM.Construction.sobolevVectorGradient_difference] |
| 100 | have htest : inner ℝ (T (D v)) (D v) + inner ℝ (R (D u)) (D v) = |
| 101 | inner ℝ f (J (-DifferenceQuotients.CM.Construction.l2DifferenceQuotient m (-t) v)) + |
| 102 | inner ℝ (DifferenceProduct.CM.Construction.realL2Difference m t g) (D v) := by |
| 103 | calc |
| 104 | _ = inner ℝ (DifferenceProduct.CM.Construction.realL2Difference m t (M (D u))) (D v) := by rw [hprod, inner_add_left] |
| 105 | _ = -inner ℝ (M (D u)) (DifferenceProduct.CM.Construction.realL2Difference m (-t) (D v)) := DifferenceProduct.CM.Construction.realL2Difference_inner m t _ _ |
| 106 | _ = inner ℝ (M (D u)) (D (-DifferenceQuotients.CM.Construction.l2DifferenceQuotient m (-t) v)) := by |
| 107 | rw [map_neg, EuclideanGradient.CM.Construction.sobolevVectorGradient_difference b m (-t) v, inner_neg_right] |
| 108 | _ = inner ℝ f (J (-DifferenceQuotients.CM.Construction.l2DifferenceQuotient m (-t) v)) + |
| 109 | inner ℝ g (D (-DifferenceQuotients.CM.Construction.l2DifferenceQuotient m (-t) v)) := hweak _ |
| 110 | _ = _ := by |
| 111 | rw [elliptic_flux_test_inner b m t g v] |
| 112 | have hlow : a * ‖D v‖ * ‖D v‖ ≤ inner ℝ (T (D v)) (D v) := |
| 113 | CoerciveKernelSolver.CM.Construction.boundedFieldEnergy_lower_bound _ (DifferenceProduct.CM.Construction.translatedCoefficient_measurable A hAm (t • m)) |
| 114 | (DifferenceProduct.CM.Construction.translatedCoefficient_bound A hCm (t • m)) |
| 115 | (Filter.Eventually.of_forall (fun x => hpos (x + t • m))) (D v) |
| 116 | have hR : ‖R (D u)‖ ≤ ((L : ℝ) * ‖m‖) * ‖D u‖ := |
| 117 | boundedFieldLp_norm_le_other _ (DifferenceProduct.CM.Construction.differenceCoefficient_measurable A hAm m t) |
| 118 | (DifferenceProduct.CM.Construction.differenceCoefficient_bound A hCm m t) |
| 119 | (Filter.Eventually.of_forall (fun x => DifferenceProduct.CM.Construction.differenceCoefficient_lipschitz_bound A hA m x t)) (D u) |
| 120 | have hJv : ‖J v‖ ≤ k * ‖u‖ := by |
| 121 | change ‖SobolevIs.CM.Construction.sobolevL2Embedding _ (DifferenceQuotients.CM.Construction.l2DifferenceQuotient m t u)‖ ≤ _ |
| 122 | rw [← DifferenceBounds.CM.Construction.l2DifferenceQuotient_sobolevEmbedding_comm] |
| 123 | exact DifferenceBounds.CM.Construction.l2DifferenceQuotient_sobolev_bound m t u |
| 124 | have hv : ‖v‖ ≤ k * ‖u‖ + ‖D v‖ := by |
| 125 | have hgraph := EuclideanGradient.CM.Construction.sobolevVectorGradient_graph_bound b v |
| 126 | change ‖v‖ ≤ ‖J v‖ + ‖D v‖ at hgraph |
| 127 | linarith |
| 128 | have hJtest : ‖J (-DifferenceQuotients.CM.Construction.l2DifferenceQuotient m (-t) v)‖ ≤ k * ‖v‖ := by |
| 129 | rw [map_neg, norm_neg] |
| 130 | change ‖SobolevIs.CM.Construction.sobolevL2Embedding _ (DifferenceQuotients.CM.Construction.l2DifferenceQuotient m (-t) v)‖ ≤ _ |
| 131 | rw [← DifferenceBounds.CM.Construction.l2DifferenceQuotient_sobolevEmbedding_comm] |
| 132 | exact DifferenceBounds.CM.Construction.l2DifferenceQuotient_sobolev_bound m (-t) v |
| 133 | have hright : inner ℝ f (J (-DifferenceQuotients.CM.Construction.l2DifferenceQuotient m (-t) v)) ≤ |
| 134 | ‖f‖ * (k * (k * ‖u‖ + ‖D v‖)) := |
| 135 | (real_inner_le_norm _ _).trans (mul_le_mul_of_nonneg_left |
| 136 | (hJtest.trans (mul_le_mul_of_nonneg_left hv hk)) (norm_nonneg _)) |
| 137 | have hcross : -inner ℝ (R (D u)) (D v) ≤ ((L : ℝ) * ‖m‖ * ‖D u‖) * ‖D v‖ := by |
| 138 | have h := real_inner_le_norm (-R (D u)) (D v) |
| 139 | rw [inner_neg_left, norm_neg] at h |
| 140 | exact h.trans (mul_le_mul_of_nonneg_right hR (norm_nonneg _)) |
| 141 | have hflux : inner ℝ (DifferenceProduct.CM.Construction.realL2Difference m t g) (D v) ≤ max B₀ 0 * ‖D v‖ := |
| 142 | (real_inner_le_norm _ _).trans |
| 143 | (mul_le_mul_of_nonneg_right ((hg t).trans (le_max_left _ _)) (norm_nonneg _)) |
| 144 | have hquad : a * ‖D v‖ * ‖D v‖ ≤ P * ‖D v‖ + Q := by |
| 145 | calc |
| 146 | _ ≤ inner ℝ (T (D v)) (D v) := hlow |
| 147 | _ = inner ℝ f (J (-DifferenceQuotients.CM.Construction.l2DifferenceQuotient m (-t) v)) + |
| 148 | inner ℝ (DifferenceProduct.CM.Construction.realL2Difference m t g) (D v) - inner ℝ (R (D u)) (D v) := by linarith [htest] |
| 149 | _ ≤ ‖f‖ * (k * (k * ‖u‖ + ‖D v‖)) + max B₀ 0 * ‖D v‖ + |
| 150 | ((L : ℝ) * ‖m‖ * ‖D u‖) * ‖D v‖ := add_le_add (add_le_add hright hflux) hcross |
| 151 | _ = P * ‖D v‖ + Q := by dsimp [P, Q]; ring |
| 152 | exact quadratic_energy_bound ha (by dsimp [P]; positivity) (by dsimp [Q]; positivity) |
| 153 | (norm_nonneg _) hquad |
| 154 | |
| 155 | theorem elliptic_difference_gradient_bound (b : OrthonormalBasis ι ℝ E) |
| 156 | (A : E → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) {L : NNReal} |
| 157 | (hA : LipschitzWith L A) {C a : ℝ} (hC : ∀ x, ‖A x‖ ≤ C) (ha : 0 < a) |
| 158 | (hpos : ∀ x, ∀ w : EuclideanSpace ℂ ι, a * ‖w‖ * ‖w‖ ≤ inner ℝ (A x w) w) |
| 159 | (u f : Lp ℂ 2 (volume : Measure E)) (hsol : IsEuclideanWeakMetricSolution b A u f) |
| 160 | (m : E) : ∃ B : ℝ, ∀ t : ℝ, ‖EuclideanGradient.CM.Construction.sobolevVectorGradient b (DifferenceQuotients.CM.Construction.l2DifferenceQuotient m t u)‖ ≤ B := by |
| 161 | apply elliptic_flux_difference_gradient_bound b A hA hC ha hpos u f 0 (B₀ := 0) |
| 162 | · intro v |
| 163 | simpa only [inner_zero_left, add_zero] using hsol v |
| 164 | · exact fun t => by simp |
| 165 | |
| 166 | end |
| 167 | |
| 168 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EllipticDifferenceEstimate.CM.Construction |