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.Geometry.ComplexBall.ArithmeticQuotientSplitUnitary |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 3 | |
| 4 | /-! # Unitary Matrix Equiv -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnitaryMatrixEquiv.Quadratic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Identify the actual determinant-one matrices preserving the native |
| 11 | sesquilinear form with the unitary matrices used by the adelic construction. |
| 12 | The identification leaves every matrix entry unchanged. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | variable {R : Type*} [CommRing R] [StarRing R] |
| 17 | |
| 18 | def diagonalForm (b : R) : Matrix (Fin 3) (Fin 3) R := |
| 19 | Matrix.diagonal (Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient b) |
| 20 | |
| 21 | theorem unitary_matrix_iff (b : R) (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.SL R) : |
| 22 | g ∈ Geometry.ComplexBall.ArithmeticQuotientEquationsData.unitarySubgroup (starRingEnd R) b ↔ |
| 23 | g.val.conjTranspose * diagonalForm b * g.val = diagonalForm b := by |
| 24 | rw [Geometry.ComplexBall.ArithmeticQuotientEquationsData.unitary_iff_columns] |
| 25 | constructor |
| 26 | · intro h |
| 27 | ext i j |
| 28 | change (∑ k, (g.val.conjTranspose * diagonalForm b) i k * g.val k j) = _ |
| 29 | simp only [diagonalForm, Matrix.mul_diagonal, Matrix.conjTranspose_apply] |
| 30 | calc |
| 31 | _ = ∑ k, Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient b k * g.val k j * star (g.val k i) := by |
| 32 | apply Finset.sum_congr rfl |
| 33 | intro k _ |
| 34 | ring |
| 35 | _ = if j = i then Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient b j else 0 := h j i |
| 36 | _ = (Matrix.diagonal (Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient b)) i j := by |
| 37 | by_cases hij : i = j |
| 38 | · subst j; simp |
| 39 | · simp [Matrix.diagonal, hij, Ne.symm hij] |
| 40 | · intro h i j |
| 41 | have hij := congrArg (fun A : Matrix (Fin 3) (Fin 3) R => A j i) h |
| 42 | change (∑ k, (g.val.conjTranspose * diagonalForm b) j k * g.val k i) = _ at hij |
| 43 | simp only [diagonalForm, Matrix.mul_diagonal, Matrix.conjTranspose_apply] at hij |
| 44 | calc |
| 45 | _ = ∑ k, (star (g.val k j) * Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient b k) * g.val k i := by |
| 46 | apply Finset.sum_congr rfl |
| 47 | intro k _ |
| 48 | simp only [starRingEnd_apply] |
| 49 | ring |
| 50 | _ = (Matrix.diagonal (Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient b)) j i := hij |
| 51 | _ = if i = j then Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient b i else 0 := by |
| 52 | by_cases he : i = j |
| 53 | · subst j; simp |
| 54 | · simp [Matrix.diagonal, he, Ne.symm he] |
| 55 | |
| 56 | def unitaryMatrixMap (b : R) : |
| 57 | Geometry.ComplexBall.ArithmeticQuotientEquationsData.SU (starRingEnd R) b →* RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (diagonalForm b) where |
| 58 | toFun g := ⟨Matrix.SpecialLinearGroup.toGL g.val, |
| 59 | (unitary_matrix_iff b g.val).mp g.property, by |
| 60 | apply Units.ext |
| 61 | exact g.val.property⟩ |
| 62 | map_one' := by apply Subtype.ext; exact map_one _ |
| 63 | map_mul' g h := by apply Subtype.ext; exact map_mul _ _ _ |
| 64 | |
| 65 | theorem unitaryMatrixMap_bijective (b : R) : Function.Bijective (unitaryMatrixMap b) := by |
| 66 | constructor |
| 67 | · intro g h he |
| 68 | apply Subtype.ext |
| 69 | apply Matrix.SpecialLinearGroup.toGL_injective |
| 70 | exact congrArg Subtype.val he |
| 71 | · intro g |
| 72 | have hd : g.val.val.det = 1 := congrArg Units.val g.property.2 |
| 73 | let A : Geometry.ComplexBall.ArithmeticQuotientEquationsData.SL R := ⟨g.val.val, hd⟩ |
| 74 | refine ⟨⟨A, (unitary_matrix_iff b A).mpr g.property.1⟩, ?_⟩ |
| 75 | apply Subtype.ext |
| 76 | apply Units.ext |
| 77 | rfl |
| 78 | |
| 79 | def unitaryMatrixEquiv (b : R) : |
| 80 | Geometry.ComplexBall.ArithmeticQuotientEquationsData.SU (starRingEnd R) b ≃* RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (diagonalForm b) := |
| 81 | MulEquiv.ofBijective (unitaryMatrixMap b) (unitaryMatrixMap_bijective b) |
| 82 | |
| 83 | theorem unitaryMatrixEquiv_matrix (b : R) (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.SU (starRingEnd R) b) : |
| 84 | (unitaryMatrixEquiv b g).val.val = g.val.val := rfl |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnitaryMatrixEquiv.Quadratic |