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.EuclideanGradient |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SobolevDifferential |
| 3 | |
| 4 | /-! # Schwartz Gradient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SchwartzGradient.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The ordinary gradient of a Schwartz function and its exact relation to |
| 11 | the normalized Sobolev gradient used in the local weak equation. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory Set |
| 14 | open scoped SchwartzMap LineDeriv |
| 15 | |
| 16 | variable {E ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 17 | [Fintype ι] |
| 18 | |
| 19 | def schwartzOrdinaryGradient (b : OrthonormalBasis ι ℝ E) (g : 𝓢(E, ℂ)) |
| 20 | (x : E) : EuclideanSpace ℂ ι := |
| 21 | ∑ i, (∂_{b i} g : 𝓢(E, ℂ)) x • EuclideanSpace.basisFun ι ℂ i |
| 22 | |
| 23 | theorem schwartzOrdinaryGradient_apply (b : OrthonormalBasis ι ℝ E) (g : 𝓢(E, ℂ)) |
| 24 | (x : E) (i : ι) : schwartzOrdinaryGradient b g x i = (∂_{b i} g : 𝓢(E, ℂ)) x := by |
| 25 | classical |
| 26 | simp [schwartzOrdinaryGradient, EuclideanSpace.basisFun_apply, Pi.single_apply] |
| 27 | |
| 28 | theorem schwartzOrdinaryGradient_zero (b : OrthonormalBasis ι ℝ E) (g : 𝓢(E, ℂ)) |
| 29 | {x : E} (hx : x ∉ tsupport g) : schwartzOrdinaryGradient b g x = 0 := by |
| 30 | apply PiLp.ext |
| 31 | intro i |
| 32 | rw [schwartzOrdinaryGradient_apply] |
| 33 | exact image_eq_zero_of_notMem_tsupport (fun h => hx (SchwartzMap.tsupport_lineDerivOp_subset (b i) g h)) |
| 34 | |
| 35 | variable [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 36 | |
| 37 | theorem sobolevVectorGradient_schwartz_normalization (b : OrthonormalBasis ι ℝ E) |
| 38 | (g : 𝓢(E, ℂ)) : |
| 39 | ∀ᵐ x ∂(volume : Measure E), |
| 40 | (2 * Real.pi * Complex.I : ℂ) • EuclideanGradient.CM.Construction.sobolevVectorGradient b (SobolevIs.CM.Construction.schwartzSobolevCoordinate 1 g) x = |
| 41 | schwartzOrdinaryGradient b g x := by |
| 42 | let u := SobolevIs.CM.Construction.schwartzSobolevCoordinate 1 g |
| 43 | have hc : ∀ᵐ x ∂(volume : Measure E), ∀ i : ι, |
| 44 | (2 * Real.pi * Complex.I : ℂ) • FourierEnergy.CM.Construction.sobolevNormalizedGradient b u i x = |
| 45 | (∂_{b i} g : 𝓢(E, ℂ)) x := by |
| 46 | apply ae_all_iff.mpr |
| 47 | intro i |
| 48 | have hD : SobolevDifferential.CM.Construction.sobolevL2Derivative (b i) u = (∂_{b i} g : 𝓢(E, ℂ)).toLp 2 := |
| 49 | SobolevDifferential.CM.Construction.sobolevL2Derivative_schwartz (b i) g |
| 50 | have hκ := FourierEnergy.CM.Construction.sobolevNormalizedGradient_derivative b u i |
| 51 | rw [hD] at hκ |
| 52 | filter_upwards [Lp.coeFn_smul (2 * Real.pi * Complex.I : ℂ) (FourierEnergy.CM.Construction.sobolevNormalizedGradient b u i), |
| 53 | (∂_{b i} g : 𝓢(E, ℂ)).coeFn_toLp 2] with x hx hgx |
| 54 | rw [← hκ] at hx |
| 55 | exact hx.symm.trans hgx |
| 56 | filter_upwards [LpComponents.CM.Construction.lpOrthonormalSynthesis_coe (EuclideanSpace.basisFun ι ℂ) |
| 57 | (FourierEnergy.CM.Construction.sobolevNormalizedGradient b u), hc] with x hx hc |
| 58 | change (2 * Real.pi * Complex.I : ℂ) • |
| 59 | LpComponents.CM.Construction.lpOrthonormalSynthesis (EuclideanSpace.basisFun ι ℂ) (FourierEnergy.CM.Construction.sobolevNormalizedGradient b u) x = _ |
| 60 | rw [hx, Finset.smul_sum] |
| 61 | unfold schwartzOrdinaryGradient |
| 62 | apply Finset.sum_congr rfl |
| 63 | intro i _ |
| 64 | calc |
| 65 | _ = ((2 * Real.pi * Complex.I : ℂ) • FourierEnergy.CM.Construction.sobolevNormalizedGradient b u i x) • |
| 66 | EuclideanSpace.basisFun ι ℂ i := |
| 67 | smul_smul (2 * Real.pi * Complex.I : ℂ) (FourierEnergy.CM.Construction.sobolevNormalizedGradient b u i x) _ |
| 68 | _ = _ := congrArg (fun a : ℂ => a • EuclideanSpace.basisFun ι ℂ i) (hc i) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SchwartzGradient.CM.Construction |