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.CM.IntegralPolarization |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace |
| 3 | |
| 4 | /-! # Period Riemann Form -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # An integral positive Riemann form on the CM period lattice |
| 12 | |
| 13 | The weighted sum of the usual oriented area forms on the selected complex |
| 14 | coordinates is real bilinear, alternating, invariant under the complex |
| 15 | structure, and positive on `(z, i z)`. With the weights coming from the |
| 16 | integral imaginary element, it agrees with the negative field-trace pairing |
| 17 | on the embedded field. In particular it is integer-valued on the actual |
| 18 | period lattice. No projectivity criterion is assumed or proved here. |
| 19 | -/ |
| 20 | |
| 21 | open scoped Classical _root_.NumberField |
| 22 | |
| 23 | open _root_.NumberField |
| 24 | |
| 25 | variable (E : Type*) [Field E] [NumberField E] |
| 26 | |
| 27 | /-- Weighted oriented area on the complex coordinates of the period space. -/ |
| 28 | def PeriodRiemannForm.cmPeriodForm (w : InfinitePlace E → ℝ) : LinearMap.BilinForm ℝ (PeriodSpace.CMPeriodSpace E) := |
| 29 | ∑ v, w v • ((Complex.reLm.smulRight Complex.imLm - Complex.imLm.smulRight Complex.reLm).compl₁₂ |
| 30 | (LinearMap.proj v) (LinearMap.proj v)) |
| 31 | |
| 32 | theorem PeriodRiemannForm.cmPeriodForm_apply (w : InfinitePlace E → ℝ) (x y : PeriodSpace.CMPeriodSpace E) : |
| 33 | PeriodRiemannForm.cmPeriodForm E w x y = ∑ v, w v * ((x v).re * (y v).im - (x v).im * (y v).re) := by |
| 34 | simp [PeriodRiemannForm.cmPeriodForm, LinearMap.smulRight_apply] |
| 35 | |
| 36 | theorem PeriodRiemannForm.cmPeriodForm_isAlt (w : InfinitePlace E → ℝ) : (PeriodRiemannForm.cmPeriodForm E w).IsAlt := by |
| 37 | intro x |
| 38 | simp [PeriodRiemannForm.cmPeriodForm_apply, mul_comm] |
| 39 | |
| 40 | theorem PeriodRiemannForm.cmPeriodForm_complex_invariant (w : InfinitePlace E → ℝ) (x y : PeriodSpace.CMPeriodSpace E) : |
| 41 | PeriodRiemannForm.cmPeriodForm E w (Complex.I • x) (Complex.I • y) = PeriodRiemannForm.cmPeriodForm E w x y := by |
| 42 | rw [PeriodRiemannForm.cmPeriodForm_apply, PeriodRiemannForm.cmPeriodForm_apply] |
| 43 | apply Finset.sum_congr rfl |
| 44 | intro v _ |
| 45 | simp only [Pi.smul_apply, smul_eq_mul, Complex.mul_re, Complex.mul_im, |
| 46 | Complex.I_re, Complex.I_im] |
| 47 | ring |
| 48 | |
| 49 | theorem PeriodRiemannForm.cmPeriodForm_complex_self (w : InfinitePlace E → ℝ) (x : PeriodSpace.CMPeriodSpace E) : |
| 50 | PeriodRiemannForm.cmPeriodForm E w x (Complex.I • x) = ∑ v, w v * Complex.normSq (x v) := by |
| 51 | rw [PeriodRiemannForm.cmPeriodForm_apply] |
| 52 | apply Finset.sum_congr rfl |
| 53 | intro v _ |
| 54 | simp only [Pi.smul_apply, smul_eq_mul, Complex.mul_re, Complex.mul_im, |
| 55 | Complex.I_re, Complex.I_im, Complex.normSq_apply] |
| 56 | ring |
| 57 | |
| 58 | theorem PeriodRiemannForm.cmPeriodForm_positive (w : InfinitePlace E → ℝ) (hw : ∀ v, 0 < w v) |
| 59 | (x : PeriodSpace.CMPeriodSpace E) (hx : x ≠ 0) : 0 < PeriodRiemannForm.cmPeriodForm E w x (Complex.I • x) := by |
| 60 | rw [PeriodRiemannForm.cmPeriodForm_complex_self] |
| 61 | have hn : ∀ v ∈ (Finset.univ : Finset (InfinitePlace E)), |
| 62 | 0 ≤ w v * Complex.normSq (x v) := |
| 63 | fun v _ => mul_nonneg (hw v).le (Complex.normSq_nonneg _) |
| 64 | apply (Finset.sum_pos_iff_of_nonneg hn).mpr |
| 65 | have he : ∃ v, x v ≠ 0 := by |
| 66 | by_contra! he |
| 67 | exact hx (funext he) |
| 68 | obtain ⟨v, hv⟩ := he |
| 69 | exact ⟨v, Finset.mem_univ v, mul_pos (hw v) (Complex.normSq_pos.mpr hv)⟩ |
| 70 | |
| 71 | variable [Algebra ℚ E] [IsCMField E] |
| 72 | |
| 73 | variable {E} (ε : TypeHodgeStructure.CMEmbeddingType E) |
| 74 | |
| 75 | /-- Pairing conjugate embeddings identifies the area form with the negative field trace. -/ |
| 76 | theorem TypeHodgeStructure.CMEmbeddingType.cmPeriodForm_trace (ξ : E) (hξ : ∀ σ : E →ₐ[ℚ] ℂ, (σ ξ).re = 0) (x y : E) : |
| 77 | PeriodRiemannForm.cmPeriodForm E (fun v => 2 * (ε.placeEmbedding v ξ).im) |
| 78 | (ε.periodEmbedding x) (ε.periodEmbedding y) = -(TraceForm.cmTracePairing E ξ x y : ℝ) := by |
| 79 | have ht := trace_eq_sum_embeddings ℂ (K := ℚ) (L := E) |
| 80 | (x := ξ * TraceForm.cmFieldConjugation E x * y) |
| 81 | rw [ε.sum_embeddings_eq_sum_places] at ht |
| 82 | have hr := congrArg Complex.re ht |
| 83 | simp only [Complex.re_sum, Complex.add_re, EmbeddingHodgeType.CM.conjugateEmbedding_apply] at hr |
| 84 | change (TraceForm.cmTracePairing E ξ x y : ℝ) = _ at hr |
| 85 | rw [PeriodRiemannForm.cmPeriodForm_apply, hr, ← Finset.sum_neg_distrib] |
| 86 | apply Finset.sum_congr rfl |
| 87 | intro v _ |
| 88 | simp only [TypeHodgeStructure.CMEmbeddingType.periodEmbedding_apply, map_mul, TraceForm.cmFieldConjugation_embedding] |
| 89 | change 2 * (ε.placeEmbedding v ξ).im * |
| 90 | ((ε.placeEmbedding v x).re * (ε.placeEmbedding v y).im - |
| 91 | (ε.placeEmbedding v x).im * (ε.placeEmbedding v y).re) = |
| 92 | -((ε.placeEmbedding v ξ * (starRingEnd ℂ) (ε.placeEmbedding v x) * ε.placeEmbedding v y).re + |
| 93 | ((starRingEnd ℂ) |
| 94 | (ε.placeEmbedding v ξ * (starRingEnd ℂ) (ε.placeEmbedding v x) * ε.placeEmbedding v y)).re) |
| 95 | simp only [Complex.conj_re, Complex.mul_re, Complex.mul_im, Complex.conj_im, hξ] |
| 96 | ring |
| 97 | |
| 98 | /-- The area form with integral imaginary coefficients supplied by weak approximation. -/ |
| 99 | def TypeHodgeStructure.CMEmbeddingType.periodRiemannForm : LinearMap.BilinForm ℝ (PeriodSpace.CMPeriodSpace E) := |
| 100 | PeriodRiemannForm.cmPeriodForm E (fun v => |
| 101 | 2 * (ε.placeEmbedding v (ε.polarizationMultiplier • ε.imaginaryElement)).im) |
| 102 | |
| 103 | theorem TypeHodgeStructure.CMEmbeddingType.periodRiemannForm_isAlt : ε.periodRiemannForm.IsAlt := PeriodRiemannForm.cmPeriodForm_isAlt E _ |
| 104 | |
| 105 | theorem TypeHodgeStructure.CMEmbeddingType.periodRiemannForm_complex_invariant (x y : PeriodSpace.CMPeriodSpace E) : |
| 106 | ε.periodRiemannForm (Complex.I • x) (Complex.I • y) = ε.periodRiemannForm x y := |
| 107 | PeriodRiemannForm.cmPeriodForm_complex_invariant E _ x y |
| 108 | |
| 109 | theorem TypeHodgeStructure.CMEmbeddingType.periodRiemannForm_positive (x : PeriodSpace.CMPeriodSpace E) (hx : x ≠ 0) : |
| 110 | 0 < ε.periodRiemannForm x (Complex.I • x) := by |
| 111 | apply PeriodRiemannForm.cmPeriodForm_positive E _ _ x hx |
| 112 | intro v |
| 113 | apply mul_pos (by norm_num : (0 : ℝ) < 2) |
| 114 | rw [map_nsmul, Complex.im_nsmul, nsmul_eq_mul] |
| 115 | exact mul_pos (by exact_mod_cast ε.polarizationMultiplier_pos) |
| 116 | (ε.imaginaryElement_positive _ (ε.placeEmbedding_positive v)) |
| 117 | |
| 118 | /-- Positivity forces the alternating form to have zero left and right kernels. -/ |
| 119 | theorem TypeHodgeStructure.CMEmbeddingType.periodRiemannForm_nondegenerate : ε.periodRiemannForm.Nondegenerate := by |
| 120 | constructor |
| 121 | · intro x hx |
| 122 | by_contra hne |
| 123 | exact (ε.periodRiemannForm_positive x hne).ne' (hx (Complex.I • x)) |
| 124 | · intro y hy |
| 125 | by_contra hne |
| 126 | have hz : ε.periodRiemannForm y (Complex.I • y) = 0 := by |
| 127 | have he := ε.periodRiemannForm_isAlt.neg_eq y (Complex.I • y) |
| 128 | rw [hy] at he |
| 129 | exact neg_eq_zero.mp he |
| 130 | exact (ε.periodRiemannForm_positive y hne).ne' hz |
| 131 | |
| 132 | theorem TypeHodgeStructure.CMEmbeddingType.periodRiemannForm_trace (x y : E) : |
| 133 | ε.periodRiemannForm (ε.periodEmbedding x) (ε.periodEmbedding y) = |
| 134 | -(ε.integralPolarization.form x y : ℝ) := by |
| 135 | rw [ε.integralPolarization_form] |
| 136 | apply ε.cmPeriodForm_trace |
| 137 | intro σ |
| 138 | rw [map_nsmul, Complex.re_nsmul, ε.imaginaryElement_re, smul_zero] |
| 139 | |
| 140 | /-- Integrality holds on the constructed discrete lattice, not just an abstract rational model. -/ |
| 141 | theorem TypeHodgeStructure.CMEmbeddingType.periodRiemannForm_isInteger (x y : PeriodSpace.CMPeriodSpace E) |
| 142 | (hx : x ∈ ε.periodIntegerLattice) (hy : y ∈ ε.periodIntegerLattice) : |
| 143 | ∃ n : ℤ, (n : ℝ) = ε.periodRiemannForm x y := by |
| 144 | obtain ⟨a, rfl⟩ := (ε.mem_periodIntegerLattice x).mp hx |
| 145 | obtain ⟨b, rfl⟩ := (ε.mem_periodIntegerLattice y).mp hy |
| 146 | obtain ⟨n, hn⟩ := ε.integralPolarization_isInteger a b |
| 147 | refine ⟨-n, ?_⟩ |
| 148 | rw [ε.periodRiemannForm_trace, ← hn] |
| 149 | push_cast |
| 150 | rfl |
| 151 | |
| 152 | end |
| 153 | |
| 154 | end OAI.AlgebraicGeometry.ComplexMultiplication.CM |