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.RepresentationTheory.Theta.Definitions |
| 2 | import OAI.RepresentationTheory.Theta.AnalyticSeries |
| 3 | |
| 4 | /-! # Analytic -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Analytic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Gaussian bounds give joint analyticity in the phase and Jacobi variables. -/ |
| 11 | |
| 12 | open scoped Classical BigOperators _root_.Topology NNReal ENNReal BoundedContinuousFunction _root_.Matrix.Norms.Elementwise |
| 13 | |
| 14 | section Phase |
| 15 | variable {V U : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 16 | [NormedAddCommGroup U] [NormedSpace ℂ U] |
| 17 | |
| 18 | abbrev PhaseParameter (V : Type*) [NormedAddCommGroup V] [NormedSpace ℝ V] := |
| 19 | V →L[ℝ] V →L[ℝ] ℂ |
| 20 | |
| 21 | local instance phaseParameterNormedAddCommGroup : |
| 22 | NormedAddCommGroup (V →L[ℝ] V →L[ℝ] ℂ) := inferInstance |
| 23 | local instance phaseParameterNormedSpace : |
| 24 | NormedSpace ℂ (V →L[ℝ] V →L[ℝ] ℂ) := inferInstance |
| 25 | |
| 26 | def phaseExponent (P : V →L[ℝ] (U →L[ℂ] ℂ)) (x : V) : |
| 27 | (PhaseParameter V × U) →L[ℂ] ℂ := |
| 28 | ((Real.pi : ℂ) * Complex.I) • |
| 29 | ((AlgebraicGeometry.ComplexMultiplication.ThetaCompletion.CM.thetaPhaseEvaluation x).comp (ContinuousLinearMap.fst ℂ _ _)) + |
| 30 | (2 * (Real.pi : ℂ) * Complex.I) • |
| 31 | ((P x).comp (ContinuousLinearMap.snd ℂ _ _)) |
| 32 | |
| 33 | theorem phaseExponent_apply (P : V →L[ℝ] (U →L[ℂ] ℂ)) (x : V) |
| 34 | (w : PhaseParameter V × U) : |
| 35 | phaseExponent P x w = |
| 36 | (Real.pi : ℂ) * Complex.I * w.1 x x + |
| 37 | (2 * (Real.pi : ℂ) * Complex.I) * P x w.2 := rfl |
| 38 | |
| 39 | theorem phaseExponent_norm_le (P : V →L[ℝ] (U →L[ℂ] ℂ)) (x : V) : |
| 40 | ‖phaseExponent P x‖ ≤ Real.pi * ‖x‖ ^ 2 + 2 * Real.pi * ‖P‖ * ‖x‖ := by |
| 41 | apply ContinuousLinearMap.opNorm_le_bound _ (by positivity) |
| 42 | intro w |
| 43 | rw [phaseExponent_apply] |
| 44 | have hb : ‖w.1 x x‖ ≤ ‖x‖ ^ 2 * ‖w‖ := by |
| 45 | calc |
| 46 | ‖w.1 x x‖ ≤ ‖AlgebraicGeometry.ComplexMultiplication.ThetaCompletion.CM.thetaPhaseEvaluation x‖ * ‖w.1‖ := |
| 47 | (AlgebraicGeometry.ComplexMultiplication.ThetaCompletion.CM.thetaPhaseEvaluation x).le_opNorm w.1 |
| 48 | _ ≤ ‖x‖ ^ 2 * ‖w‖ := by |
| 49 | gcongr |
| 50 | · exact AlgebraicGeometry.ComplexMultiplication.ThetaCompletion.CM.thetaPhaseEvaluation_norm_le x |
| 51 | · exact norm_fst_le w |
| 52 | have hp : ‖P x w.2‖ ≤ ‖P‖ * ‖x‖ * ‖w‖ := |
| 53 | (AlgebraicGeometry.ComplexMultiplication.CMSiegelPhase.CM.SiegelPhase.pairing_norm_le P x w.2).trans |
| 54 | (mul_le_mul_of_nonneg_left (norm_snd_le w) (by positivity)) |
| 55 | calc |
| 56 | _ ≤ ‖(Real.pi : ℂ) * Complex.I * w.1 x x‖ + |
| 57 | ‖(2 * (Real.pi : ℂ) * Complex.I) * P x w.2‖ := norm_add_le _ _ |
| 58 | _ = Real.pi * ‖w.1 x x‖ + (2 * Real.pi) * ‖P x w.2‖ := by |
| 59 | simp [abs_of_pos Real.pi_pos] |
| 60 | _ ≤ Real.pi * (‖x‖ ^ 2 * ‖w‖) + |
| 61 | (2 * Real.pi) * (‖P‖ * ‖x‖ * ‖w‖) := by gcongr |
| 62 | _ = _ := by ring |
| 63 | |
| 64 | variable [FiniteDimensional ℝ V] |
| 65 | |
| 66 | theorem phase_theta_analytic |
| 67 | (L : Submodule ℤ V) [DiscreteTopology L] (φ : L →ᵇ ℂ) |
| 68 | (P : V →L[ℝ] (U →L[ℂ] ℂ)) (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelPhase.CM.SiegelPhase V) (z : U) : |
| 69 | AnalyticAt ℂ |
| 70 | (fun w : PhaseParameter V × U => |
| 71 | ∑' x : L, φ x * Complex.exp (phaseExponent P x w)) (Z.form, z) := by |
| 72 | let r : ℝ≥0 := ⟨Z.lowerBound / 2, (half_pos Z.lowerBound_pos).le⟩ |
| 73 | apply AnalyticSeries.analyticAt_exponential_sum (fun x : L => φ x) |
| 74 | (fun x : L => phaseExponent P x) (Z.form, z) r (half_pos Z.lowerBound_pos) |
| 75 | have hsum := (AlgebraicGeometry.ComplexMultiplication.LatticeGaussian.CM.lattice_gaussian_summable L |
| 76 | (Real.pi * (Z.lowerBound / 2)) |
| 77 | (2 * Real.pi * ‖P‖ * (‖z‖ + (r : ℝ))) |
| 78 | (mul_pos Real.pi_pos (half_pos Z.lowerBound_pos))).mul_left ‖φ‖ |
| 79 | apply hsum.of_nonneg_of_le (fun _ => by positivity) |
| 80 | intro x |
| 81 | have htheta : ‖Complex.exp (phaseExponent P (x : V) (Z.form, z))‖ ≤ |
| 82 | Z.thetaMajorant P ‖z‖ x := |
| 83 | Z.thetaTerm_norm_le P ‖z‖ x z le_rfl |
| 84 | have hexp : Real.exp (‖phaseExponent P (x : V)‖ * (r : ℝ)) ≤ |
| 85 | Real.exp ((Real.pi * ‖(x : V)‖ ^ 2 + 2 * Real.pi * ‖P‖ * ‖(x : V)‖) * |
| 86 | (r : ℝ)) := |
| 87 | Real.exp_le_exp.mpr (mul_le_mul_of_nonneg_right (phaseExponent_norm_le P x) r.coe_nonneg) |
| 88 | rw [norm_mul] |
| 89 | calc |
| 90 | _ ≤ (‖φ‖ * Z.thetaMajorant P ‖z‖ x) * |
| 91 | Real.exp ((Real.pi * ‖(x : V)‖ ^ 2 + 2 * Real.pi * ‖P‖ * ‖(x : V)‖) * |
| 92 | (r : ℝ)) := by |
| 93 | apply mul_le_mul |
| 94 | · exact mul_le_mul (φ.norm_coe_le_norm x) htheta |
| 95 | (norm_nonneg _) (norm_nonneg _) |
| 96 | · exact hexp |
| 97 | · exact (Real.exp_pos _).le |
| 98 | · exact mul_nonneg (norm_nonneg _) (Real.exp_pos _).le |
| 99 | _ = ‖φ‖ * Real.exp |
| 100 | (-(Real.pi * (Z.lowerBound / 2)) * ‖(x : V)‖ ^ 2 + |
| 101 | (2 * Real.pi * ‖P‖ * (‖z‖ + (r : ℝ))) * ‖(x : V)‖) := by |
| 102 | unfold AlgebraicGeometry.ComplexMultiplication.CMSiegelPhase.CM.SiegelPhase.thetaMajorant |
| 103 | rw [mul_assoc, ← Real.exp_add] |
| 104 | congr 2 |
| 105 | change -(Real.pi * Z.lowerBound) * ‖(x : V)‖ ^ 2 + |
| 106 | (2 * Real.pi * ‖P‖ * ‖z‖) * ‖(x : V)‖ + |
| 107 | (Real.pi * ‖(x : V)‖ ^ 2 + 2 * Real.pi * ‖P‖ * ‖(x : V)‖) * |
| 108 | (Z.lowerBound / 2) = _ |
| 109 | change _ = -(Real.pi * (Z.lowerBound / 2)) * ‖(x : V)‖ ^ 2 + |
| 110 | (2 * Real.pi * ‖P‖ * (‖z‖ + Z.lowerBound / 2)) * ‖(x : V)‖ |
| 111 | ring |
| 112 | |
| 113 | end Phase |
| 114 | |
| 115 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 116 | |
| 117 | local instance coordinatePhaseNormedAddCommGroup : |
| 118 | NormedAddCommGroup ((ι → ℝ) →L[ℝ] (ι → ℝ) →L[ℝ] ℂ) := inferInstance |
| 119 | local instance coordinatePhaseNormedSpace : |
| 120 | NormedSpace ℂ ((ι → ℝ) →L[ℝ] (ι → ℝ) →L[ℝ] ℂ) := inferInstance |
| 121 | |
| 122 | def coordinatePhaseMap : Matrix ι ι ℂ →L[ℂ] |
| 123 | ((ι → ℝ) →L[ℝ] (ι → ℝ) →L[ℝ] ℂ) := |
| 124 | (AlgebraicGeometry.ComplexMultiplication.ThetaCovariance.CM.thetaMatrixPhaseMap (ι := ι)).toLinearMap.toContinuousLinearMap |
| 125 | |
| 126 | omit [DecidableEq ι] in |
| 127 | theorem theta_joint_analytic |
| 128 | (L : Submodule ℤ (ι → ℝ)) [DiscreteTopology L] (φ : L →ᵇ ℂ) |
| 129 | (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) (z : ι → ℂ) : |
| 130 | AnalyticAt ℂ (fun w : Matrix ι ι ℂ × (ι → ℂ) => Definitions.theta L φ w.1 w.2) |
| 131 | (Z.matrix, z) := by |
| 132 | let T : (Matrix ι ι ℂ × (ι → ℂ)) →L[ℂ] |
| 133 | (((ι → ℝ) →L[ℝ] (ι → ℝ) →L[ℝ] ℂ) × (ι → ℂ)) := |
| 134 | coordinatePhaseMap.prodMap (ContinuousLinearMap.id ℂ (ι → ℂ)) |
| 135 | have h := phase_theta_analytic L φ (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinatePairing ι) Z.phase z |
| 136 | have hc : AnalyticAt ℂ T (Z.matrix, z) := T.analyticAt _ |
| 137 | have h' : AnalyticAt ℂ |
| 138 | (fun w : PhaseParameter (ι → ℝ) × (ι → ℂ) => |
| 139 | ∑' x : L, φ x * Complex.exp (phaseExponent (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinatePairing ι) x w)) |
| 140 | (T (Z.matrix, z)) := h |
| 141 | have hh := h'.comp (f := T) hc |
| 142 | convert hh using 1 |
| 143 | funext w |
| 144 | simp only [Function.comp_apply, Definitions.theta, phaseExponent_apply, |
| 145 | AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinatePairing_apply] |
| 146 | rfl |
| 147 | |
| 148 | end |
| 149 | |
| 150 | end OAI.RepresentationTheory.Theta.Analytic |