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.UnitaryMatrixEquiv |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.CoefficientConjugation |
| 3 | |
| 4 | /-! # Unitary Linear -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnitaryLinear.Approximation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Convert determinant-one unitary matrices to the exact linear group |
| 13 | used by the PEL datum. The map preserves every matrix entry. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnitaryMatrixEquiv.Quadratic OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.CoefficientConjugation.TestTransport |
| 18 | |
| 19 | variable {R : Type*} [CommRing R] [StarRing R] (b : R) |
| 20 | |
| 21 | def unitaryMatrixSL : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm b) →* Matrix.SpecialLinearGroup (Fin 3) R where |
| 22 | toFun g := ⟨g.val.val, congrArg Units.val g.property.2⟩ |
| 23 | map_one' := rfl |
| 24 | map_mul' _ _ := rfl |
| 25 | |
| 26 | def unitaryMatrixLinear : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm b) →* |
| 27 | AbelianModuli.ReferenceFamily.Groups.specialUnitarySubgroup (R := R) (Geometry.ComplexBall.ArithmeticQuotientEquationsData.form (starRingEnd R) b) where |
| 28 | toFun g := ⟨Matrix.SpecialLinearGroup.toLin' (unitaryMatrixSL b g), |
| 29 | (UnitaryMatrixEquiv.Quadratic.unitary_matrix_iff b (unitaryMatrixSL b g)).mpr g.property.1, by |
| 30 | apply Units.ext |
| 31 | rw [LinearEquiv.coe_det, Units.val_one] |
| 32 | change LinearMap.det (Matrix.toLin' g.val.val) = 1 |
| 33 | rw [LinearMap.det_toLin'] |
| 34 | exact congrArg Units.val g.property.2⟩ |
| 35 | map_one' := by |
| 36 | apply Subtype.ext |
| 37 | exact map_one (Matrix.SpecialLinearGroup.toLin'.comp (unitaryMatrixSL b)) |
| 38 | map_mul' g h := by |
| 39 | apply Subtype.ext |
| 40 | exact map_mul (Matrix.SpecialLinearGroup.toLin'.comp (unitaryMatrixSL b)) g h |
| 41 | |
| 42 | theorem unitaryMatrixLinear_entry (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm b)) (i j : Fin 3) : |
| 43 | (unitaryMatrixLinear b g).val (Pi.single j 1) i = g.val.val i j := by |
| 44 | change (g.val.val.mulVec (Pi.single j 1)) i = g.val.val i j |
| 45 | simp [Matrix.mulVec_single] |
| 46 | |
| 47 | variable (E : Type) [Field E] [NumberField E] [NumberField.IsCMField E] |
| 48 | |
| 49 | theorem finiteHermitian_eq_form (a : E) : |
| 50 | AbelianModuli.ReferenceFamily.AdelicData.finiteHermitian E a = Geometry.ComplexBall.ArithmeticQuotientEquationsData.form (starRingEnd (AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E)) |
| 51 | (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E a) := rfl |
| 52 | |
| 53 | variable {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 54 | |
| 55 | def matrixPELUnitary : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E P.b)) →* |
| 56 | P.FiniteSpecialUnitary := unitaryMatrixLinear (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E P.b) |
| 57 | |
| 58 | theorem matrixPELUnitary_entry |
| 59 | (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E P.b))) (i j : Fin 3) : |
| 60 | (matrixPELUnitary E P g).val (Pi.single j 1) i = g.val.val i j := |
| 61 | unitaryMatrixLinear_entry (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E P.b) g i j |
| 62 | |
| 63 | theorem matrixPELUnitary_continuous : Continuous (matrixPELUnitary E P) := by |
| 64 | apply continuous_induced_rng.mpr |
| 65 | have hm : Continuous (fun g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E P.b)) => |
| 66 | (g.val.val : Matrix (Fin 3) (Fin 3) (AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E))) := |
| 67 | Units.continuous_val.comp continuous_subtype_val |
| 68 | exact hm.congr (fun g => by |
| 69 | funext i j |
| 70 | exact (matrixPELUnitary_entry E P g i j).symm) |
| 71 | |
| 72 | def matrixPELUnitaryContinuous : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E P.b)) →ₜ* |
| 73 | P.FiniteSpecialUnitary := ⟨matrixPELUnitary E P, matrixPELUnitary_continuous E P⟩ |
| 74 | |
| 75 | end |
| 76 | |
| 77 | section |
| 78 | |
| 79 | /-! The matrix-to-linear PEL map is bijective. Its inverse is the actual |
| 80 | matrix of the given linear equivalence in the standard basis. -/ |
| 81 | |
| 82 | open scoped Classical |
| 83 | |
| 84 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnitaryMatrixEquiv.Quadratic OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.CoefficientConjugation.TestTransport |
| 85 | |
| 86 | variable {R : Type*} [CommRing R] [StarRing R] (b : R) |
| 87 | |
| 88 | theorem unitaryMatrixLinear_bijective : Function.Bijective (unitaryMatrixLinear b) := by |
| 89 | constructor |
| 90 | · intro g h he |
| 91 | apply Subtype.ext |
| 92 | apply Units.ext |
| 93 | apply Matrix.ext |
| 94 | intro i j |
| 95 | exact (unitaryMatrixLinear_entry b g i j).symm.trans |
| 96 | ((congrArg (fun z : AbelianModuli.ReferenceFamily.Groups.specialUnitarySubgroup (R := R) (Geometry.ComplexBall.ArithmeticQuotientEquationsData.form (starRingEnd R) b) => |
| 97 | z.val (Pi.single j 1) i) he).trans (unitaryMatrixLinear_entry b h i j)) |
| 98 | · intro g |
| 99 | have hd : (LinearMap.toMatrix' g.val.toLinearMap).det = 1 := by |
| 100 | rw [LinearMap.det_toMatrix', ← LinearEquiv.coe_det] |
| 101 | exact congrArg Units.val g.property.2 |
| 102 | let A : Matrix.SpecialLinearGroup (Fin 3) R := ⟨LinearMap.toMatrix' g.val.toLinearMap, hd⟩ |
| 103 | have hA : Matrix.SpecialLinearGroup.toLin' A = g.val := by |
| 104 | apply LinearEquiv.toLinearMap_injective |
| 105 | exact Matrix.toLin'_toMatrix' g.val.toLinearMap |
| 106 | have hU : A ∈ Geometry.ComplexBall.ArithmeticQuotientEquationsData.unitarySubgroup (starRingEnd R) b := by |
| 107 | intro x y |
| 108 | change Geometry.ComplexBall.ArithmeticQuotientEquationsData.form (starRingEnd R) b (Matrix.SpecialLinearGroup.toLin' A x) |
| 109 | (Matrix.SpecialLinearGroup.toLin' A y) = _ |
| 110 | rw [hA] |
| 111 | exact g.property.1 x y |
| 112 | let m : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm b) := ⟨Matrix.SpecialLinearGroup.toGL A, |
| 113 | (UnitaryMatrixEquiv.Quadratic.unitary_matrix_iff b A).mp hU, by |
| 114 | apply Units.ext |
| 115 | exact hd⟩ |
| 116 | refine ⟨m, ?_⟩ |
| 117 | apply Subtype.ext |
| 118 | exact hA |
| 119 | |
| 120 | def unitaryMatrixLinearEquiv : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm b) ≃* |
| 121 | AbelianModuli.ReferenceFamily.Groups.specialUnitarySubgroup (R := R) (Geometry.ComplexBall.ArithmeticQuotientEquationsData.form (starRingEnd R) b) := |
| 122 | MulEquiv.ofBijective (unitaryMatrixLinear b) (unitaryMatrixLinear_bijective b) |
| 123 | |
| 124 | theorem unitaryMatrixLinearEquiv_symm_matrix |
| 125 | (g : AbelianModuli.ReferenceFamily.Groups.specialUnitarySubgroup (R := R) (Geometry.ComplexBall.ArithmeticQuotientEquationsData.form (starRingEnd R) b)) : |
| 126 | ((unitaryMatrixLinearEquiv b).symm g).val.val = LinearMap.toMatrix' g.val.toLinearMap := by |
| 127 | apply Matrix.ext |
| 128 | intro i j |
| 129 | have h := congrArg (fun z : AbelianModuli.ReferenceFamily.Groups.specialUnitarySubgroup (R := R) (Geometry.ComplexBall.ArithmeticQuotientEquationsData.form (starRingEnd R) b) => |
| 130 | z.val (Pi.single j 1) i) ((unitaryMatrixLinearEquiv b).apply_symm_apply g) |
| 131 | exact (unitaryMatrixLinear_entry b ((unitaryMatrixLinearEquiv b).symm g) i j).symm.trans h |
| 132 | |
| 133 | variable (E : Type) [Field E] [NumberField E] [NumberField.IsCMField E] |
| 134 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 135 | |
| 136 | def matrixPELUnitaryEquiv : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E P.b)) ≃* |
| 137 | P.FiniteSpecialUnitary := unitaryMatrixLinearEquiv (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E P.b) |
| 138 | |
| 139 | end |
| 140 | |
| 141 | /-! The exact PEL linear group and its unitary matrices have the same |
| 142 | topology. Determinant one makes the inverse matrix its adjugate. -/ |
| 143 | |
| 144 | open scoped Classical |
| 145 | |
| 146 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnitaryMatrixEquiv.Quadratic OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.CoefficientConjugation.TestTransport |
| 147 | |
| 148 | theorem unitaryMatrix_inverse_eq_adjugate {R : Type*} [CommRing R] [StarRing R] |
| 149 | (b : R) (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm b)) : g.val.inv = g.val.val.adjugate := by |
| 150 | have h : Matrix.SpecialLinearGroup.toGL (unitaryMatrixSL b g) = g.val := Units.ext rfl |
| 151 | exact (congrArg Units.inv h).symm |
| 152 | |
| 153 | variable (E : Type) [Field E] [NumberField E] |
| 154 | |
| 155 | instance finiteCoefficientTopologicalRing : IsTopologicalRing (AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E) where |
| 156 | continuous_add := continuous_add |
| 157 | continuous_neg := continuous_neg |
| 158 | continuous_mul := Finite.CoefficientTopology.TestTransport.finiteCoefficient_mul_continuous E |
| 159 | |
| 160 | variable [NumberField.IsCMField E] {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 161 | |
| 162 | theorem matrixPELUnitaryEquiv_symm_continuous : Continuous (matrixPELUnitaryEquiv E P).symm := by |
| 163 | have hm : Continuous (fun g : P.FiniteSpecialUnitary => LinearMap.toMatrix' g.val.toLinearMap) := |
| 164 | continuous_induced_dom |
| 165 | have hm' : Continuous (fun g : P.FiniteSpecialUnitary => |
| 166 | (((matrixPELUnitaryEquiv E P).symm g).val.val : Matrix (Fin 3) (Fin 3) (AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E))) := |
| 167 | hm.congr (fun g => (unitaryMatrixLinearEquiv_symm_matrix (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E P.b) g).symm) |
| 168 | have hi : Continuous (fun g : P.FiniteSpecialUnitary => |
| 169 | (((matrixPELUnitaryEquiv E P).symm g).val.inv : Matrix (Fin 3) (Fin 3) (AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E))) := |
| 170 | hm'.matrix_adjugate.congr (fun g => |
| 171 | (unitaryMatrix_inverse_eq_adjugate _ ((matrixPELUnitaryEquiv E P).symm g)).symm) |
| 172 | have hu : Continuous (fun g : P.FiniteSpecialUnitary => ((matrixPELUnitaryEquiv E P).symm g).val) := |
| 173 | Units.continuous_iff.mpr ⟨hm', hi⟩ |
| 174 | exact hu.subtype_mk _ |
| 175 | |
| 176 | def matrixPELUnitaryHomeomorph : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (UnitaryMatrixEquiv.Quadratic.diagonalForm (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E P.b)) ≃ₜ* |
| 177 | P.FiniteSpecialUnitary where |
| 178 | __ := matrixPELUnitaryEquiv E P |
| 179 | continuous_toFun := matrixPELUnitary_continuous E P |
| 180 | continuous_invFun := matrixPELUnitaryEquiv_symm_continuous E P |
| 181 | |
| 182 | end |
| 183 | |
| 184 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnitaryLinear.Approximation |