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.QuadraticForms |
| 2 | |
| 3 | /-! # Tensor Pairing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.TensorPairing.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The AdelicSplitting trace tensor pairing is exactly the alternating form supplied |
| 10 | by the original ball-theta source, after rational trace to Q. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix Kronecker |
| 13 | open _root_.Matrix OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticForms.CM |
| 16 | |
| 17 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 18 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (C : GeometricSource.CM.SymplecticCoordinates E B places) |
| 19 | |
| 20 | def tensorVector (x : GeometricSource.CM.Vec E) : RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (QuadraticConjugation.CM.Field.discriminant E C) 3 1 := |
| 21 | fun ij => (QuadraticConjugation.CM.Field.fieldEquiv E C).symm (x ij.1) |
| 22 | |
| 23 | theorem tensor_form (x y : GeometricSource.CM.Vec E) : |
| 24 | QuadraticConjugation.CM.Field.fieldEquiv E C (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue ((QuadraticForms.CM.hermitianForm E C).val ⊗ₖ (QuadraticForms.CM.skewForm E C).val) |
| 25 | (tensorVector E C x) (tensorVector E C y)) = |
| 26 | QuadraticForms.CM.skewCoefficient E C * GeometricSource.CM.hermitian E B.b y x := by |
| 27 | rw [QuadraticForms.CM.hermitianForm_val, QuadraticForms.CM.skewForm_val, Matrix.diagonal_kronecker_diagonal] |
| 28 | unfold RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue |
| 29 | simp only [dotProduct, Matrix.mulVec_diagonal, Fintype.sum_prod_type, Fin.sum_univ_one, map_sum, map_mul, |
| 30 | tensorVector, QuadraticConjugation.CM.fieldEquiv_star, AlgEquiv.apply_symm_apply] |
| 31 | rw [GeometricSource.CM.hermitian, Finset.mul_sum] |
| 32 | apply Finset.sum_congr rfl |
| 33 | intro i _ |
| 34 | change ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (x i) * ((if i = 2 then B.b else 1) * QuadraticForms.CM.skewCoefficient E C * y i) = |
| 35 | QuadraticForms.CM.skewCoefficient E C * ((if i = 2 then B.b else 1) * y i * ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (x i)) |
| 36 | ring |
| 37 | |
| 38 | theorem trace_half (z : QuadraticForms.CM.Coefficients E C) : |
| 39 | Algebra.trace ℚ (QuadraticConjugation.CM.Field.RealField E) (QuadraticAlgebra.trace z / 2) = |
| 40 | Algebra.trace ℚ E (QuadraticConjugation.CM.Field.fieldEquiv E C z) / 2 := by |
| 41 | have h := QuadraticTrace.CM.rational_trace E C z |
| 42 | have hs : QuadraticAlgebra.trace z / 2 = (1 / 2 : ℚ) • QuadraticAlgebra.trace z := by |
| 43 | simp only [Algebra.smul_def, map_div₀, map_one, map_ofNat] |
| 44 | ring |
| 45 | rw [hs, map_smul, h] |
| 46 | change (1 / 2 : ℚ) * Algebra.trace ℚ E (QuadraticConjugation.CM.Field.fieldEquiv E C z) = _ |
| 47 | ring |
| 48 | |
| 49 | theorem source_pairing (x y : GeometricSource.CM.Vec E) : |
| 50 | Algebra.trace ℚ (QuadraticConjugation.CM.Field.RealField E) |
| 51 | (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.tracePairing (QuadraticConjugation.CM.Field.discriminant E C) 3 1 (QuadraticForms.CM.hermitianForm E C).val (QuadraticForms.CM.skewForm E C).val |
| 52 | (tensorVector E C x) (tensorVector E C y)) = |
| 53 | Algebra.trace ℚ E (C.delta * C.a * GeometricSource.CM.hermitian E B.b x y) := by |
| 54 | unfold RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.tracePairing |
| 55 | rw [trace_half, tensor_form, QuadraticTrace.CM.source_trace_as_conjugate_first E C x y] |
| 56 | have hs : QuadraticForms.CM.skewCoefficient E C * GeometricSource.CM.hermitian E B.b y x = |
| 57 | (2 : ℚ) • (-C.delta * C.a * GeometricSource.CM.hermitian E B.b y x) := by |
| 58 | simp only [QuadraticForms.CM.skewCoefficient, Algebra.smul_def, map_ofNat] |
| 59 | ring |
| 60 | rw [hs, map_smul] |
| 61 | change (2 * Algebra.trace ℚ E (-C.delta * C.a * GeometricSource.CM.hermitian E B.b y x)) / 2 = _ |
| 62 | ring |
| 63 | |
| 64 | theorem coordinate_pairing (x y : GeometricSource.CM.Vec E) : |
| 65 | Algebra.trace ℚ (QuadraticConjugation.CM.Field.RealField E) |
| 66 | (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.tracePairing (QuadraticConjugation.CM.Field.discriminant E C) 3 1 (QuadraticForms.CM.hermitianForm E C).val (QuadraticForms.CM.skewForm E C).val |
| 67 | (tensorVector E C x) (tensorVector E C y)) = |
| 68 | ∑ j, ((C.rational x).1 j * (C.rational y).2 j - (C.rational y).1 j * (C.rational x).2 j) := by |
| 69 | rw [source_pairing, C.symplectic] |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.TensorPairing.CM |