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.CM.QuadraticCoordinates |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnitaryMatrixEquiv |
| 3 | import OAI.Geometry.ComplexBall.IntegralLattice |
| 4 | |
| 5 | /-! # Unitary Presentation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CM.UnitaryPresentation.Quadratic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual invertible Hermitian matrix over the quadratic presentation |
| 12 | of the CM field, and the entrywise identification of its special unitary |
| 13 | group with the native rational group. -/ |
| 14 | |
| 15 | open _root_.NumberField |
| 16 | open scoped Classical |
| 17 | |
| 18 | section Diagonal |
| 19 | variable {R : Type*} [CommRing R] |
| 20 | |
| 21 | def diagonalFormUnit (b : Rˣ) : (Matrix (Fin 3) (Fin 3) R)ˣ where |
| 22 | val := UnitaryMatrixEquiv.Quadratic.diagonalForm b.val |
| 23 | inv := UnitaryMatrixEquiv.Quadratic.diagonalForm (b⁻¹).val |
| 24 | val_inv := by |
| 25 | simp only [UnitaryMatrixEquiv.Quadratic.diagonalForm, Matrix.diagonal_mul_diagonal, Matrix.diagonal_eq_one] |
| 26 | funext i |
| 27 | unfold Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient |
| 28 | split_ifs <;> simp |
| 29 | inv_val := by |
| 30 | simp only [UnitaryMatrixEquiv.Quadratic.diagonalForm, Matrix.diagonal_mul_diagonal, Matrix.diagonal_eq_one] |
| 31 | funext i |
| 32 | unfold Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient |
| 33 | split_ifs <;> simp |
| 34 | |
| 35 | end Diagonal |
| 36 | |
| 37 | def unitaryFormCongr {R : Type*} [CommRing R] [StarRing R] |
| 38 | (H K : Matrix (Fin 3) (Fin 3) R) (h : H = K) : |
| 39 | RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H ≃* RepresentationTheory.Theta.Adelic.SpecialUnitary.SU K where |
| 40 | toFun g := ⟨g.val, h ▸ g.property⟩ |
| 41 | invFun g := ⟨g.val, h.symm ▸ g.property⟩ |
| 42 | left_inv _ := rfl |
| 43 | right_inv _ := rfl |
| 44 | map_mul' _ _ := rfl |
| 45 | |
| 46 | variable (E : Type) [Field E] [NumberField E] [IsCMField E] |
| 47 | (b : E) (hb : IsCMField.complexConj E b = b) (hb0 : b ≠ 0) |
| 48 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) |
| 49 | |
| 50 | abbrev quadraticCoefficient : RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (QuadraticCoordinates.realBase E) (QuadraticCoordinates.squareParameter E δ hδ) := |
| 51 | algebraMap (QuadraticCoordinates.realBase E) _ (Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.realCoefficient b hb) |
| 52 | |
| 53 | theorem quadraticCoefficient_evaluation : |
| 54 | Geometry.ComplexBall.ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0 (quadraticCoefficient E b hb δ hδ) = b := |
| 55 | (Geometry.ComplexBall.ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).commutes (Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.realCoefficient b hb) |
| 56 | |
| 57 | def quadraticCoefficientUnit : (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (QuadraticCoordinates.realBase E) (QuadraticCoordinates.squareParameter E δ hδ))ˣ := |
| 58 | Units.map (Geometry.ComplexBall.ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm.toRingHom.toMonoidHom (Units.mk0 b hb0) |
| 59 | |
| 60 | theorem quadraticCoefficientUnit_val : |
| 61 | (quadraticCoefficientUnit E b hb0 δ hδ hδ0).val = quadraticCoefficient E b hb δ hδ := by |
| 62 | apply (Geometry.ComplexBall.ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).injective |
| 63 | change Geometry.ComplexBall.ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0 ((Geometry.ComplexBall.ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm b) = _ |
| 64 | rw [AlgEquiv.apply_symm_apply, quadraticCoefficient_evaluation] |
| 65 | |
| 66 | def hermitianUnit : (Matrix (Fin 3) (Fin 3) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (QuadraticCoordinates.realBase E) (QuadraticCoordinates.squareParameter E δ hδ)))ˣ := |
| 67 | diagonalFormUnit (quadraticCoefficientUnit E b hb0 δ hδ hδ0) |
| 68 | |
| 69 | theorem hermitianUnit_val : |
| 70 | (hermitianUnit E b hb0 δ hδ hδ0).val = UnitaryMatrixEquiv.Quadratic.diagonalForm (quadraticCoefficient E b hb δ hδ) := by |
| 71 | change UnitaryMatrixEquiv.Quadratic.diagonalForm (quadraticCoefficientUnit E b hb0 δ hδ hδ0).val = _ |
| 72 | rw [quadraticCoefficientUnit_val E b hb hb0] |
| 73 | |
| 74 | include hb in |
| 75 | theorem hermitianUnit_conjTranspose : |
| 76 | (hermitianUnit E b hb0 δ hδ hδ0).val.conjTranspose = |
| 77 | (hermitianUnit E b hb0 δ hδ hδ0).val := by |
| 78 | rw [hermitianUnit_val E b hb hb0] |
| 79 | have hc : star (quadraticCoefficient E b hb δ hδ) = quadraticCoefficient E b hb δ hδ := by |
| 80 | apply (Geometry.ComplexBall.ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).injective |
| 81 | exact (Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.quadraticEquiv_star δ hδ hδ0 (quadraticCoefficient E b hb δ hδ)).trans |
| 82 | ((congrArg (IsCMField.complexConj E) (quadraticCoefficient_evaluation E b hb δ hδ hδ0)).trans |
| 83 | (hb.trans (quadraticCoefficient_evaluation E b hb δ hδ hδ0).symm)) |
| 84 | apply Matrix.ext |
| 85 | intro i j |
| 86 | simp only [UnitaryMatrixEquiv.Quadratic.diagonalForm, Matrix.conjTranspose_apply, Matrix.diagonal, Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient] |
| 87 | by_cases hij : i = j |
| 88 | · subst j |
| 89 | by_cases hi : i = 2 <;> simp [hi, hc] |
| 90 | · simp [hij, Ne.symm hij] |
| 91 | |
| 92 | def rationalUnitaryPresentation : |
| 93 | Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU b ≃* RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm (quadraticCoefficient E b hb δ hδ)) := |
| 94 | (Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.rationalQuadraticUnitaryEquiv b hb δ hδ hδ0).symm.trans |
| 95 | (UnitaryMatrixEquiv.Quadratic.unitaryMatrixEquiv (quadraticCoefficient E b hb δ hδ)) |
| 96 | |
| 97 | theorem rationalUnitaryPresentation_matrix (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU b) : |
| 98 | (rationalUnitaryPresentation E b hb δ hδ hδ0 g).val.val = |
| 99 | g.val.val.map (Geometry.ComplexBall.ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm := |
| 100 | Geometry.ComplexBall.IntegralLattice.ArithmeticQuotient.rationalQuadraticUnitaryEquiv_symm_matrix b hb δ hδ hδ0 g |
| 101 | |
| 102 | def rationalHermitianUnitaryPresentation : |
| 103 | Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU b ≃* RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (hermitianUnit E b hb0 δ hδ hδ0).val := |
| 104 | (rationalUnitaryPresentation E b hb δ hδ hδ0).trans |
| 105 | (unitaryFormCongr _ _ (hermitianUnit_val E b hb hb0 δ hδ hδ0).symm) |
| 106 | |
| 107 | theorem rationalHermitianUnitaryPresentation_matrix (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU b) : |
| 108 | (rationalHermitianUnitaryPresentation E b hb hb0 δ hδ hδ0 g).val.val = |
| 109 | g.val.val.map (Geometry.ComplexBall.ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm := |
| 110 | rationalUnitaryPresentation_matrix E b hb δ hδ hδ0 g |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CM.UnitaryPresentation.Quadratic |