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.RepresentationTheory.Theta.Adelic.BallNatural |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.PrincipalSubgroup |
| 3 | import OAI.Geometry.ComplexBall.ArithmeticQuotientEquationsData |
| 4 | |
| 5 | /-! # Ball Group Comparison -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Adelic.BallGroupComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual ball group is the same standard matrix group as the |
| 12 | one used by the proved ArithmeticQuotient ball geometry, with its usual topology. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.BallNatural |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.PrincipalSubgroup |
| 18 | |
| 19 | def diagonalForm (b : ℂ) : Matrix (Fin 3) (Fin 3) ℂ := |
| 20 | Matrix.diagonal (Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient b) |
| 21 | |
| 22 | theorem diagonal_unitary_iff (b : ℂ) (g : Matrix.SpecialLinearGroup (Fin 3) ℂ) : |
| 23 | g ∈ Geometry.ComplexBall.ArithmeticQuotientEquationsData.unitarySubgroup (starRingEnd ℂ) b ↔ |
| 24 | g.val.conjTranspose * diagonalForm b * g.val = diagonalForm b := by |
| 25 | rw [Geometry.ComplexBall.ArithmeticQuotientEquationsData.unitary_iff_columns] |
| 26 | constructor |
| 27 | · intro h |
| 28 | apply Matrix.ext |
| 29 | intro i j |
| 30 | by_cases hij : i = j |
| 31 | · subst j |
| 32 | simpa [diagonalForm, Matrix.mul_diagonal, Matrix.mul_apply, Matrix.conjTranspose_apply, |
| 33 | Matrix.diagonal_apply, mul_comm, mul_left_comm, mul_assoc, eq_comm] using h i i |
| 34 | · simpa [diagonalForm, Matrix.mul_diagonal, Matrix.mul_apply, Matrix.conjTranspose_apply, |
| 35 | Matrix.diagonal_apply, hij, mul_comm, mul_left_comm, mul_assoc, eq_comm] using h j i |
| 36 | · intro h i j |
| 37 | have he := congrArg (fun M : Matrix (Fin 3) (Fin 3) ℂ => M j i) h |
| 38 | by_cases hij : i = j |
| 39 | · subst j |
| 40 | simpa [diagonalForm, Matrix.mul_diagonal, Matrix.mul_apply, Matrix.conjTranspose_apply, |
| 41 | Matrix.diagonal_apply, mul_comm, mul_left_comm, mul_assoc, eq_comm] using he |
| 42 | · simpa [diagonalForm, Matrix.mul_diagonal, Matrix.mul_apply, Matrix.conjTranspose_apply, |
| 43 | Matrix.diagonal_apply, hij, mul_comm, mul_left_comm, mul_assoc, eq_comm] using he |
| 44 | |
| 45 | def diagonalUnitaryEquiv (b : ℂ) : |
| 46 | SpecialUnitary.SU (diagonalForm b) ≃* Geometry.ComplexBall.ArithmeticQuotientEquationsData.SU (starRingEnd ℂ) b where |
| 47 | toFun g := ⟨PrincipalSubgroup.suSpecialLinear (diagonalForm b) g, (diagonal_unitary_iff b _).mpr g.property.1⟩ |
| 48 | invFun g := ⟨Matrix.SpecialLinearGroup.toGL g.val, (diagonal_unitary_iff b g.val).mp g.property, |
| 49 | Matrix.SpecialLinearGroup.coeToGL_det g.val⟩ |
| 50 | left_inv g := by apply Subtype.ext; apply Units.ext; rfl |
| 51 | right_inv g := by apply Subtype.ext; rfl |
| 52 | map_mul' _ _ := rfl |
| 53 | |
| 54 | def diagonalUnitaryContinuousEquiv (b : ℂ) : |
| 55 | SpecialUnitary.SU (diagonalForm b) ≃ₜ* Geometry.ComplexBall.ArithmeticQuotientEquationsData.SU (starRingEnd ℂ) b where |
| 56 | toMulEquiv := diagonalUnitaryEquiv b |
| 57 | continuous_toFun := ((Units.continuous_val.comp continuous_subtype_val).subtype_mk _).subtype_mk _ |
| 58 | continuous_invFun := |
| 59 | (Matrix.SpecialLinearGroup.continuous_toGL.comp continuous_subtype_val).subtype_mk _ |
| 60 | |
| 61 | theorem diagonalForm_neg_one : diagonalForm (-1) = BallNatural.standardForm.val := by |
| 62 | ext i j |
| 63 | fin_cases i <;> fin_cases j <;> norm_num [diagonalForm, BallNatural.standardForm, Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient, Fin.ext_iff] |
| 64 | |
| 65 | def specialUnitaryFormCongr {R I : Type*} [CommRing R] [StarRing R] |
| 66 | [TopologicalSpace R] [Fintype I] [DecidableEq I] |
| 67 | (H K : Matrix I I R) (h : H = K) : SpecialUnitary.SU H ≃ₜ* SpecialUnitary.SU K where |
| 68 | toFun g := ⟨g.val, h ▸ g.property⟩ |
| 69 | invFun g := ⟨g.val, h.symm ▸ g.property⟩ |
| 70 | left_inv _ := rfl |
| 71 | right_inv _ := rfl |
| 72 | map_mul' _ _ := rfl |
| 73 | continuous_toFun := continuous_subtype_val.subtype_mk _ |
| 74 | continuous_invFun := continuous_subtype_val.subtype_mk _ |
| 75 | |
| 76 | def ballGroupComparison : BallNatural.BallGroup ≃ₜ* Geometry.ComplexBall.ArithmeticQuotientEquationsData.SU (starRingEnd ℂ) (-1) := |
| 77 | (specialUnitaryFormCongr BallNatural.standardForm.val (diagonalForm (-1)) |
| 78 | diagonalForm_neg_one.symm).trans (diagonalUnitaryContinuousEquiv (-1)) |
| 79 | |
| 80 | theorem ballGroupComparison_matrix (g : BallNatural.BallGroup) : (ballGroupComparison g).val.val = g.val.val := by |
| 81 | rfl |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.RepresentationTheory.Theta.Adelic.BallGroupComparison |