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.Hecke.RadialDilation.SplitTrace |
| 2 | import OAI.RepresentationTheory.Hecke.RadialDilation.PairedSymplectic |
| 3 | |
| 4 | /-! # Split Paired Trace -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.SplitPairedTrace.Realization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Pairing the local embedding blocks by CM conjugation. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix |
| 15 | |
| 16 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 17 | (K : Type*) [Field K] [Algebra ℚ K] |
| 18 | |
| 19 | theorem conjugateSplitEmbedding_involutive (σ : E →ₐ[ℚ] K) : |
| 20 | SplitTrace.Realization.conjugateSplitEmbedding E K (SplitTrace.Realization.conjugateSplitEmbedding E K σ) = σ := by |
| 21 | ext x |
| 22 | change σ (AlgebraicGeometry.ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (AlgebraicGeometry.ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E x)) = σ x |
| 23 | rw [AlgebraicGeometry.ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_apply_apply] |
| 24 | |
| 25 | def splitPairingEmbeddings {Place : Type*} (σ : Place → E →ₐ[ℚ] K) : |
| 26 | Place × Bool → (E →ₐ[ℚ] K) := |
| 27 | fun p => if p.2 then SplitTrace.Realization.conjugateSplitEmbedding E K (σ p.1) else σ p.1 |
| 28 | |
| 29 | def splitPairedFunctionEquiv {Place : Type*} (σ : Place → E →ₐ[ℚ] K) |
| 30 | (hσ : Function.Bijective (splitPairingEmbeddings E K σ)) : |
| 31 | ((E →ₐ[ℚ] K) → Fin 3 → K) ≃ₗ[K] PairedSymplectic.Realization.SplitPairedSpace (K := K) (Place := Place) := by |
| 32 | let e := Equiv.ofBijective (splitPairingEmbeddings E K σ) hσ |
| 33 | refine |
| 34 | { toFun := fun f τ => (f (σ τ), f (SplitTrace.Realization.conjugateSplitEmbedding E K (σ τ))) |
| 35 | invFun := fun u ρ => if (e.symm ρ).2 then (u (e.symm ρ).1).2 else (u (e.symm ρ).1).1 |
| 36 | left_inv := ?_ |
| 37 | right_inv := ?_ |
| 38 | map_add' := fun _ _ => rfl |
| 39 | map_smul' := fun _ _ => rfl } |
| 40 | · intro f |
| 41 | funext ρ |
| 42 | obtain ⟨⟨τ, b⟩, rfl⟩ := e.surjective ρ |
| 43 | dsimp only |
| 44 | rw [e.symm_apply_apply] |
| 45 | cases b <;> rfl |
| 46 | · intro u |
| 47 | funext τ |
| 48 | have hp : e.symm (σ τ) = (τ, false) := e.symm_apply_apply (τ, false) |
| 49 | have hn : e.symm (SplitTrace.Realization.conjugateSplitEmbedding E K (σ τ)) = (τ, true) := e.symm_apply_apply (τ, true) |
| 50 | simp only [hp, hn, Bool.false_eq_true, ↓reduceIte] |
| 51 | |
| 52 | theorem split_normOne_conjugate_inverse (r : Eˣ) |
| 53 | (hr : (r : E) * AlgebraicGeometry.ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (r : E) = 1) (σ : E →ₐ[ℚ] K) : |
| 54 | SplitTrace.Realization.conjugateSplitEmbedding E K σ (r : E) = (σ (r : E))⁻¹ := by |
| 55 | have h := congrArg σ hr |
| 56 | rw [map_mul, map_one] at h |
| 57 | exact eq_inv_of_mul_eq_one_right h |
| 58 | |
| 59 | theorem splitPairedFunctionEquiv_scalar {Place : Type*} (σ : Place → E →ₐ[ℚ] K) |
| 60 | (hσ : Function.Bijective (splitPairingEmbeddings E K σ)) (r : Eˣ) |
| 61 | (hr : (r : E) * AlgebraicGeometry.ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (r : E) = 1) |
| 62 | (u : (E →ₐ[ℚ] K) → Fin 3 → K) : |
| 63 | splitPairedFunctionEquiv E K σ hσ (SplitScalarCoordinates.Realization.splitScalarEnd E K (r : E) u) = |
| 64 | fun τ => (σ τ (r : E) • (splitPairedFunctionEquiv E K σ hσ u τ).1, |
| 65 | (σ τ (r : E))⁻¹ • (splitPairedFunctionEquiv E K σ hσ u τ).2) := by |
| 66 | funext τ |
| 67 | apply Prod.ext |
| 68 | · rfl |
| 69 | · change SplitTrace.Realization.conjugateSplitEmbedding E K (σ τ) (r : E) • u (SplitTrace.Realization.conjugateSplitEmbedding E K (σ τ)) = _ |
| 70 | rw [split_normOne_conjugate_inverse E K r hr] |
| 71 | rfl |
| 72 | |
| 73 | def splitCrossMatrix {Place : Type*} (σ : Place → E →ₐ[ℚ] K) |
| 74 | (θ : E) (H : Matrix (Fin 3) (Fin 3) E) (τ : Place) : Matrix (Fin 3) (Fin 3) K := |
| 75 | σ τ θ • H.map (σ τ) |
| 76 | |
| 77 | omit [NumberField E] [NumberField.IsCMField E] in |
| 78 | theorem splitCrossMatrix_det_ne_zero {Place : Type*} (σ : Place → E →ₐ[ℚ] K) |
| 79 | (θ : E) (hθ : θ ≠ 0) (H : Matrix (Fin 3) (Fin 3) E) (hH : H.det ≠ 0) (τ : Place) : |
| 80 | (splitCrossMatrix E K σ θ H τ).det ≠ 0 := by |
| 81 | rw [splitCrossMatrix, Matrix.det_smul] |
| 82 | have hdet : (H.map (σ τ)).det = σ τ H.det := ((σ τ).toRingHom.map_det H).symm |
| 83 | rw [hdet] |
| 84 | exact mul_ne_zero (pow_ne_zero _ ((map_ne_zero (σ τ)).mpr hθ)) |
| 85 | ((map_ne_zero (σ τ)).mpr hH) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | /-! The local trace form is the alternating sum of its CM-paired cross-pairings. -/ |
| 90 | |
| 91 | open scoped Classical _root_.Matrix |
| 92 | open _root_.Matrix |
| 93 | |
| 94 | theorem matrix_cross_transpose {K : Type*} [CommRing K] |
| 95 | (A : Matrix (Fin 3) (Fin 3) K) (u v : Fin 3 → K) : |
| 96 | (∑ j, ∑ k, u j * A k j * v k) = ∑ j, ∑ k, v j * A j k * u k := by |
| 97 | rw [Finset.sum_comm] |
| 98 | apply Finset.sum_congr rfl |
| 99 | intro j _ |
| 100 | apply Finset.sum_congr rfl |
| 101 | intro k _ |
| 102 | ring |
| 103 | |
| 104 | theorem matrix_cross_smul {K : Type*} [Field K] |
| 105 | (a : K) (A : Matrix (Fin 3) (Fin 3) K) (u v : Fin 3 → K) : |
| 106 | u ⬝ᵥ ((a • A) *ᵥ v) = a * (∑ j, ∑ k, u j * A j k * v k) := by |
| 107 | simp only [dotProduct, Matrix.mulVec, Matrix.smul_apply, smul_eq_mul, Finset.mul_sum] |
| 108 | apply Finset.sum_congr rfl |
| 109 | intro j _ |
| 110 | apply Finset.sum_congr rfl |
| 111 | intro k _ |
| 112 | ring |
| 113 | |
| 114 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 115 | (K : Type*) [Field K] [Algebra ℚ K] |
| 116 | |
| 117 | theorem conjugateSplitEmbedding_apply (σ : E →ₐ[ℚ] K) (x : E) : |
| 118 | SplitTrace.Realization.conjugateSplitEmbedding E K σ x = σ (NumberField.IsCMField.complexConj E x) := rfl |
| 119 | |
| 120 | theorem splitTrace_paired_term (σ : E →ₐ[ℚ] K) |
| 121 | (θ : E) (hθ : NumberField.IsCMField.complexConj E θ = -θ) |
| 122 | (H : Matrix (Fin 3) (Fin 3) E) |
| 123 | (hH : ∀ j k, H j k = NumberField.IsCMField.complexConj E (H k j)) |
| 124 | (u v : (E →ₐ[ℚ] K) → Fin 3 → K) : |
| 125 | (SplitTrace.Realization.conjugateSplitEmbedding E K σ θ * |
| 126 | (∑ j, ∑ k, u (SplitTrace.Realization.conjugateSplitEmbedding E K σ) j * |
| 127 | SplitTrace.Realization.conjugateSplitEmbedding E K σ (H j k) * |
| 128 | v (SplitTrace.Realization.conjugateSplitEmbedding E K (SplitTrace.Realization.conjugateSplitEmbedding E K σ)) k)) + |
| 129 | σ θ * (∑ j, ∑ k, u σ j * σ (H j k) * v (SplitTrace.Realization.conjugateSplitEmbedding E K σ) k) = |
| 130 | u σ ⬝ᵥ ((σ θ • H.map σ) *ᵥ v (SplitTrace.Realization.conjugateSplitEmbedding E K σ)) - |
| 131 | v σ ⬝ᵥ ((σ θ • H.map σ) *ᵥ u (SplitTrace.Realization.conjugateSplitEmbedding E K σ)) := by |
| 132 | rw [conjugateSplitEmbedding_involutive, conjugateSplitEmbedding_apply, hθ, map_neg] |
| 133 | have hentry (j k : Fin 3) : SplitTrace.Realization.conjugateSplitEmbedding E K σ (H j k) = σ (H k j) := by |
| 134 | rw [conjugateSplitEmbedding_apply, ← hH k j] |
| 135 | simp_rw [hentry] |
| 136 | rw [matrix_cross_smul, matrix_cross_smul] |
| 137 | simp only [Matrix.map_apply] |
| 138 | have hswap := matrix_cross_transpose (H.map σ) (u (SplitTrace.Realization.conjugateSplitEmbedding E K σ)) (v σ) |
| 139 | simp only [Matrix.map_apply] at hswap |
| 140 | rw [hswap] |
| 141 | ring |
| 142 | |
| 143 | theorem splitTraceBilinear_paired {Place : Type*} [Fintype Place] |
| 144 | (σ : Place → E →ₐ[ℚ] K) (hσ : Function.Bijective (splitPairingEmbeddings E K σ)) |
| 145 | (θ : E) (hθ : NumberField.IsCMField.complexConj E θ = -θ) |
| 146 | (H : Matrix (Fin 3) (Fin 3) E) |
| 147 | (hH : ∀ j k, H j k = NumberField.IsCMField.complexConj E (H k j)) |
| 148 | (u v : (E →ₐ[ℚ] K) → Fin 3 → K) : |
| 149 | SplitTrace.Realization.splitTraceBilinear E K θ H u v = |
| 150 | PairedSymplectic.Realization.pairedTraceValue (splitCrossMatrix E K σ θ H) |
| 151 | (splitPairedFunctionEquiv E K σ hσ u) (splitPairedFunctionEquiv E K σ hσ v) := by |
| 152 | let e := Equiv.ofBijective (splitPairingEmbeddings E K σ) hσ |
| 153 | rw [SplitTrace.Realization.splitTraceBilinear_apply, ← Equiv.sum_comp e] |
| 154 | rw [Fintype.sum_prod_type] |
| 155 | apply Finset.sum_congr rfl |
| 156 | intro τ _ |
| 157 | rw [Fintype.sum_bool] |
| 158 | exact splitTrace_paired_term E K (σ τ) θ hθ H hH u v |
| 159 | |
| 160 | end |
| 161 | |
| 162 | end OAI.RepresentationTheory.Hecke.RadialDilation.SplitPairedTrace.Realization |