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.HodgeConjecture.CMExtraction.Multiplicity.Odd |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum |
| 3 | import OAI.RepresentationTheory.Hecke.RadialDilation.SymplecticBasis |
| 4 | |
| 5 | /-! # Multiplicity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.Multiplicity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Insert the signed multiplicity line into the actual reference PEL |
| 12 | Hermitian form. Its trace coefficient and rational symplectic coordinates |
| 13 | are constructed from the native imaginary scalar and diagonal matrix. -/ |
| 14 | |
| 15 | open OAI.RepresentationTheory.Hecke.RadialDilation.SymplecticBasis.Realization |
| 16 | open scoped Classical _root_.Matrix |
| 17 | |
| 18 | section |
| 19 | |
| 20 | /-- Match the place-index equality used in RadialDilation's exported Weil interface. -/ |
| 21 | abbrev nativePlaceDecidableEq (n : ℕ) : DecidableEq (Fin n) := Classical.decEq _ |
| 22 | abbrev nativeTripleDecidableEq : DecidableEq (Fin 3) := inferInstance |
| 23 | |
| 24 | end |
| 25 | |
| 26 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 27 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 28 | |
| 29 | /-- The native period convention uses a negative imaginary coefficient at |
| 30 | the active negative line. The minus sign fixes that orientation. -/ |
| 31 | def nativeCoefficient (v : Multiplicity.Odd.Sign E) : E := -Multiplicity.Odd.imaginaryCoefficient E v / P.imaginaryScalar |
| 32 | |
| 33 | theorem nativeCoefficient_real (hP : P.IsAdmissible) (v : Multiplicity.Odd.Sign E) : |
| 34 | ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (nativeCoefficient E P v) = nativeCoefficient E P v := by |
| 35 | obtain ⟨_, _, _, _, _, _, _, hδ, _⟩ := hP |
| 36 | change ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (-Multiplicity.Odd.imaginaryCoefficient E v / P.imaginaryScalar) = _ |
| 37 | rw [map_div₀, map_neg, Multiplicity.Odd.imaginaryCoefficient_conjugate] |
| 38 | change - -Multiplicity.Odd.imaginaryCoefficient E v / NumberField.IsCMField.complexConj E P.imaginaryScalar = _ |
| 39 | rw [hδ, neg_div, div_neg, neg_neg] |
| 40 | rfl |
| 41 | |
| 42 | theorem nativeCoefficient_ne_zero (hP : P.IsAdmissible) (v : Multiplicity.Odd.Sign E) : |
| 43 | nativeCoefficient E P v ≠ 0 := by |
| 44 | obtain ⟨_, _, _, _, _, _, hδ, _⟩ := hP |
| 45 | exact div_ne_zero (neg_ne_zero.mpr (Multiplicity.Odd.imaginaryCoefficient_ne_zero E v)) hδ |
| 46 | |
| 47 | theorem native_orientedCoefficient (hP : P.IsAdmissible) (v : Multiplicity.Odd.Sign E) : |
| 48 | P.imaginaryScalar * nativeCoefficient E P v = -Multiplicity.Odd.imaginaryCoefficient E v := by |
| 49 | obtain ⟨_, _, _, _, _, _, hδ, _⟩ := hP |
| 50 | exact mul_div_cancel₀ _ hδ |
| 51 | |
| 52 | def nativePairing (v : Multiplicity.Odd.Sign E) (x y : E) : E := |
| 53 | nativeCoefficient E P v * x * ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E y |
| 54 | |
| 55 | theorem nativePairing_hermitian (hP : P.IsAdmissible) (v : Multiplicity.Odd.Sign E) (x y : E) : |
| 56 | ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (nativePairing E P v x y) = nativePairing E P v y x := by |
| 57 | simp only [nativePairing, map_mul, nativeCoefficient_real E P hP, |
| 58 | ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_apply_apply] |
| 59 | ring |
| 60 | |
| 61 | theorem nativePairing_nondegenerate (hP : P.IsAdmissible) (v : Multiplicity.Odd.Sign E) (x : E) |
| 62 | (hx : ∀ y, nativePairing E P v x y = 0) : x = 0 := by |
| 63 | have h := hx 1 |
| 64 | simp only [nativePairing, map_one, mul_one] at h |
| 65 | exact (mul_eq_zero.mp h).resolve_left (nativeCoefficient_ne_zero E P hP v) |
| 66 | |
| 67 | def nativeTensorPairing (v : Multiplicity.Odd.Sign E) (x y : Fin 3 → E) : E := |
| 68 | nativeCoefficient E P v * NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian P.b x y |
| 69 | |
| 70 | def nativeMatrix : Matrix (Fin 3) (Fin 3) E := Matrix.diagonal ![1, 1, P.b] |
| 71 | |
| 72 | theorem nativeMatrix_hermitian (hP : P.IsAdmissible) : |
| 73 | ∀ i j, nativeMatrix E P i j = NumberField.IsCMField.complexConj E (nativeMatrix E P j i) := by |
| 74 | obtain ⟨_, hb, _⟩ := hP |
| 75 | intro i j |
| 76 | fin_cases i <;> fin_cases j <;> simp [nativeMatrix, Matrix.diagonal, hb] |
| 77 | |
| 78 | omit [IsGalois ℚ E] in |
| 79 | theorem nativeMatrix_det_ne_zero (hP : P.IsAdmissible) : (nativeMatrix E P).det ≠ 0 := by |
| 80 | obtain ⟨_, _, hb, _⟩ := hP |
| 81 | simpa [nativeMatrix, Matrix.det_diagonal, Fin.prod_univ_succ] using hb |
| 82 | |
| 83 | theorem native_tensor_trace (v : Multiplicity.Odd.Sign E) (x y : Fin 3 → E) : |
| 84 | RepresentationTheory.Hecke.RadialDilation.SymplecticBasis.Realization.rationalTraceForm E (P.imaginaryScalar * nativeCoefficient E P v) (nativeMatrix E P) x y = |
| 85 | Algebra.trace ℚ E (P.imaginaryScalar * nativeTensorPairing E P v x y) := by |
| 86 | rw [RepresentationTheory.Hecke.RadialDilation.SymplecticBasis.Realization.rationalTraceForm_apply] |
| 87 | congr 1 |
| 88 | simp [nativeMatrix, nativeTensorPairing, NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian, |
| 89 | Fin.sum_univ_succ, Matrix.diagonal] |
| 90 | ring |
| 91 | |
| 92 | theorem native_symplectic_coordinates (hP : P.IsAdmissible) (v : Multiplicity.Odd.Sign E) : |
| 93 | ∃ e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ), |
| 94 | ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 95 | Algebra.trace ℚ E (P.imaginaryScalar * nativeTensorPairing E P v x y) := by |
| 96 | have hP' := hP |
| 97 | obtain ⟨_, _, _, _, _, _, hδ0, hδ, _⟩ := hP' |
| 98 | obtain ⟨e, he⟩ := RepresentationTheory.Hecke.RadialDilation.SymplecticBasis.Realization.exists_rational_symplectic_coordinates E P.embeddings hP.1 |
| 99 | P.imaginaryScalar (nativeCoefficient E P v) hδ (nativeCoefficient_real E P hP v) |
| 100 | (mul_ne_zero hδ0 (nativeCoefficient_ne_zero E P hP v)) |
| 101 | (nativeMatrix E P) (nativeMatrix_hermitian E P hP) (nativeMatrix_det_ne_zero E P hP) |
| 102 | refine ⟨e, fun x y => (he x y).trans (native_tensor_trace E P v x y)⟩ |
| 103 | |
| 104 | theorem native_multiplicity_sign (hP : P.IsAdmissible) (v : Multiplicity.Odd.Sign E) (τ : Gal(E/ℚ)) : |
| 105 | (if ((τ (P.imaginaryScalar * nativeCoefficient E P v) : E) : ℂ).im < 0 then (1 : ℤ) else -1) = |
| 106 | ComplexMultiplication.SignSwitch.CM.signValue (v.val τ⁻¹) := by |
| 107 | rw [native_orientedCoefficient E P hP v] |
| 108 | simp only [map_neg, IntermediateField.coe_neg, Complex.neg_im, neg_lt_zero] |
| 109 | cases h : v.val τ⁻¹ |
| 110 | · rw [ite_eq_right (not_lt_of_ge (Multiplicity.Odd.imaginaryCoefficient_negative E v τ h).le)] |
| 111 | rfl |
| 112 | · rw [ite_eq_left (Multiplicity.Odd.imaginaryCoefficient_positive E v τ h)] |
| 113 | rfl |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.Multiplicity |