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.SobolevSmoothDensity |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanGradient |
| 3 | |
| 4 | /-! # Cutoff Differential -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CutoffDifferential.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual L2 cutoff multiplication and its weak first derivative. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory TemperedDistribution |
| 15 | open scoped SchwartzMap LineDeriv |
| 16 | |
| 17 | variable {α F : Type*} [MeasurableSpace α] {μ : Measure α} |
| 18 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 19 | |
| 20 | def l2ScalarMultiply (g : Lp ℂ ⊤ μ) : Lp F 2 μ →L[ℂ] Lp F 2 μ := |
| 21 | LinearMap.mkContinuous |
| 22 | { toFun := fun u => g • u |
| 23 | map_add' := fun u v => Lp.add_smul g u v |
| 24 | map_smul' := fun c u => (Lp.smul_comm c g u).symm } |
| 25 | ‖g‖ (fun u => Lp.norm_smul_le g u) |
| 26 | |
| 27 | theorem l2ScalarMultiply_coe (g : Lp ℂ ⊤ μ) (u : Lp F 2 μ) : |
| 28 | l2ScalarMultiply g u =ᵐ[μ] fun x => g x • u x := Lp.coeFn_lpSMul g u |
| 29 | |
| 30 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 31 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 32 | |
| 33 | def schwartzL2Multiply (g : 𝓢(E, ℂ)) : |
| 34 | Lp F 2 (volume : Measure E) →L[ℂ] Lp F 2 (volume : Measure E) := |
| 35 | l2ScalarMultiply ((g.memLp_top volume).toLp g) |
| 36 | |
| 37 | theorem schwartzL2Multiply_coe (g : 𝓢(E, ℂ)) (u : Lp F 2 (volume : Measure E)) : |
| 38 | schwartzL2Multiply g u =ᵐ[volume] fun x => g x • u x := by |
| 39 | filter_upwards [l2ScalarMultiply_coe ((g.memLp_top volume).toLp g) u, |
| 40 | (g.memLp_top volume).coeFn_toLp] with x hx hg |
| 41 | exact hx.trans (congrArg (fun c : ℂ => c • u x) hg) |
| 42 | |
| 43 | variable [CompleteSpace F] |
| 44 | |
| 45 | theorem schwartzL2Multiply_distribution (g : 𝓢(E, ℂ)) (u : Lp F 2 (volume : Measure E)) : |
| 46 | (schwartzL2Multiply g u : 𝓢'(E, F)) = smulLeftCLM F g (u : 𝓢'(E, F)) := |
| 47 | Lp.toTemperedDistribution_smul_eq g.hasTemperateGrowth (g.memLp_top volume) u |
| 48 | |
| 49 | omit [NormedAddCommGroup F] [NormedSpace ℂ F] [CompleteSpace F] in |
| 50 | theorem sobolevCutoffCLM_embedding (g : 𝓢(E, ℂ)) (u : Lp ℂ 2 (volume : Measure E)) : |
| 51 | SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) (SobolevCutoffOperator.CM.Construction.sobolevCutoffCLM 1 g u) = |
| 52 | schwartzL2Multiply g (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u) := by |
| 53 | apply (LinearMap.ker_eq_bot.mp (Lp.ker_toTemperedDistributionCLM_eq_bot |
| 54 | (F := ℂ) (μ := (volume : Measure E)) (p := 2))) |
| 55 | change (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) (SobolevCutoffOperator.CM.Construction.sobolevCutoffCLM 1 g u) : 𝓢'(E, ℂ)) = |
| 56 | (schwartzL2Multiply g (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u) : 𝓢'(E, ℂ)) |
| 57 | rw [schwartzL2Multiply_distribution, SobolevIs.CM.Construction.sobolevL2Embedding_distribution, |
| 58 | SobolevIs.CM.Construction.sobolevL2Embedding_distribution] |
| 59 | simpa only [Nat.cast_one, SobolevCutoffOperator.CM.Construction.sobolevDistributionCLM, ContinuousLinearMap.comp_apply, |
| 60 | Lp.toTemperedDistributionCLM_apply] using SobolevCutoffOperator.CM.Construction.sobolevCutoffCLM_distribution 1 g u |
| 61 | |
| 62 | omit [NormedAddCommGroup F] [NormedSpace ℂ F] [CompleteSpace F] in |
| 63 | theorem sobolevCutoffCLM_derivative (g : 𝓢(E, ℂ)) (m : E) (u : Lp ℂ 2 (volume : Measure E)) : |
| 64 | SobolevDifferential.CM.Construction.sobolevL2Derivative m (SobolevCutoffOperator.CM.Construction.sobolevCutoffCLM 1 g u) = |
| 65 | schwartzL2Multiply (∂_{m} g : 𝓢(E, ℂ)) |
| 66 | (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u) + |
| 67 | schwartzL2Multiply g (SobolevDifferential.CM.Construction.sobolevL2Derivative m u) := by |
| 68 | apply (LinearMap.ker_eq_bot.mp (Lp.ker_toTemperedDistributionCLM_eq_bot |
| 69 | (F := ℂ) (μ := (volume : Measure E)) (p := 2))) |
| 70 | change (SobolevDifferential.CM.Construction.sobolevL2Derivative m (SobolevCutoffOperator.CM.Construction.sobolevCutoffCLM 1 g u) : 𝓢'(E, ℂ)) = |
| 71 | ((schwartzL2Multiply (∂_{m} g : 𝓢(E, ℂ)) |
| 72 | (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u) + |
| 73 | schwartzL2Multiply g (SobolevDifferential.CM.Construction.sobolevL2Derivative m u) : Lp ℂ 2 volume) : 𝓢'(E, ℂ)) |
| 74 | rw [SobolevDifferential.CM.Construction.sobolevL2Derivative_distribution, sobolevCutoffCLM_embedding, |
| 75 | schwartzL2Multiply_distribution, SobolevInv.CM.Construction.distribution_cutoff_leibniz] |
| 76 | have hadd (v w : Lp ℂ 2 (volume : Measure E)) : |
| 77 | ((v + w : Lp ℂ 2 volume) : 𝓢'(E, ℂ)) = (v : 𝓢'(E, ℂ)) + (w : 𝓢'(E, ℂ)) := by |
| 78 | simpa only [Lp.toTemperedDistributionCLM_apply] using |
| 79 | (Lp.toTemperedDistributionCLM ℂ (volume : Measure E) 2).map_add v w |
| 80 | rw [hadd, schwartzL2Multiply_distribution, schwartzL2Multiply_distribution, |
| 81 | SobolevDifferential.CM.Construction.sobolevL2Derivative_distribution] |
| 82 | |
| 83 | end |
| 84 | |
| 85 | /-! The first-order commutator of cutoff multiplication and the genuine |
| 86 | Sobolev gradient factors through the underlying L2 function. -/ |
| 87 | |
| 88 | open _root_.MeasureTheory |
| 89 | open scoped SchwartzMap LineDeriv |
| 90 | |
| 91 | variable {E ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 92 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] [Fintype ι] |
| 93 | |
| 94 | def cutoffGradientComponents (b : OrthonormalBasis ι ℝ E) (g : 𝓢(E, ℂ)) : |
| 95 | Lp ℂ 2 (volume : Measure E) →L[ℂ] PiLp 2 (fun _ : ι => Lp ℂ 2 (volume : Measure E)) := |
| 96 | (PiLp.continuousLinearEquiv 2 ℂ (fun _ : ι => Lp ℂ 2 (volume : Measure E))).symm.toContinuousLinearMap.comp |
| 97 | (ContinuousLinearMap.pi (fun i => |
| 98 | (2 * Real.pi * Complex.I : ℂ)⁻¹ • schwartzL2Multiply (∂_{b i} g : 𝓢(E, ℂ)))) |
| 99 | |
| 100 | theorem cutoffGradientComponents_apply (b : OrthonormalBasis ι ℝ E) (g : 𝓢(E, ℂ)) |
| 101 | (u : Lp ℂ 2 (volume : Measure E)) (i : ι) : |
| 102 | cutoffGradientComponents b g u i = |
| 103 | (2 * Real.pi * Complex.I : ℂ)⁻¹ • schwartzL2Multiply (∂_{b i} g : 𝓢(E, ℂ)) u := rfl |
| 104 | |
| 105 | def cutoffGradientMultiply (b : OrthonormalBasis ι ℝ E) (g : 𝓢(E, ℂ)) : |
| 106 | Lp ℂ 2 (volume : Measure E) →L[ℂ] Lp (EuclideanSpace ℂ ι) 2 (volume : Measure E) := |
| 107 | (LpComponents.CM.Construction.lpOrthonormalSynthesis (EuclideanSpace.basisFun ι ℂ)).comp (cutoffGradientComponents b g) |
| 108 | |
| 109 | theorem sobolevNormalizedGradient_cutoff (b : OrthonormalBasis ι ℝ E) (g : 𝓢(E, ℂ)) |
| 110 | (u : Lp ℂ 2 (volume : Measure E)) (i : ι) : |
| 111 | FourierEnergy.CM.Construction.sobolevNormalizedGradient b (SobolevCutoffOperator.CM.Construction.sobolevCutoffCLM 1 g u) i = |
| 112 | cutoffGradientComponents b g (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u) i + |
| 113 | schwartzL2Multiply g (FourierEnergy.CM.Construction.sobolevNormalizedGradient b u i) := by |
| 114 | have hκ : (2 * Real.pi * Complex.I : ℂ) ≠ 0 := by |
| 115 | simp only [ne_eq, mul_eq_zero, OfNat.ofNat_ne_zero, Complex.ofReal_eq_zero, |
| 116 | Real.pi_ne_zero, Complex.I_ne_zero, or_self, not_false_eq_true] |
| 117 | have h := congrArg (fun w : Lp ℂ 2 (volume : Measure E) => |
| 118 | (2 * Real.pi * Complex.I : ℂ)⁻¹ • w) (sobolevCutoffCLM_derivative g (b i) u) |
| 119 | rw [FourierEnergy.CM.Construction.sobolevNormalizedGradient_derivative, FourierEnergy.CM.Construction.sobolevNormalizedGradient_derivative] at h |
| 120 | simpa only [cutoffGradientComponents_apply, smul_add, map_smul, smul_smul, |
| 121 | inv_mul_cancel₀ hκ, one_smul] using h |
| 122 | |
| 123 | theorem lpOrthonormalSynthesis_schwartz_multiply |
| 124 | (g : 𝓢(E, ℂ)) (u v : PiLp 2 (fun _ : ι => Lp ℂ 2 (volume : Measure E))) |
| 125 | (h : ∀ i, v i = schwartzL2Multiply g (u i)) : |
| 126 | LpComponents.CM.Construction.lpOrthonormalSynthesis (EuclideanSpace.basisFun ι ℂ) v = |
| 127 | schwartzL2Multiply g (LpComponents.CM.Construction.lpOrthonormalSynthesis (EuclideanSpace.basisFun ι ℂ) u) := by |
| 128 | have hc : ∀ᵐ x ∂(volume : Measure E), ∀ i, (v i) x = g x • (u i) x := by |
| 129 | apply ae_all_iff.mpr |
| 130 | intro i |
| 131 | rw [h i] |
| 132 | exact schwartzL2Multiply_coe g (u i) |
| 133 | apply Lp.ext |
| 134 | filter_upwards [LpComponents.CM.Construction.lpOrthonormalSynthesis_coe (EuclideanSpace.basisFun ι ℂ) v, |
| 135 | LpComponents.CM.Construction.lpOrthonormalSynthesis_coe (EuclideanSpace.basisFun ι ℂ) u, |
| 136 | schwartzL2Multiply_coe g (LpComponents.CM.Construction.lpOrthonormalSynthesis (EuclideanSpace.basisFun ι ℂ) u), hc] |
| 137 | with x hv hu hg hx |
| 138 | rw [hv, hg, hu, Finset.smul_sum] |
| 139 | simp only [hx, smul_assoc] |
| 140 | |
| 141 | /-- Leibniz's rule in the completed H1 space, with a bounded L2 commutator. -/ |
| 142 | theorem sobolevVectorGradient_cutoff (b : OrthonormalBasis ι ℝ E) (g : 𝓢(E, ℂ)) |
| 143 | (u : Lp ℂ 2 (volume : Measure E)) : |
| 144 | EuclideanGradient.CM.Construction.sobolevVectorGradient b (SobolevCutoffOperator.CM.Construction.sobolevCutoffCLM 1 g u) = |
| 145 | cutoffGradientMultiply b g (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u) + |
| 146 | schwartzL2Multiply g (EuclideanGradient.CM.Construction.sobolevVectorGradient b u) := by |
| 147 | let w := FourierEnergy.CM.Construction.sobolevNormalizedGradient b (SobolevCutoffOperator.CM.Construction.sobolevCutoffCLM 1 g u) - |
| 148 | cutoffGradientComponents b g (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u) |
| 149 | have hw (i : ι) : w i = schwartzL2Multiply g (FourierEnergy.CM.Construction.sobolevNormalizedGradient b u i) := by |
| 150 | change FourierEnergy.CM.Construction.sobolevNormalizedGradient b (SobolevCutoffOperator.CM.Construction.sobolevCutoffCLM 1 g u) i - |
| 151 | cutoffGradientComponents b g (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u) i = _ |
| 152 | rw [sobolevNormalizedGradient_cutoff, add_sub_cancel_left] |
| 153 | have h := lpOrthonormalSynthesis_schwartz_multiply g (FourierEnergy.CM.Construction.sobolevNormalizedGradient b u) w hw |
| 154 | change LpComponents.CM.Construction.lpOrthonormalSynthesis (EuclideanSpace.basisFun ι ℂ) |
| 155 | (FourierEnergy.CM.Construction.sobolevNormalizedGradient b (SobolevCutoffOperator.CM.Construction.sobolevCutoffCLM 1 g u) - |
| 156 | cutoffGradientComponents b g (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u)) = _ at h |
| 157 | rw [map_sub] at h |
| 158 | change EuclideanGradient.CM.Construction.sobolevVectorGradient b (SobolevCutoffOperator.CM.Construction.sobolevCutoffCLM 1 g u) - |
| 159 | cutoffGradientMultiply b g (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u) = |
| 160 | schwartzL2Multiply g (EuclideanGradient.CM.Construction.sobolevVectorGradient b u) at h |
| 161 | exact sub_eq_iff_eq_add'.mp h |
| 162 | |
| 163 | end |
| 164 | |
| 165 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CutoffDifferential.CM.Construction |