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 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.UnitaryMatrixLemmas |
| 5 | |
| 6 | /-! # Unitary Matrix -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryMatrix.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original rational special-unitary action in its actual quadratic |
| 13 | field coordinates. Matrix preservation is derived from the source form. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Matrix |
| 16 | open _root_.Matrix OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticForms.CM |
| 19 | |
| 20 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 21 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (C : GeometricSource.CM.SymplecticCoordinates E B places) |
| 22 | |
| 23 | def vector (x : GeometricSource.CM.Vec E) : Fin 3 → QuadraticForms.CM.Coefficients E C := fun i => (QuadraticConjugation.CM.Field.fieldEquiv E C).symm (x i) |
| 24 | |
| 25 | def originalVector (x : Fin 3 → QuadraticForms.CM.Coefficients E C) : GeometricSource.CM.Vec E := fun i => QuadraticConjugation.CM.Field.fieldEquiv E C (x i) |
| 26 | |
| 27 | theorem vector_original (x : Fin 3 → QuadraticForms.CM.Coefficients E C) : vector E C (originalVector E C x) = x := by |
| 28 | funext i |
| 29 | exact (QuadraticConjugation.CM.Field.fieldEquiv E C).symm_apply_apply _ |
| 30 | |
| 31 | theorem original_vector (x : GeometricSource.CM.Vec E) : originalVector E C (vector E C x) = x := by |
| 32 | funext i |
| 33 | exact (QuadraticConjugation.CM.Field.fieldEquiv E C).apply_symm_apply _ |
| 34 | |
| 35 | theorem form_image (x y : GeometricSource.CM.Vec E) : |
| 36 | QuadraticConjugation.CM.Field.fieldEquiv E C (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue (QuadraticForms.CM.hermitianForm E C).val (vector E C x) (vector E C y)) = |
| 37 | GeometricSource.CM.hermitian E B.b y x := by |
| 38 | rw [QuadraticForms.CM.hermitianForm_val] |
| 39 | simp only [RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue, dotProduct, Matrix.mulVec_diagonal, vector, |
| 40 | map_sum, map_mul, QuadraticConjugation.CM.fieldEquiv_star, AlgEquiv.apply_symm_apply] |
| 41 | unfold GeometricSource.CM.hermitian |
| 42 | apply Finset.sum_congr rfl |
| 43 | intro i _ |
| 44 | change ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (x i) * ((if i = 2 then B.b else 1) * y i) = _ |
| 45 | ring |
| 46 | |
| 47 | def matrix : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b →* (Matrix (Fin 3) (Fin 3) (QuadraticForms.CM.Coefficients E C))ˣ := |
| 48 | (Units.map ((QuadraticConjugation.CM.Field.fieldEquiv E C).symm.toRingHom.mapMatrix).toMonoidHom).comp |
| 49 | (Matrix.SpecialLinearGroup.toGL.comp |
| 50 | (Geometry.ComplexBall.ArithmeticQuotientEquationsData.unitarySubgroup (NumberField.IsCMField.complexConj E).toRingHom B.b).subtype) |
| 51 | |
| 52 | theorem matrix_val (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : |
| 53 | (matrix E C g).val = g.val.val.map (QuadraticConjugation.CM.Field.fieldEquiv E C).symm := rfl |
| 54 | |
| 55 | theorem vector_action (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (x : GeometricSource.CM.Vec E) : |
| 56 | (matrix E C g).val *ᵥ vector E C x = |
| 57 | vector E C (ComplexAction.CM.Symplectic.rationalAction E g x) := by |
| 58 | rw [matrix_val] |
| 59 | funext i |
| 60 | change (∑ j, (QuadraticConjugation.CM.Field.fieldEquiv E C).symm (g.val.val i j) * (QuadraticConjugation.CM.Field.fieldEquiv E C).symm (x j)) = |
| 61 | (QuadraticConjugation.CM.Field.fieldEquiv E C).symm (∑ j, g.val.val i j * x j) |
| 62 | rw [map_sum] |
| 63 | apply Finset.sum_congr rfl |
| 64 | intro j _ |
| 65 | rw [map_mul] |
| 66 | |
| 67 | theorem form_preserves (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 68 | (x y : Fin 3 → QuadraticForms.CM.Coefficients E C) : |
| 69 | RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue (QuadraticForms.CM.hermitianForm E C).val ((matrix E C g).val *ᵥ x) ((matrix E C g).val *ᵥ y) = |
| 70 | RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue (QuadraticForms.CM.hermitianForm E C).val x y := by |
| 71 | have h (a b : GeometricSource.CM.Vec E) : |
| 72 | RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue (QuadraticForms.CM.hermitianForm E C).val ((matrix E C g).val *ᵥ vector E C a) |
| 73 | ((matrix E C g).val *ᵥ vector E C b) = |
| 74 | RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue (QuadraticForms.CM.hermitianForm E C).val (vector E C a) (vector E C b) := by |
| 75 | apply (QuadraticConjugation.CM.Field.fieldEquiv E C).injective |
| 76 | rw [vector_action, vector_action, form_image, form_image, |
| 77 | ComplexAction.CM.Symplectic.rationalAction_preserves] |
| 78 | simpa only [vector_original] using h (originalVector E C x) (originalVector E C y) |
| 79 | |
| 80 | theorem form_matrix (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : |
| 81 | (matrix E C g).val.conjTranspose * (QuadraticForms.CM.hermitianForm E C).val * (matrix E C g).val = |
| 82 | (QuadraticForms.CM.hermitianForm E C).val := by |
| 83 | apply Matrix.ext |
| 84 | intro i j |
| 85 | have h := form_preserves E C g (Pi.single i 1) (Pi.single j 1) |
| 86 | rw [RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue_change] at h |
| 87 | simpa only [UnitaryMatrixLemmas.CM.formValue_basis] using h |
| 88 | |
| 89 | theorem determinant (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : (matrix E C g).val.det = 1 := by |
| 90 | rw [matrix_val] |
| 91 | change ((QuadraticConjugation.CM.Field.fieldEquiv E C).symm.toRingHom.mapMatrix g.val.val).det = 1 |
| 92 | rw [← RingHom.map_det, g.val.property, map_one] |
| 93 | |
| 94 | theorem determinant_unit (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : |
| 95 | Matrix.GeneralLinearGroup.det (matrix E C g) = 1 := |
| 96 | UnitaryMatrixLemmas.CM.determinant_unit (matrix E C g) (determinant E C g) |
| 97 | |
| 98 | def hom : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b →* |
| 99 | RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (QuadraticForms.CM.hermitianForm E C).val where |
| 100 | toFun g := ⟨matrix E C g, form_matrix E C g, determinant_unit E C g⟩ |
| 101 | map_one' := Subtype.ext (map_one (matrix E C)) |
| 102 | map_mul' g h := Subtype.ext (map_mul (matrix E C) g h) |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryMatrix.CM |