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.HeckeCycles.Source.ArchimedeanCoordinates |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticForms |
| 3 | |
| 4 | /-! # Archimedean Forms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanForms.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual source forms in their complex completion coordinates, |
| 11 | with nonzero real coefficients for orthonormalization. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanCoordinates.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanPlaces.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticForms.CM |
| 18 | |
| 19 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 20 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (C : GeometricSource.CM.SymplecticCoordinates E B places) |
| 21 | |
| 22 | theorem localized_matrix {n : ℕ} (M : Matrix (Fin n) (Fin n) (QuadraticForms.CM.Coefficients E C)) |
| 23 | (v : Fin places.count) : |
| 24 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.localizedForm (QuadraticConjugation.CM.Field.RealField E) M (.inl (ArchimedeanPlaces.CM.enumeration E places v))).map (ArchimedeanCoordinates.CM.complexCoordinate E C v) = |
| 25 | fun i j => ReferenceDatum.CM.embeddings E places v (QuadraticConjugation.CM.Field.fieldEquiv E C (M i j)) := by |
| 26 | ext i j |
| 27 | exact ArchimedeanCoordinates.CM.rational_compatibility E C v (M i j) |
| 28 | |
| 29 | theorem real_element (x : E) (hx : ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E x = x) (v : Fin places.count) : |
| 30 | (ReferenceDatum.CM.embeddings E places v x).im = 0 := by |
| 31 | have h := ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.embedding_conjugation E (ReferenceDatum.CM.embeddings E places v).toRingHom x |
| 32 | rw [hx] at h |
| 33 | have hi := congrArg Complex.im h |
| 34 | change (ReferenceDatum.CM.embeddings E places v x).im = -(ReferenceDatum.CM.embeddings E places v x).im at hi |
| 35 | linarith |
| 36 | |
| 37 | theorem imaginary_element (x : E) (hx : ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E x = -x) (v : Fin places.count) : |
| 38 | (ReferenceDatum.CM.embeddings E places v x).re = 0 := by |
| 39 | have h := ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.embedding_conjugation E (ReferenceDatum.CM.embeddings E places v).toRingHom x |
| 40 | rw [hx, map_neg] at h |
| 41 | have hi := congrArg Complex.re h |
| 42 | change -(ReferenceDatum.CM.embeddings E places v x).re = (ReferenceDatum.CM.embeddings E places v x).re at hi |
| 43 | linarith |
| 44 | |
| 45 | def hermitianReal (v : Fin places.count) (i : Fin 3) : ℝ := |
| 46 | (ReferenceDatum.CM.embeddings E places v (QuadraticForms.CM.coefficient E (B := B) i)).re |
| 47 | |
| 48 | def skewReal (v : Fin places.count) : ℝ := (ReferenceDatum.CM.embeddings E places v (QuadraticForms.CM.skewCoefficient E C)).im |
| 49 | |
| 50 | theorem hermitian_ne_zero (v : Fin places.count) (i : Fin 3) : |
| 51 | hermitianReal E (B := B) v i ≠ 0 := by |
| 52 | intro h |
| 53 | apply QuadraticForms.CM.coefficient_ne_zero E i |
| 54 | apply (ReferenceDatum.CM.embeddings E places v).injective |
| 55 | rw [map_zero] |
| 56 | exact Complex.ext h (real_element E _ (QuadraticForms.CM.coefficient_real E i) v) |
| 57 | |
| 58 | theorem skew_ne_zero (v : Fin places.count) : skewReal E C v ≠ 0 := by |
| 59 | intro h |
| 60 | apply QuadraticForms.CM.skewCoefficient_ne_zero E C |
| 61 | apply (ReferenceDatum.CM.embeddings E places v).injective |
| 62 | rw [map_zero] |
| 63 | exact Complex.ext (imaginary_element E _ (QuadraticForms.CM.skewCoefficient_imaginary E C) v) h |
| 64 | |
| 65 | theorem hermitian_matrix (v : Fin places.count) : |
| 66 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.localizedForm (QuadraticConjugation.CM.Field.RealField E) (QuadraticForms.CM.hermitianForm E C).val (.inl (ArchimedeanPlaces.CM.enumeration E places v))).map |
| 67 | (ArchimedeanCoordinates.CM.complexCoordinate E C v) = Matrix.diagonal (fun i => (hermitianReal E (B := B) v i : ℂ)) := by |
| 68 | rw [localized_matrix, QuadraticForms.CM.hermitianForm_val] |
| 69 | ext i j |
| 70 | by_cases hij : i = j |
| 71 | · subst j |
| 72 | simp only [Matrix.diagonal_apply_eq, AlgEquiv.apply_symm_apply] |
| 73 | apply Complex.ext |
| 74 | · rfl |
| 75 | · exact real_element E _ (QuadraticForms.CM.coefficient_real E i) v |
| 76 | · simp [hij] |
| 77 | |
| 78 | theorem skew_matrix (v : Fin places.count) : |
| 79 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.localizedForm (QuadraticConjugation.CM.Field.RealField E) (QuadraticForms.CM.skewForm E C).val (.inl (ArchimedeanPlaces.CM.enumeration E places v))).map |
| 80 | (ArchimedeanCoordinates.CM.complexCoordinate E C v) = Matrix.diagonal (fun _ : Fin 1 => (skewReal E C v : ℂ) * Complex.I) := by |
| 81 | rw [localized_matrix, QuadraticForms.CM.skewForm_val] |
| 82 | ext i j |
| 83 | by_cases hij : i = j |
| 84 | · subst j |
| 85 | simp only [Matrix.diagonal_apply_eq, AlgEquiv.apply_symm_apply] |
| 86 | apply Complex.ext |
| 87 | · simpa using imaginary_element E _ (QuadraticForms.CM.skewCoefficient_imaginary E C) v |
| 88 | · simp [skewReal] |
| 89 | · simp [hij] |
| 90 | |
| 91 | theorem skew_trace_coefficient (v : Fin places.count) : |
| 92 | skewReal E C v = -2 * (ReferenceDatum.CM.embeddings E places v (C.delta * C.a)).im := by |
| 93 | simp [skewReal, QuadraticForms.CM.skewCoefficient, map_ofNat, Complex.mul_im, Complex.mul_re] |
| 94 | ring |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanForms.CM |