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.TraceForm |
| 2 | import Mathlib.Basic.Complex.BigOperators |
| 3 | |
| 4 | /-! # Polarization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Rational polarizations of the constructed CM Hodge structures |
| 12 | |
| 13 | The trace pairing vanishes on each pure weight-one type. With the |
| 14 | conjugation-in-the-first-slot convention, `i · Q(u, conjugate(u))` |
| 15 | is real and strictly positive on every nonzero holomorphic vector. |
| 16 | Its positivity is an explicit sum of squared embedding coordinates with |
| 17 | the positive imaginary coefficients supplied by weak approximation. |
| 18 | Integrality on a lattice and geometric realization are separate steps. |
| 19 | -/ |
| 20 | |
| 21 | open scoped TensorProduct Classical |
| 22 | |
| 23 | /-- Rational weight-one polarization data on the actual complexification. |
| 24 | The positivity convention is `i · Q(u, conjugate(u)) > 0` for holomorphic `u`. -/ |
| 25 | structure Polarization.WeightOnePolarization {U : Type*} [AddCommGroup U] [Module ℚ U] |
| 26 | (H : WeightOne.CM.WeightOneHodgeStructure U) where |
| 27 | form : LinearMap.BilinForm ℚ U |
| 28 | alternating : form.IsAlt |
| 29 | nondegenerate : form.Nondegenerate |
| 30 | holomorphic_isotropic : ∀ u ∈ H.holomorphic, ∀ v ∈ H.holomorphic, form.baseChange ℂ u v = 0 |
| 31 | hodge_self_real : ∀ u, (Complex.I * form.baseChange ℂ u (WeightOne.CM.coefficientConjugation U u)).im = 0 |
| 32 | hodge_positive : ∀ u ∈ H.holomorphic, u ≠ 0 → |
| 33 | 0 < (Complex.I * form.baseChange ℂ u (WeightOne.CM.coefficientConjugation U u)).re |
| 34 | |
| 35 | variable (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 36 | |
| 37 | /-- Reindexing the trace formula by conjugate embeddings gives its sesquilinear expression. -/ |
| 38 | theorem Polarization.cmTracePairing_conjugate (ξ : E) (u v : WeightOne.CM.Complexification E) : |
| 39 | (TraceForm.cmTracePairing E ξ).baseChange ℂ u (WeightOne.CM.coefficientConjugation E v) = |
| 40 | ∑ σ : E →ₐ[ℚ] ℂ, star (σ ξ) * EmbeddingDecomposition.CM.fieldComplexificationEquiv E u σ * |
| 41 | star (EmbeddingDecomposition.CM.fieldComplexificationEquiv E v σ) := by |
| 42 | rw [TraceForm.cmTracePairing_complex] |
| 43 | simp only [TypeHodgeStructure.fieldComplexificationEquiv_conjugation] |
| 44 | let e : Equiv.Perm (E →ₐ[ℚ] ℂ) := |
| 45 | ⟨EmbeddingHodgeType.CM.conjugateEmbedding, EmbeddingHodgeType.CM.conjugateEmbedding, EmbeddingHodgeType.CM.conjugateEmbedding_involutive, EmbeddingHodgeType.CM.conjugateEmbedding_involutive⟩ |
| 46 | let f (σ : E →ₐ[ℚ] ℂ) := σ ξ * EmbeddingDecomposition.CM.fieldComplexificationEquiv E u (EmbeddingHodgeType.CM.conjugateEmbedding σ) * |
| 47 | star (EmbeddingDecomposition.CM.fieldComplexificationEquiv E v (EmbeddingHodgeType.CM.conjugateEmbedding σ)) |
| 48 | change (∑ σ, f σ) = _ |
| 49 | rw [← Equiv.sum_comp e f] |
| 50 | apply Finset.sum_congr rfl |
| 51 | intro σ _ |
| 52 | simp only [f, e, Equiv.coe_fn_mk, EmbeddingHodgeType.CM.conjugateEmbedding_involutive, EmbeddingHodgeType.CM.conjugateEmbedding_apply] |
| 53 | |
| 54 | /-- The imaginary coefficient is the weight of the squared coordinate in the Hodge metric. -/ |
| 55 | theorem Polarization.complex_trace_positive_weight (z a : ℂ) : |
| 56 | (Complex.I * (star z * a * star a)).re = z.im * Complex.normSq a := by |
| 57 | change (Complex.I * ((starRingEnd ℂ) z * a * (starRingEnd ℂ) a)).re = _ |
| 58 | simp only [Complex.mul_re, Complex.mul_im, Complex.conj_re, Complex.conj_im, |
| 59 | Complex.I_re, Complex.I_im, Complex.normSq_apply] |
| 60 | ring |
| 61 | |
| 62 | theorem Polarization.complex_trace_real_weight (z a : ℂ) : |
| 63 | (star z * a * star a).re = z.re * Complex.normSq a := by |
| 64 | change ((starRingEnd ℂ) z * a * (starRingEnd ℂ) a).re = _ |
| 65 | simp only [Complex.mul_re, Complex.mul_im, Complex.conj_re, Complex.conj_im, Complex.normSq_apply] |
| 66 | ring |
| 67 | |
| 68 | /-- The Hodge metric is the weighted sum of squared embedding coordinates. -/ |
| 69 | theorem Polarization.cmTracePairing_hodge_norm (ξ : E) (u : WeightOne.CM.Complexification E) : |
| 70 | (Complex.I * (TraceForm.cmTracePairing E ξ).baseChange ℂ u (WeightOne.CM.coefficientConjugation E u)).re = |
| 71 | ∑ σ : E →ₐ[ℚ] ℂ, (σ ξ).im * Complex.normSq (EmbeddingDecomposition.CM.fieldComplexificationEquiv E u σ) := by |
| 72 | rw [Polarization.cmTracePairing_conjugate, Finset.mul_sum, Complex.re_sum] |
| 73 | exact Finset.sum_congr rfl (fun σ _ => Polarization.complex_trace_positive_weight _ _) |
| 74 | |
| 75 | variable {E} (ε : TypeHodgeStructure.CMEmbeddingType E) |
| 76 | |
| 77 | /-- The trace pairing vanishes on pairs of vectors of the same pure Hodge type. -/ |
| 78 | theorem TypeHodgeStructure.CMEmbeddingType.tracePairing_type_isotropic (b : Bool) (u v : WeightOne.CM.Complexification E) |
| 79 | (hu : u ∈ ε.subspace b) (hv : v ∈ ε.subspace b) : |
| 80 | ε.tracePairing.baseChange ℂ u v = 0 := by |
| 81 | rw [TypeHodgeStructure.CMEmbeddingType.tracePairing, TraceForm.cmTracePairing_complex] |
| 82 | apply Finset.sum_eq_zero |
| 83 | intro σ _ |
| 84 | by_cases hz : EmbeddingDecomposition.CM.fieldComplexificationEquiv E u (EmbeddingHodgeType.CM.conjugateEmbedding σ) = 0 |
| 85 | · simp only [hz, mul_zero, zero_mul] |
| 86 | · have hs := (ε.mem_subspace_iff b u).mp hu (EmbeddingHodgeType.CM.conjugateEmbedding σ) hz |
| 87 | have ht : EmbeddingDecomposition.CM.fieldComplexificationEquiv E v σ = 0 := by |
| 88 | by_contra hn |
| 89 | have he := (ε.mem_subspace_iff b v).mp hv σ hn |
| 90 | rw [ε.property, he] at hs |
| 91 | cases b <;> simp at hs |
| 92 | simp only [ht, mul_zero] |
| 93 | |
| 94 | /-- Alternation of the rational trace form gives a real self-pairing after multiplication by `i`. -/ |
| 95 | theorem TypeHodgeStructure.CMEmbeddingType.tracePairing_hodge_self_real (u : WeightOne.CM.Complexification E) : |
| 96 | (Complex.I * ε.tracePairing.baseChange ℂ u (WeightOne.CM.coefficientConjugation E u)).im = 0 := by |
| 97 | rw [TypeHodgeStructure.CMEmbeddingType.tracePairing, Polarization.cmTracePairing_conjugate] |
| 98 | simp only [Complex.mul_im, Complex.I_re, Complex.I_im, zero_mul, one_mul, zero_add, |
| 99 | Complex.re_sum] |
| 100 | apply Finset.sum_eq_zero |
| 101 | intro σ _ |
| 102 | rw [Polarization.complex_trace_real_weight, ε.imaginaryElement_re, zero_mul] |
| 103 | |
| 104 | /-- The constructed trace form satisfies strict Hodge positivity. -/ |
| 105 | theorem TypeHodgeStructure.CMEmbeddingType.tracePairing_hodge_positive (u : WeightOne.CM.Complexification E) (hu : u ∈ ε.hodgeStructure.holomorphic) |
| 106 | (hne : u ≠ 0) : |
| 107 | 0 < (Complex.I * ε.tracePairing.baseChange ℂ u (WeightOne.CM.coefficientConjugation E u)).re := by |
| 108 | rw [TypeHodgeStructure.CMEmbeddingType.tracePairing, Polarization.cmTracePairing_hodge_norm] |
| 109 | have hsign : ∀ σ, EmbeddingDecomposition.CM.fieldComplexificationEquiv E u σ ≠ 0 → ε.val σ = true := |
| 110 | (ε.mem_subspace_iff true u).mp hu |
| 111 | have hpos (σ : E →ₐ[ℚ] ℂ) (hσ : EmbeddingDecomposition.CM.fieldComplexificationEquiv E u σ ≠ 0) : |
| 112 | 0 < (σ ε.imaginaryElement).im * Complex.normSq (EmbeddingDecomposition.CM.fieldComplexificationEquiv E u σ) := |
| 113 | mul_pos (ε.imaginaryElement_positive σ (hsign σ hσ)) (Complex.normSq_pos.mpr hσ) |
| 114 | have hn : ∀ σ ∈ (Finset.univ : Finset (E →ₐ[ℚ] ℂ)), |
| 115 | 0 ≤ (σ ε.imaginaryElement).im * Complex.normSq (EmbeddingDecomposition.CM.fieldComplexificationEquiv E u σ) := by |
| 116 | intro σ _ |
| 117 | by_cases hσ : EmbeddingDecomposition.CM.fieldComplexificationEquiv E u σ = 0 |
| 118 | · simp [hσ] |
| 119 | · exact (hpos σ hσ).le |
| 120 | apply (Finset.sum_pos_iff_of_nonneg hn).mpr |
| 121 | have hex : ∃ σ : E →ₐ[ℚ] ℂ, EmbeddingDecomposition.CM.fieldComplexificationEquiv E u σ ≠ 0 := by |
| 122 | by_contra! hz |
| 123 | apply hne |
| 124 | apply (EmbeddingDecomposition.CM.fieldComplexificationEquiv E).injective |
| 125 | apply funext |
| 126 | intro σ |
| 127 | simpa only [map_zero, Pi.zero_apply] using hz σ |
| 128 | obtain ⟨σ, hσ⟩ := hex |
| 129 | exact ⟨σ, Finset.mem_univ σ, hpos σ hσ⟩ |
| 130 | |
| 131 | /-- Every constructed rank-one CM Hodge structure is rationally polarizable. -/ |
| 132 | def TypeHodgeStructure.CMEmbeddingType.polarization : Polarization.WeightOnePolarization ε.hodgeStructure where |
| 133 | form := ε.tracePairing |
| 134 | alternating := ε.tracePairing_isAlt |
| 135 | nondegenerate := ε.tracePairing_nondegenerate |
| 136 | holomorphic_isotropic u hu v hv := ε.tracePairing_type_isotropic true u v hu hv |
| 137 | hodge_self_real := ε.tracePairing_hodge_self_real |
| 138 | hodge_positive := ε.tracePairing_hodge_positive |
| 139 | |
| 140 | end |
| 141 | |
| 142 | end OAI.AlgebraicGeometry.ComplexMultiplication.CM |