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.UnitaryAlgebraicModel |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.SplitUnitary |
| 3 | |
| 4 | /-! # Unitary Split Polynomials -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Adelic.UnitarySplitPolynomials |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Polynomial coordinates for the inverse SL(3) parametrization of |
| 11 | an arbitrary split Hermitian special-unitary group. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.UnitaryAlgebraicModel |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary.SplitAlgebra OAI.RepresentationTheory.Theta.Adelic.SplitUnitary OAI.RepresentationTheory.Theta.Adelic.SplitUnitary.Special |
| 17 | |
| 18 | section Ring |
| 19 | variable {R S : Type*} [CommRing R] [CommRing S] |
| 20 | |
| 21 | def dualPolynomialMatrix (U V M : Matrix (Fin 3) (Fin 3) R) : Matrix (Fin 3) (Fin 3) R := |
| 22 | (U * M.adjugate * V).transpose |
| 23 | |
| 24 | theorem dualPolynomialMatrix_map (U V M : Matrix (Fin 3) (Fin 3) R) (f : R →+* S) : |
| 25 | (dualPolynomialMatrix U V M).map f = dualPolynomialMatrix (U.map f) (V.map f) (M.map f) := by |
| 26 | change ((U * M.adjugate * V).map f).transpose = _ |
| 27 | apply congrArg Matrix.transpose |
| 28 | change f.mapMatrix (U * M.adjugate * V) = _ |
| 29 | rw [map_mul, map_mul] |
| 30 | change U.map f * M.adjugate.map f * V.map f = _ |
| 31 | exact congrArg (fun X : Matrix (Fin 3) (Fin 3) S => U.map f * X * V.map f) (f.map_adjugate M) |
| 32 | |
| 33 | def quadraticPolynomialMatrix (d half invTwoRoot : R) (U V M : Matrix (Fin 3) (Fin 3) R) : |
| 34 | Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic R d) := fun i j => |
| 35 | ⟨(M i j + dualPolynomialMatrix U V M i j) * half, |
| 36 | (M i j - dualPolynomialMatrix U V M i j) * invTwoRoot⟩ |
| 37 | |
| 38 | theorem quadraticPolynomialMatrix_map (d half invTwoRoot : R) |
| 39 | (U V M : Matrix (Fin 3) (Fin 3) R) (f : R →+* S) : |
| 40 | (quadraticPolynomialMatrix d half invTwoRoot U V M).map (Geometry.ComplexBall.ArithmeticQuotientEquationsData.quadraticMap d f) = |
| 41 | quadraticPolynomialMatrix (f d) (f half) (f invTwoRoot) (U.map f) (V.map f) (M.map f) := by |
| 42 | apply Matrix.ext |
| 43 | intro i j |
| 44 | have h := congrArg (fun A : Matrix (Fin 3) (Fin 3) S => A i j) (dualPolynomialMatrix_map U V M f) |
| 45 | change f (dualPolynomialMatrix U V M i j) = dualPolynomialMatrix (U.map f) (V.map f) (M.map f) i j at h |
| 46 | apply QuadraticAlgebra.ext |
| 47 | · change f ((M i j + dualPolynomialMatrix U V M i j) * half) = _ |
| 48 | simp only [quadraticPolynomialMatrix, map_mul, map_add, h, Matrix.map_apply] |
| 49 | · change f ((M i j - dualPolynomialMatrix U V M i j) * invTwoRoot) = _ |
| 50 | simp only [quadraticPolynomialMatrix, map_mul, map_sub, h, Matrix.map_apply] |
| 51 | |
| 52 | def regularPolynomialMatrix (d half invTwoRoot : R) (U V M : Matrix (Fin 3) (Fin 3) R) : |
| 53 | Matrix (Fin 6) (Fin 6) R := |
| 54 | Geometry.ComplexBall.ArithmeticQuotientEquationsData.regularMatrix d (quadraticPolynomialMatrix d half invTwoRoot U V M) |
| 55 | |
| 56 | theorem regularPolynomialMatrix_map (d half invTwoRoot : R) |
| 57 | (U V M : Matrix (Fin 3) (Fin 3) R) (f : R →+* S) : |
| 58 | (regularPolynomialMatrix d half invTwoRoot U V M).map f = |
| 59 | regularPolynomialMatrix (f d) (f half) (f invTwoRoot) (U.map f) (V.map f) (M.map f) := by |
| 60 | rw [regularPolynomialMatrix, ← Geometry.ComplexBall.ArithmeticQuotientEquationsData.regularMatrix_map, quadraticPolynomialMatrix_map] |
| 61 | rfl |
| 62 | |
| 63 | end Ring |
| 64 | |
| 65 | variable {F : Type} [Field F] [CharZero F] {d : F} |
| 66 | variable (r : F) (hr : r ^ 2 = d) (hr0 : r ≠ 0) |
| 67 | variable (H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) (hH : H.val.conjTranspose = H.val) |
| 68 | |
| 69 | theorem specialUnitaryEquivSL_inverse_matrix (A : Matrix.SpecialLinearGroup (Fin 3) F) : |
| 70 | ((SplitUnitary.Special.specialUnitaryEquivSL r hr hr0 H hH).symm A).val.val = |
| 71 | quadraticPolynomialMatrix d (2⁻¹) ((2 * r)⁻¹) |
| 72 | (SplitUnitary.plusUnits r hr hr0 H).val (SplitUnitary.plusUnits r hr hr0 H).inv A.val := by |
| 73 | let e := SplitUnitary.Special.specialUnitaryEquivSL r hr hr0 H hH |
| 74 | have hp : SplitUnitary.plusUnitary r hr hr0 H (SpecialUnitary.includeUnitary H.val (e.symm A)) = |
| 75 | Matrix.SpecialLinearGroup.toGL A := |
| 76 | Units.ext (congrArg Subtype.val (e.apply_symm_apply A)) |
| 77 | have hl := SplitUnitary.liftLinear_recovers r hr hr0 H hH (SpecialUnitary.includeUnitary H.val (e.symm A)) |
| 78 | rw [hp] at hl |
| 79 | change (e.symm A).val.val = _ |
| 80 | apply Eq.trans (congrArg Units.val hl).symm |
| 81 | change SpecialUnitary.SplitAlgebra.joinMatrix r hr hr0 A.val |
| 82 | (dualPolynomialMatrix (SplitUnitary.plusUnits r hr hr0 H).val (SplitUnitary.plusUnits r hr hr0 H).inv A.val) = _ |
| 83 | apply Matrix.ext |
| 84 | intro i j |
| 85 | apply QuadraticAlgebra.ext |
| 86 | · exact div_eq_mul_inv _ _ |
| 87 | · exact div_eq_mul_inv _ _ |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.RepresentationTheory.Theta.Adelic.UnitarySplitPolynomials |