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.PolynomialMatrixCurves |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.PolynomialGaloisNorm |
| 3 | |
| 4 | /-! # Polynomial Curve Group Points -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.PolynomialCurveGroupPoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A polynomial matrix curve whose natural-number values belong to |
| 11 | an algebraic group belongs to that group at every field parameter. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable {F K : Type} [Field F] [Field K] [CharZero K] {n : ℕ} |
| 16 | |
| 17 | omit [CharZero K] in |
| 18 | theorem evalPolynomialMatrix_det (P : Matrix (Fin n) (Fin n) (Polynomial K)) (t : K) : |
| 19 | P.det.eval t = (PolynomialMatrixCurves.evalPolynomialMatrix P t).det := |
| 20 | RingHom.map_det (Polynomial.evalRingHom t) P |
| 21 | |
| 22 | omit [CharZero K] in |
| 23 | theorem eval_polynomial_matrix_equation (ρ : F →+* K) |
| 24 | (P : Matrix (Fin n) (Fin n) (Polynomial K)) (p : ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n F) (t : K) : |
| 25 | (MvPolynomial.eval₂Hom (Polynomial.C.comp ρ) (fun ij => P ij.1 ij.2) p).eval t = |
| 26 | MvPolynomial.eval₂Hom ρ (fun ij => PolynomialMatrixCurves.evalPolynomialMatrix P t ij.1 ij.2) p := by |
| 27 | change (Polynomial.evalRingHom t) (MvPolynomial.eval₂Hom (Polynomial.C.comp ρ) _ p) = _ |
| 28 | rw [MvPolynomial.map_eval₂Hom] |
| 29 | have hc : (Polynomial.evalRingHom t).comp (Polynomial.C.comp ρ) = ρ := by |
| 30 | ext c |
| 31 | exact Polynomial.eval_C |
| 32 | rw [hc] |
| 33 | rfl |
| 34 | |
| 35 | theorem polynomial_curve_mem_group_of_nat (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (ρ : F →+* K) |
| 36 | (P : Matrix (Fin n) (Fin n) (Polynomial K)) |
| 37 | (hNat : ∀ m : ℕ, ∃ g : G.Points ρ, PolynomialGaloisNorm.matrixPointsHom G ρ g = PolynomialMatrixCurves.evalPolynomialMatrix P (m : K)) |
| 38 | (t : K) : ∃ g : G.Points ρ, PolynomialGaloisNorm.matrixPointsHom G ρ g = PolynomialMatrixCurves.evalPolynomialMatrix P t := by |
| 39 | have hdetP : P.det = 1 := by |
| 40 | apply BinomialPolynomials.polynomial_eq_of_nat_evaluations |
| 41 | intro m |
| 42 | obtain ⟨g, hg⟩ := hNat m |
| 43 | rw [Polynomial.eval_one, evalPolynomialMatrix_det, ← hg] |
| 44 | exact g.val.property |
| 45 | have hdet : (PolynomialMatrixCurves.evalPolynomialMatrix P t).det = 1 := by |
| 46 | rw [← evalPolynomialMatrix_det, hdetP, Polynomial.eval_one] |
| 47 | let g : ArithmeticGroups.Lattices.Algebraic.SL n K := ⟨PolynomialMatrixCurves.evalPolynomialMatrix P t, hdet⟩ |
| 48 | have hmem : g ∈ G.subgroup K ρ := by |
| 49 | apply (G.mem_iff K ρ g).mpr |
| 50 | intro p hp |
| 51 | have hzero : MvPolynomial.eval₂Hom (Polynomial.C.comp ρ) (fun ij => P ij.1 ij.2) p = 0 := by |
| 52 | apply BinomialPolynomials.polynomial_eq_of_nat_evaluations |
| 53 | intro m |
| 54 | obtain ⟨g₀, hg₀⟩ := hNat m |
| 55 | rw [Polynomial.eval_zero, eval_polynomial_matrix_equation, ← hg₀] |
| 56 | exact (G.mem_iff K ρ g₀.val).mp g₀.property p hp |
| 57 | change MvPolynomial.eval₂Hom ρ (fun ij => PolynomialMatrixCurves.evalPolynomialMatrix P t ij.1 ij.2) p = 0 |
| 58 | rw [← eval_polynomial_matrix_equation, hzero, Polynomial.eval_zero] |
| 59 | exact ⟨⟨g, hmem⟩, rfl⟩ |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.Quaternion.Arithmetic.PolynomialCurveGroupPoints |