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.SiegelThetaSeries |
| 2 | import Mathlib.Topology.ContinuousMap.Bounded.Normed |
| 3 | |
| 4 | /-! # Weighted Theta -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Theta series with bounded complex lattice inputs |
| 12 | |
| 13 | The input is an actual bounded function on a discrete lattice. This includes |
| 14 | restrictions of finite Schwartz inputs, once their support lattice is supplied, |
| 15 | and allows arbitrary complex linear combinations. Gaussian estimates justify |
| 16 | the sums, differentiation, and linearity. No transformation law is assumed. |
| 17 | -/ |
| 18 | |
| 19 | open scoped Classical BoundedContinuousFunction |
| 20 | open Filter _root_.Topology _root_.Metric |
| 21 | |
| 22 | def WeightedTheta.CM.thetaIndicatorInput {X : Type*} [TopologicalSpace X] [DiscreteTopology X] |
| 23 | (S : Set X) : X →ᵇ ℂ := |
| 24 | BoundedContinuousFunction.ofNormedAddCommGroup (fun x => if x ∈ S then 1 else 0) |
| 25 | continuous_of_discreteTopology 1 (fun x => by split_ifs <;> simp) |
| 26 | |
| 27 | theorem WeightedTheta.CM.thetaIndicatorInput_apply {X : Type*} [TopologicalSpace X] [DiscreteTopology X] |
| 28 | (S : Set X) (x : X) : WeightedTheta.CM.thetaIndicatorInput S x = if x ∈ S then 1 else 0 := rfl |
| 29 | |
| 30 | variable {V U : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 31 | [NormedAddCommGroup U] [NormedSpace ℂ U] |
| 32 | (Z : CMSiegelPhase.CM.SiegelPhase V) (P : V →L[ℝ] (U →L[ℂ] ℂ)) (L : Submodule ℤ V) |
| 33 | |
| 34 | def CMSiegelPhase.CM.SiegelPhase.weightedThetaTerm (φ : L →ᵇ ℂ) (x : L) (z : U) : ℂ := |
| 35 | φ x * Z.thetaTerm P x z |
| 36 | |
| 37 | def CMSiegelPhase.CM.SiegelPhase.weightedThetaTermDerivative (φ : L →ᵇ ℂ) (x : L) (z : U) : U →L[ℂ] ℂ := |
| 38 | φ x • Z.thetaTermDerivative P x z |
| 39 | |
| 40 | theorem CMSiegelPhase.CM.SiegelPhase.weightedThetaTerm_hasFDerivAt (φ : L →ᵇ ℂ) (x : L) (z : U) : |
| 41 | HasFDerivAt (Z.weightedThetaTerm P L φ x) |
| 42 | (Z.weightedThetaTermDerivative P L φ x z) z := |
| 43 | (Z.thetaTerm_hasFDerivAt P x z).const_smul (φ x) |
| 44 | |
| 45 | def CMSiegelPhase.CM.SiegelPhase.weightedThetaSeries (φ : L →ᵇ ℂ) (z : U) : ℂ := |
| 46 | ∑' x : L, Z.weightedThetaTerm P L φ x z |
| 47 | |
| 48 | def CMSiegelPhase.CM.SiegelPhase.weightedThetaSeriesDerivative (φ : L →ᵇ ℂ) (z : U) : U →L[ℂ] ℂ := |
| 49 | ∑' x : L, Z.weightedThetaTermDerivative P L φ x z |
| 50 | |
| 51 | variable [FiniteDimensional ℝ V] [DiscreteTopology L] |
| 52 | |
| 53 | theorem CMSiegelPhase.CM.SiegelPhase.weightedThetaTerm_norm_summable (φ : L →ᵇ ℂ) (z : U) : |
| 54 | Summable (fun x : L => ‖Z.weightedThetaTerm P L φ x z‖) := by |
| 55 | apply ((Z.thetaTerm_norm_summable P L z).mul_left ‖φ‖).of_nonneg_of_le |
| 56 | (fun _ => norm_nonneg _) |
| 57 | intro x |
| 58 | rw [CMSiegelPhase.CM.SiegelPhase.weightedThetaTerm, norm_mul] |
| 59 | exact mul_le_mul_of_nonneg_right (φ.norm_coe_le_norm x) (norm_nonneg _) |
| 60 | |
| 61 | omit [DiscreteTopology L] in |
| 62 | theorem CMSiegelPhase.CM.SiegelPhase.weightedThetaTermDerivative_norm_le (φ : L →ᵇ ℂ) (R : ℝ) |
| 63 | (x : L) (z : U) (hz : ‖z‖ ≤ R) : |
| 64 | ‖Z.weightedThetaTermDerivative P L φ x z‖ ≤ ‖φ‖ * Z.thetaDerivativeMajorant P R x := by |
| 65 | rw [CMSiegelPhase.CM.SiegelPhase.weightedThetaTermDerivative, norm_smul] |
| 66 | exact mul_le_mul (φ.norm_coe_le_norm x) (Z.thetaTermDerivative_norm_le P R x z hz) |
| 67 | (norm_nonneg _) (norm_nonneg _) |
| 68 | |
| 69 | theorem CMSiegelPhase.CM.SiegelPhase.weightedThetaTermDerivative_norm_summable (φ : L →ᵇ ℂ) (z : U) : |
| 70 | Summable (fun x : L => ‖Z.weightedThetaTermDerivative P L φ x z‖) := by |
| 71 | exact ((Z.thetaDerivativeMajorant_summable P L ‖z‖).mul_left ‖φ‖).of_nonneg_of_le |
| 72 | (fun _ => norm_nonneg _) |
| 73 | (fun x => Z.weightedThetaTermDerivative_norm_le P L φ ‖z‖ x z le_rfl) |
| 74 | |
| 75 | theorem CMSiegelPhase.CM.SiegelPhase.weightedThetaSeries_hasFDerivAt (φ : L →ᵇ ℂ) (z : U) : |
| 76 | HasFDerivAt (Z.weightedThetaSeries P L φ) (Z.weightedThetaSeriesDerivative P L φ z) z := by |
| 77 | let R : ℝ := ‖z‖ + 1 |
| 78 | have hR : 0 < R := by dsimp [R]; positivity |
| 79 | have hz : z ∈ ball (0 : U) R := by |
| 80 | simp only [mem_ball, dist_zero_right] |
| 81 | dsimp [R] |
| 82 | linarith |
| 83 | exact hasFDerivAt_tsum_of_isPreconnected |
| 84 | ((Z.thetaDerivativeMajorant_summable P L R).mul_left ‖φ‖) isOpen_ball |
| 85 | (convex_ball (0 : U) R).isPreconnected |
| 86 | (fun x w _ => Z.weightedThetaTerm_hasFDerivAt P L φ x w) |
| 87 | (fun x w hw => Z.weightedThetaTermDerivative_norm_le P L φ R x w |
| 88 | (show ‖w‖ < R by simpa only [mem_ball, dist_zero_right] using hw).le) |
| 89 | (mem_ball_self hR) (Z.weightedThetaTerm_norm_summable P L φ 0).of_norm hz |
| 90 | |
| 91 | theorem CMSiegelPhase.CM.SiegelPhase.fderiv_weightedThetaSeries (φ : L →ᵇ ℂ) (z : U) : |
| 92 | fderiv ℂ (Z.weightedThetaSeries P L φ) z = Z.weightedThetaSeriesDerivative P L φ z := |
| 93 | (Z.weightedThetaSeries_hasFDerivAt P L φ z).fderiv |
| 94 | |
| 95 | theorem CMSiegelPhase.CM.SiegelPhase.weightedThetaSeries_add (φ ψ : L →ᵇ ℂ) (z : U) : |
| 96 | Z.weightedThetaSeries P L (φ + ψ) z = |
| 97 | Z.weightedThetaSeries P L φ z + Z.weightedThetaSeries P L ψ z := by |
| 98 | simp only [CMSiegelPhase.CM.SiegelPhase.weightedThetaSeries, CMSiegelPhase.CM.SiegelPhase.weightedThetaTerm, BoundedContinuousFunction.add_apply, add_mul] |
| 99 | exact ((Z.weightedThetaTerm_norm_summable P L φ z).of_norm).tsum_add |
| 100 | (Z.weightedThetaTerm_norm_summable P L ψ z).of_norm |
| 101 | |
| 102 | omit [FiniteDimensional ℝ V] [DiscreteTopology L] in |
| 103 | theorem CMSiegelPhase.CM.SiegelPhase.weightedThetaSeries_smul (c : ℂ) (φ : L →ᵇ ℂ) (z : U) : |
| 104 | Z.weightedThetaSeries P L (c • φ) z = c * Z.weightedThetaSeries P L φ z := by |
| 105 | simp only [CMSiegelPhase.CM.SiegelPhase.weightedThetaSeries, CMSiegelPhase.CM.SiegelPhase.weightedThetaTerm, BoundedContinuousFunction.smul_apply, |
| 106 | smul_eq_mul, mul_assoc, tsum_mul_left] |
| 107 | |
| 108 | /-- The theta sum depends complex linearly on its actual input. -/ |
| 109 | def CMSiegelPhase.CM.SiegelPhase.weightedThetaSeriesLinear : (L →ᵇ ℂ) →ₗ[ℂ] (U → ℂ) where |
| 110 | toFun := Z.weightedThetaSeries P L |
| 111 | map_add' φ ψ := funext (Z.weightedThetaSeries_add P L φ ψ) |
| 112 | map_smul' c φ := funext (Z.weightedThetaSeries_smul P L c φ) |
| 113 | |
| 114 | omit [FiniteDimensional ℝ V] in |
| 115 | theorem CMSiegelPhase.CM.SiegelPhase.weightedThetaSeries_indicator (S : Set L) (z : U) : |
| 116 | Z.weightedThetaSeries P L (WeightedTheta.CM.thetaIndicatorInput S) z = Z.thetaSeriesOn P L S z := by |
| 117 | apply tsum_congr |
| 118 | intro x |
| 119 | simp only [CMSiegelPhase.CM.SiegelPhase.weightedThetaTerm, WeightedTheta.CM.thetaIndicatorInput_apply, CMSiegelPhase.CM.SiegelPhase.thetaTermOn] |
| 120 | split_ifs <;> simp |
| 121 | |
| 122 | omit [FiniteDimensional ℝ V] in |
| 123 | theorem CMSiegelPhase.CM.SiegelPhase.weightedThetaSeriesDerivative_indicator (S : Set L) (z : U) : |
| 124 | Z.weightedThetaSeriesDerivative P L (WeightedTheta.CM.thetaIndicatorInput S) z = |
| 125 | Z.thetaSeriesOnDerivative P L S z := by |
| 126 | apply tsum_congr |
| 127 | intro x |
| 128 | by_cases hx : x ∈ S |
| 129 | · simp [CMSiegelPhase.CM.SiegelPhase.weightedThetaTermDerivative, WeightedTheta.CM.thetaIndicatorInput_apply, CMSiegelPhase.CM.SiegelPhase.thetaTermOnDerivative, hx] |
| 130 | · simp only [CMSiegelPhase.CM.SiegelPhase.weightedThetaTermDerivative, WeightedTheta.CM.thetaIndicatorInput_apply, CMSiegelPhase.CM.SiegelPhase.thetaTermOnDerivative, |
| 131 | ite_eq_right hx] |
| 132 | ext u |
| 133 | simp |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.AlgebraicGeometry.ComplexMultiplication |