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.SobolevInv |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.LpComponents |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CoerciveKernelSolver |
| 4 | |
| 5 | /-! # Gradient Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.GradientSupport.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Weak variable-coefficient equations on the genuine supported Sobolev space. -/ |
| 14 | |
| 15 | open _root_.MeasureTheory |
| 16 | |
| 17 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 18 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 19 | {ι : Type*} [Fintype ι] |
| 20 | |
| 21 | /-- Assemble the actual normalized weak derivatives into an L2 vector field. -/ |
| 22 | def supportedH1VectorGradient (b : OrthonormalBasis ι ℝ E) (K : Set E) : |
| 23 | SobolevIs.CM.Construction.supportedH1Coordinates K →L[ℂ] Lp (EuclideanSpace ℂ ι) 2 (volume : Measure E) := |
| 24 | (LpComponents.CM.Construction.lpOrthonormalSynthesis (EuclideanSpace.basisFun ι ℂ)).comp (SobolevInv.CM.Construction.supportedH1Gradient b K) |
| 25 | |
| 26 | theorem supportedH1VectorGradient_norm (b : OrthonormalBasis ι ℝ E) (K : Set E) |
| 27 | (u : SobolevIs.CM.Construction.supportedH1Coordinates K) : |
| 28 | ‖supportedH1VectorGradient b K u‖ = ‖SobolevInv.CM.Construction.supportedH1Gradient b K u‖ := |
| 29 | (LpComponents.CM.Construction.lpOrthonormalSynthesisIsometry (EuclideanSpace.basisFun ι ℂ)).norm_map _ |
| 30 | |
| 31 | theorem supportedH1VectorGradient_poincare [Nontrivial E] (b : OrthonormalBasis ι ℝ E) |
| 32 | {K : Set E} (hK : IsCompact K) : |
| 33 | ∃ c : ℝ, 0 < c ∧ ∀ u : SobolevIs.CM.Construction.supportedH1Coordinates K, c * ‖u‖ ≤ ‖supportedH1VectorGradient b K u‖ := by |
| 34 | obtain ⟨c, hc, hbound⟩ := CoerciveEnergy.CM.Construction.graphEnergy_poincare_bound (SobolevIs.CM.Construction.supportedH1Embedding K) (SobolevInv.CM.Construction.supportedH1Gradient b K) |
| 35 | (SobolevIs.CM.Construction.supportedH1Embedding_isCompact hK) |
| 36 | ((FourierEnergy.CM.Construction.sobolevNormalizedGradient_injective b).comp Subtype.val_injective) |
| 37 | (fun u v => FourierEnergy.CM.Construction.sobolev_graph_inner b u.val v.val) |
| 38 | exact ⟨c, hc, fun u => (hbound u).trans_eq (supportedH1VectorGradient_norm b K u).symm⟩ |
| 39 | |
| 40 | /-- Every bounded real forcing functional has a unique weak solution for a |
| 41 | bounded measurable uniformly positive coefficient acting on the actual |
| 42 | normalized Sobolev gradient. -/ |
| 43 | theorem variable_dirichlet_weak_existsUnique [Nontrivial E] (b : OrthonormalBasis ι ℝ E) |
| 44 | {K : Set E} (hK : IsCompact K) |
| 45 | (A : E → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) |
| 46 | (hA : AEStronglyMeasurable A (volume : Measure E)) |
| 47 | {C a : ℝ} (hC : ∀ᵐ x ∂(volume : Measure E), ‖A x‖ ≤ C) (ha : 0 < a) |
| 48 | (hpos : ∀ᵐ x ∂(volume : Measure E), ∀ w : EuclideanSpace ℂ ι, |
| 49 | a * ‖w‖ * ‖w‖ ≤ inner ℝ (A x w) w) |
| 50 | (ℓ : SobolevIs.CM.Construction.supportedH1Coordinates K →L[ℝ] ℝ) : |
| 51 | ∃! u : SobolevIs.CM.Construction.supportedH1Coordinates K, ∀ v : SobolevIs.CM.Construction.supportedH1Coordinates K, |
| 52 | (∫ x, inner ℝ (A x (supportedH1VectorGradient b K u x)) |
| 53 | (supportedH1VectorGradient b K v x)) = ℓ v := by |
| 54 | let : InnerProductSpace ℝ (SobolevIs.CM.Construction.supportedH1Coordinates K) := InnerProductSpace.complexToReal |
| 55 | obtain ⟨c, hc, hD⟩ := supportedH1VectorGradient_poincare b hK |
| 56 | exact CoerciveKernelSolver.CM.Construction.coefficientDerivative_weak_existsUnique A hA hC hc ha hpos |
| 57 | ((supportedH1VectorGradient b K).restrictScalars ℝ) hD ℓ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | /-! The actual weak derivatives of completed supported functions retain support. -/ |
| 62 | |
| 63 | open _root_.MeasureTheory TemperedDistribution Set |
| 64 | open scoped SchwartzMap LineDeriv |
| 65 | |
| 66 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 67 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 68 | |
| 69 | theorem sobolevL2Derivative_support {K : Set E} (hK : IsClosed K) |
| 70 | (m : E) (u : SobolevIs.CM.Construction.supportedH1Coordinates K) : |
| 71 | ∀ᵐ x ∂(volume : Measure E).restrict Kᶜ, SobolevDifferential.CM.Construction.sobolevL2Derivative m u.val x = 0 := by |
| 72 | let D := SobolevDifferential.CM.Construction.sobolevL2Derivative (F := ℂ) m |
| 73 | let P : Lp ℂ 2 (volume : Measure E) →L[ℂ] Lp ℂ 2 (volume : Measure E) := |
| 74 | (LpLocalization.CM.Construction.lpSubtypeZeroExtension volume hK.measurableSet).toContinuousLinearMap.comp |
| 75 | (LpLocalization.CM.Construction.lpSubtypeRestriction volume hK.measurableSet) |
| 76 | have hclosed : IsClosed {v : Lp ℂ 2 (volume : Measure E) | P (D v) = D v} := |
| 77 | isClosed_eq (P.continuous.comp D.continuous) D.continuous |
| 78 | have hdense : (((SobolevIs.CM.Construction.supportedSchwartzSubmodule K).map (SobolevIs.CM.Construction.schwartzSobolevCoordinate 1)) : |
| 79 | Set (Lp ℂ 2 (volume : Measure E))) ⊆ {v | P (D v) = D v} := by |
| 80 | rintro _ ⟨f, hf, rfl⟩ |
| 81 | let g : 𝓢(E, ℂ) := ∂_{m} f |
| 82 | have hfK : tsupport f ⊆ K := |
| 83 | closure_minimal ((SobolevIs.CM.Construction.supportedSchwartzSubmodule_mem_iff K f).mp hf) hK |
| 84 | have hdf (x : E) (hx : x ∉ K) : g x = 0 := by |
| 85 | by_contra hn |
| 86 | exact hx (hfK ((SchwartzMap.tsupport_lineDerivOp_subset m f) |
| 87 | (subset_closure (show x ∈ Function.support (g : E → ℂ) from hn)))) |
| 88 | change P (SobolevDifferential.CM.Construction.sobolevL2Derivative m (SobolevIs.CM.Construction.schwartzSobolevCoordinate 1 f)) = |
| 89 | SobolevDifferential.CM.Construction.sobolevL2Derivative m (SobolevIs.CM.Construction.schwartzSobolevCoordinate 1 f) |
| 90 | rw [SobolevDifferential.CM.Construction.sobolevL2Derivative_schwartz] |
| 91 | change P (g.toLp 2 (volume : Measure E)) = g.toLp 2 (volume : Measure E) |
| 92 | apply Lp.ext |
| 93 | filter_upwards [LpLocalization.CM.Construction.lpSubtype_localization_coeFn volume hK.measurableSet |
| 94 | (g.toLp 2 (volume : Measure E)), g.coeFn_toLp 2 (volume : Measure E)] with x hx hfx |
| 95 | change P (g.toLp 2 (volume : Measure E)) x = (g.toLp 2 (volume : Measure E)) x |
| 96 | rw [show P (g.toLp 2 (volume : Measure E)) x = K.indicator |
| 97 | (fun y => (g.toLp 2 (volume : Measure E)) y) x from hx] |
| 98 | by_cases hxK : x ∈ K |
| 99 | · exact Set.indicator_of_mem hxK _ |
| 100 | · rw [Set.indicator_of_notMem hxK, hfx, hdf x hxK] |
| 101 | have hfixed : P (D u.val) = D u.val := (closure_minimal hdense hclosed) u.property |
| 102 | have hae := LpLocalization.CM.Construction.lpSubtype_localization_coeFn volume hK.measurableSet (D u.val) |
| 103 | change P (D u.val) =ᵐ[volume] K.indicator (fun x => D u.val x) at hae |
| 104 | rw [hfixed] at hae |
| 105 | filter_upwards [ae_restrict_of_ae hae, ae_restrict_mem hK.measurableSet.compl] with x hx hk |
| 106 | exact hx.trans (Set.indicator_of_notMem hk _) |
| 107 | |
| 108 | variable {ι : Type*} [Fintype ι] |
| 109 | |
| 110 | theorem supportedH1Gradient_support (b : OrthonormalBasis ι ℝ E) {K : Set E} (hK : IsClosed K) |
| 111 | (u : SobolevIs.CM.Construction.supportedH1Coordinates K) (i : ι) : |
| 112 | ∀ᵐ x ∂(volume : Measure E).restrict Kᶜ, (SobolevInv.CM.Construction.supportedH1Gradient b K u i) x = 0 := by |
| 113 | let κ : ℂ := 2 * Real.pi * Complex.I |
| 114 | have hκ : κ ≠ 0 := by dsimp [κ]; simp [Real.pi_ne_zero] |
| 115 | have hcoe : ∀ᵐ x ∂(volume : Measure E), |
| 116 | SobolevDifferential.CM.Construction.sobolevL2Derivative (b i) u.val x = κ * (SobolevInv.CM.Construction.supportedH1Gradient b K u i) x := by |
| 117 | have h := Lp.coeFn_smul κ (FourierEnergy.CM.Construction.sobolevNormalizedGradient b u.val i) |
| 118 | rw [← FourierEnergy.CM.Construction.sobolevNormalizedGradient_derivative b u.val i] at h |
| 119 | exact h |
| 120 | filter_upwards [sobolevL2Derivative_support hK (b i) u, ae_restrict_of_ae hcoe] with x hx hy |
| 121 | exact (mul_eq_zero.mp (hy.symm.trans hx)).resolve_left hκ |
| 122 | |
| 123 | theorem supportedH1VectorGradient_support (b : OrthonormalBasis ι ℝ E) {K : Set E} (hK : IsClosed K) |
| 124 | (u : SobolevIs.CM.Construction.supportedH1Coordinates K) : |
| 125 | ∀ᵐ x ∂(volume : Measure E), x ∉ K → supportedH1VectorGradient b K u x = 0 := by |
| 126 | apply (ae_restrict_iff' hK.measurableSet.compl).mp |
| 127 | have hcomponents : ∀ᵐ x ∂(volume : Measure E).restrict Kᶜ, |
| 128 | ∀ i, (SobolevInv.CM.Construction.supportedH1Gradient b K u i) x = 0 := |
| 129 | ae_all_iff.mpr (supportedH1Gradient_support b hK u) |
| 130 | filter_upwards [hcomponents, ae_restrict_of_ae |
| 131 | (LpComponents.CM.Construction.lpOrthonormalSynthesis_coe (EuclideanSpace.basisFun ι ℂ) (SobolevInv.CM.Construction.supportedH1Gradient b K u))] |
| 132 | with x hx hsynth |
| 133 | change LpComponents.CM.Construction.lpOrthonormalSynthesis (EuclideanSpace.basisFun ι ℂ) (SobolevInv.CM.Construction.supportedH1Gradient b K u) x = 0 |
| 134 | rw [hsynth] |
| 135 | simp only [hx, zero_smul, Finset.sum_const_zero] |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.GradientSupport.CM.Construction |