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.LpCoefficients |
| 2 | import Mathlib.Analysis.InnerProductSpace.PiL2 |
| 3 | |
| 4 | /-! # Lp Components -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.LpComponents.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Finite orthonormal synthesis identifies componentwise L2 vector fields |
| 13 | with actual vector-valued L2 functions, preserving their inner product. -/ |
| 14 | |
| 15 | open _root_.MeasureTheory |
| 16 | open scoped ComplexConjugate |
| 17 | |
| 18 | variable {α 𝕜 E ι : Type*} [MeasurableSpace α] [RCLike 𝕜] |
| 19 | [NormedAddCommGroup E] [InnerProductSpace 𝕜 E] [Fintype ι] {μ : Measure α} |
| 20 | |
| 21 | omit [RCLike 𝕜] [InnerProductSpace 𝕜 E] [Fintype ι] in |
| 22 | theorem lp_coe_finsetSum (u : ι → Lp E 2 μ) (s : Finset ι) : |
| 23 | ∀ᵐ x ∂μ, (∑ i ∈ s, u i) x = ∑ i ∈ s, u i x := by |
| 24 | classical |
| 25 | induction s using Finset.induction_on with |
| 26 | | empty => |
| 27 | simp only [Finset.sum_empty] |
| 28 | filter_upwards [Lp.coeFn_zero E 2 μ] with x hx |
| 29 | exact hx |
| 30 | | @insert i s hi ih => |
| 31 | simp only [Finset.sum_insert hi] |
| 32 | filter_upwards [Lp.coeFn_add (u i) (∑ j ∈ s, u j), ih] with x hx hy |
| 33 | simp only [hx, Pi.add_apply, hy] |
| 34 | |
| 35 | def lpOrthonormalSynthesis (b : OrthonormalBasis ι 𝕜 E) : |
| 36 | PiLp 2 (fun _ : ι => Lp 𝕜 2 μ) →L[𝕜] Lp E 2 μ := |
| 37 | ∑ i, (((ContinuousLinearMap.id 𝕜 𝕜).smulRight (b i)).compLpL 2 μ).comp |
| 38 | ((ContinuousLinearMap.proj i).comp |
| 39 | (PiLp.continuousLinearEquiv 2 𝕜 (fun _ : ι => Lp 𝕜 2 μ)).toContinuousLinearMap) |
| 40 | |
| 41 | theorem lpOrthonormalSynthesis_coe (b : OrthonormalBasis ι 𝕜 E) |
| 42 | (u : PiLp 2 (fun _ : ι => Lp 𝕜 2 μ)) : |
| 43 | ∀ᵐ x ∂μ, lpOrthonormalSynthesis b u x = ∑ i, u i x • b i := by |
| 44 | have hcoe : ∀ᵐ x ∂μ, ∀ i : ι, |
| 45 | (((ContinuousLinearMap.id 𝕜 𝕜).smulRight (b i)).compLpL 2 μ (u i)) x = u i x • b i := |
| 46 | ae_all_iff.mpr (fun i => ((ContinuousLinearMap.id 𝕜 𝕜).smulRight (b i)).coeFn_compLpL (u i)) |
| 47 | have hsum := lp_coe_finsetSum (fun i => |
| 48 | ((ContinuousLinearMap.id 𝕜 𝕜).smulRight (b i)).compLpL 2 μ (u i)) Finset.univ |
| 49 | filter_upwards [hcoe, hsum] with x hx hsumx |
| 50 | simp only [lpOrthonormalSynthesis, sum_apply, ContinuousLinearMap.comp_apply] |
| 51 | change (∑ i, ((ContinuousLinearMap.id 𝕜 𝕜).smulRight (b i)).compLpL 2 μ (u i)) x = _ |
| 52 | rw [hsumx] |
| 53 | simp only [hx] |
| 54 | |
| 55 | theorem lpOrthonormalSynthesis_inner (b : OrthonormalBasis ι 𝕜 E) |
| 56 | (u v : PiLp 2 (fun _ : ι => Lp 𝕜 2 μ)) : |
| 57 | inner 𝕜 (lpOrthonormalSynthesis b u) (lpOrthonormalSynthesis b v) = inner 𝕜 u v := by |
| 58 | rw [L2.inner_def] |
| 59 | calc |
| 60 | _ = ∫ x, ∑ i, inner 𝕜 (u i x) (v i x) ∂μ := by |
| 61 | apply integral_congr_ae |
| 62 | filter_upwards [lpOrthonormalSynthesis_coe b u, lpOrthonormalSynthesis_coe b v] with x hx hy |
| 63 | rw [hx, hy, b.orthonormal.inner_sum] |
| 64 | simp only [RCLike.inner_apply, mul_comm] |
| 65 | _ = ∑ i, inner 𝕜 (u i) (v i) := |
| 66 | integral_finsetSum Finset.univ (fun i _ => L2.integrable_inner (𝕜 := 𝕜) (u i) (v i)) |
| 67 | _ = inner 𝕜 u v := rfl |
| 68 | |
| 69 | def lpOrthonormalSynthesisIsometry (b : OrthonormalBasis ι 𝕜 E) : |
| 70 | PiLp 2 (fun _ : ι => Lp 𝕜 2 μ) →ₗᵢ[𝕜] Lp E 2 μ := |
| 71 | { (lpOrthonormalSynthesis b).toLinearMap with |
| 72 | norm_map' := fun u => by |
| 73 | have h := congrArg RCLike.re (lpOrthonormalSynthesis_inner b u u) |
| 74 | rw [← norm_sq_eq_re_inner, ← norm_sq_eq_re_inner] at h |
| 75 | exact (sq_eq_sq₀ (norm_nonneg (lpOrthonormalSynthesis b u)) (norm_nonneg u)).mp h } |
| 76 | |
| 77 | end |
| 78 | |
| 79 | /-! Actual component projections of complex L2 vector fields detect zero. -/ |
| 80 | |
| 81 | open _root_.MeasureTheory Filter |
| 82 | |
| 83 | variable {ι α : Type*} [Fintype ι] [MeasurableSpace α] (μ : Measure α) |
| 84 | |
| 85 | def complexVectorCoordinate (i : ι) : EuclideanSpace ℂ ι →L[ℂ] ℂ := |
| 86 | (ContinuousLinearMap.proj i).comp (PiLp.continuousLinearEquiv 2 ℂ (fun _ : ι => ℂ)).toContinuousLinearMap |
| 87 | |
| 88 | def complexLpComponent (i : ι) : Lp (EuclideanSpace ℂ ι) 2 μ →L[ℂ] Lp ℂ 2 μ := |
| 89 | (complexVectorCoordinate i).compLpL 2 μ |
| 90 | |
| 91 | theorem complexLpComponent_coe (i : ι) (u : Lp (EuclideanSpace ℂ ι) 2 μ) : |
| 92 | complexLpComponent μ i u =ᵐ[μ] fun x => u x i := |
| 93 | (complexVectorCoordinate i).coeFn_compLpL u |
| 94 | |
| 95 | theorem complexLpComponent_eq_zero (u : Lp (EuclideanSpace ℂ ι) 2 μ) |
| 96 | (hu : ∀ i, complexLpComponent μ i u = 0) : u = 0 := by |
| 97 | have hall : ∀ᵐ x ∂μ, ∀ i : ι, u x i = 0 := by |
| 98 | apply ae_all_iff.mpr |
| 99 | intro i |
| 100 | have hi := complexLpComponent_coe μ i u |
| 101 | rw [hu i] at hi |
| 102 | filter_upwards [hi, Lp.coeFn_zero ℂ 2 μ] with x hx hzero |
| 103 | exact hx.symm.trans hzero |
| 104 | apply Lp.ext |
| 105 | filter_upwards [hall, Lp.coeFn_zero (EuclideanSpace ℂ ι) 2 μ] with x hx hzero |
| 106 | rw [hzero] |
| 107 | apply PiLp.ext |
| 108 | intro i |
| 109 | exact hx i |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.LpComponents.CM.Construction |