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.NumberTheory.Quaternion.Arithmetic.SplitPolynomials |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.SplitGroup |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.PolynomialCurveTransport |
| 4 | import OAI.NumberTheory.Quaternion.Arithmetic.SpecialLinearAdeles |
| 5 | |
| 6 | /-! # Split Polynomial Hom -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.Quaternion.Arithmetic.SplitPolynomialHom |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A polynomial isomorphism from SL₂ to the norm-one matrix group |
| 13 | of a quaternion algebra split over the ground field. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Quaternion |
| 16 | open QuaternionAlgebra |
| 17 | |
| 18 | variable {F K : Type} [Field F] [Field K] |
| 19 | |
| 20 | theorem quaternion_splitting_equation_map (ρ : F →+* K) (a b x y : F) |
| 21 | (h : x ^ 2 - a * y ^ 2 = b) : (ρ x) ^ 2 - ρ a * (ρ y) ^ 2 = ρ b := by |
| 22 | simpa only [map_sub, map_mul, map_pow] using congrArg ρ h |
| 23 | |
| 24 | def splitQuaternionMatrixPointsEquiv [CharZero K] (a b x y : F) (ha : a ≠ 0) (hb : b ≠ 0) |
| 25 | (h : x ^ 2 - a * y ^ 2 = b) (ρ : F →+* K) : |
| 26 | (SpecialLinearAdeles.specialLinearMatrixGroup F 2).Points ρ ≃* (MatrixGroup.quaternionNormOneMatrixGroup a b).Points ρ := |
| 27 | (Subgroup.topEquiv.trans (SplitGroup.quaternionNormOneSpecialLinearEquiv (ρ a) (ρ b) (ρ x) (ρ y) |
| 28 | ((map_ne_zero ρ).mpr ha) ((map_ne_zero ρ).mpr hb) |
| 29 | (quaternion_splitting_equation_map ρ a b x y h)).symm).trans |
| 30 | (MatrixGroup.quaternionMatrixPointsEquiv a b ρ) |
| 31 | |
| 32 | theorem splitQuaternionMatrixPointsEquiv_matrix [CharZero K] |
| 33 | (a b x y : F) (ha : a ≠ 0) (hb : b ≠ 0) (h : x ^ 2 - a * y ^ 2 = b) (ρ : F →+* K) |
| 34 | (g : (SpecialLinearAdeles.specialLinearMatrixGroup F 2).Points ρ) : |
| 35 | PolynomialGaloisNorm.matrixPointsHom (MatrixGroup.quaternionNormOneMatrixGroup a b) ρ |
| 36 | (splitQuaternionMatrixPointsEquiv a b x y ha hb h ρ g) = |
| 37 | MatrixQuaternionDet.quaternionRegularMatrix (ρ a) (ρ b) (SplitInverse.quaternionSplitInverse (ρ a) (ρ b) (ρ x) (ρ y) g.val.val) := by |
| 38 | change MatrixQuaternionDet.quaternionRegularMatrix (ρ a) (ρ b) |
| 39 | ((SplitMatrices.quaternionSplittingEquiv (ρ a) (ρ b) (ρ x) (ρ y) |
| 40 | ((map_ne_zero ρ).mpr ha) ((map_ne_zero ρ).mpr hb) |
| 41 | (quaternion_splitting_equation_map ρ a b x y h)).symm g.val.val) = _ |
| 42 | rw [SplitInverse.quaternionSplittingEquiv_symm_apply] |
| 43 | |
| 44 | variable [CharZero F] |
| 45 | |
| 46 | def splitQuaternionPolynomialHom (a b x y : F) (ha : a ≠ 0) (hb : b ≠ 0) |
| 47 | (h : x ^ 2 - a * y ^ 2 = b) : |
| 48 | AlgebraicHypotheses.PolynomialHom (SpecialLinearAdeles.specialLinearMatrixGroup F 2) (MatrixGroup.quaternionNormOneMatrixGroup a b) where |
| 49 | hom K _ ρ := by |
| 50 | let : CharZero K := charZero_of_injective_ringHom ρ.injective |
| 51 | exact (splitQuaternionMatrixPointsEquiv a b x y ha hb h ρ).toMonoidHom |
| 52 | coordinates := SplitPolynomials.quaternionSplitRegularPolynomials a b x y |
| 53 | coordinate_eq K _ ρ g i j := by |
| 54 | let : CharZero K := charZero_of_injective_ringHom ρ.injective |
| 55 | change PolynomialGaloisNorm.matrixPointsHom (MatrixGroup.quaternionNormOneMatrixGroup a b) ρ |
| 56 | (splitQuaternionMatrixPointsEquiv a b x y ha hb h ρ g) i j = _ |
| 57 | rw [splitQuaternionMatrixPointsEquiv_matrix] |
| 58 | exact (congrFun (congrFun (SplitPolynomials.quaternionSplitRegularPolynomials_eval ρ a b x y g.val.val) i) j).symm |
| 59 | |
| 60 | theorem splitQuaternionPolynomialHom_surjective (a b x y : F) (ha : a ≠ 0) (hb : b ≠ 0) |
| 61 | (h : x ^ 2 - a * y ^ 2 = b) (ρ : F →+* K) : |
| 62 | Function.Surjective ((splitQuaternionPolynomialHom a b x y ha hb h).hom K ρ) := by |
| 63 | let : CharZero K := charZero_of_injective_ringHom ρ.injective |
| 64 | exact (splitQuaternionMatrixPointsEquiv a b x y ha hb h ρ).surjective |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.Quaternion.Arithmetic.SplitPolynomialHom |