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.Quaternion.QuadraticUnitary |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CM.UnitaryPresentation |
| 3 | |
| 4 | /-! # Quaternion Subgroup -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CM.QuaternionSubgroup |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The explicit quaternion subgroup for the actual CM Hermitian |
| 11 | coefficient and the specified imaginary generator. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Quaternion _root_.Matrix |
| 14 | open _root_.NumberField QuaternionAlgebra _root_.Matrix |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CM.UnitaryPresentation.Quadratic |
| 16 | |
| 17 | variable (E : Type) [Field E] [NumberField E] [IsCMField E] |
| 18 | |
| 19 | local instance cmQuaternionStarRing : StarRing E where |
| 20 | star := IsCMField.complexConj E |
| 21 | star_involutive := IsCMField.complexConj_apply_apply E |
| 22 | star_mul x y := (map_mul (IsCMField.complexConj E) x y).trans (mul_comm _ _) |
| 23 | star_add := map_add (IsCMField.complexConj E) |
| 24 | |
| 25 | def cmQuaternionSubgroup (b : E) (hb : IsCMField.complexConj E b = b) |
| 26 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) : |
| 27 | (NumberTheory.Quaternion.Arithmetic.Norm.quaternionUnitNorm (QuadraticCoordinates.squareParameter E δ hδ) (-Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.realCoefficient b hb)).ker →* |
| 28 | Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU b := |
| 29 | Quaternion.QuadraticUnitary.quaternionRankThreeUnitary (QuadraticCoordinates.squareParameter E δ hδ) (Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.realCoefficient b hb) |
| 30 | δ rfl (IsCMField.complexConj_apply_eq_self E) hδ |
| 31 | |
| 32 | theorem cmQuaternionSubgroup_matrix (b : E) (hb : IsCMField.complexConj E b = b) |
| 33 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) |
| 34 | (q : (NumberTheory.Quaternion.Arithmetic.Norm.quaternionUnitNorm (QuadraticCoordinates.squareParameter E δ hδ) (-Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.realCoefficient b hb)).ker) : |
| 35 | (cmQuaternionSubgroup E b hb δ hδ q).val.val = |
| 36 | !![(q.val.val.re : E) + δ * (q.val.val.imI : E), 0, |
| 37 | -b * ((q.val.val.imJ : E) + δ * (q.val.val.imK : E)); |
| 38 | 0, 1, 0; |
| 39 | (q.val.val.imJ : E) - δ * (q.val.val.imK : E), 0, |
| 40 | (q.val.val.re : E) - δ * (q.val.val.imI : E)] := by |
| 41 | change (Quaternion.QuadraticUnitary.activeBinaryBlock (Quaternion.SpecialLinear.unitaryQuaternionNormOneHom _ _ δ rfl q)).val = _ |
| 42 | rw [Quaternion.QuadraticUnitary.activeBinaryBlock_matrix] |
| 43 | have h := Quaternion.UnitaryMatrix.unitaryQuaternionMap_apply (QuadraticCoordinates.squareParameter E δ hδ) |
| 44 | (Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.realCoefficient b hb) δ rfl q.val.val |
| 45 | change (Quaternion.SpecialLinear.unitaryQuaternionNormOneHom _ _ δ rfl q).val = _ at h |
| 46 | simp only [h] |
| 47 | rfl |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CM.QuaternionSubgroup |