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.UnipotentOneParameter |
| 2 | import Mathlib.Topology.Algebra.Polynomial |
| 3 | |
| 4 | /-! # Polynomial Additive Curves -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.PolynomialAdditiveCurves |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Polynomial additive curves defined over the ground field, with their |
| 11 | compatible points over every extension field. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable {F : Type} [Field F] {n : ℕ} |
| 16 | |
| 17 | structure PolynomialAdditiveCurve (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) where |
| 18 | coordinates : Matrix (Fin n) (Fin n) (Polynomial F) |
| 19 | hom : (K : Type) → [Field K] → (ρ : F →+* K) → (Multiplicative K →* G.Points ρ) |
| 20 | coordinate_eq : ∀ (K : Type) [Field K] (ρ : F →+* K) (t : K) (i j : Fin n), |
| 21 | PolynomialGaloisNorm.matrixPointsHom G ρ (hom K ρ (Multiplicative.ofAdd t)) i j = |
| 22 | (coordinates i j).eval₂ ρ t |
| 23 | |
| 24 | namespace PolynomialAdditiveCurve |
| 25 | |
| 26 | variable {G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n} (u : PolynomialAdditiveCurve G) |
| 27 | |
| 28 | theorem map_point {K L : Type} [Field K] [Field L] (ρ : F →+* K) (σ : K →+* L) (t : K) : |
| 29 | G.map ρ σ (u.hom K ρ (Multiplicative.ofAdd t)) = |
| 30 | u.hom L (σ.comp ρ) (Multiplicative.ofAdd (σ t)) := by |
| 31 | apply Subtype.ext |
| 32 | apply Matrix.SpecialLinearGroup.ext |
| 33 | intro i j |
| 34 | change σ (PolynomialGaloisNorm.matrixPointsHom G ρ (u.hom K ρ (Multiplicative.ofAdd t)) i j) = _ |
| 35 | rw [u.coordinate_eq] |
| 36 | change _ = PolynomialGaloisNorm.matrixPointsHom G (σ.comp ρ) (u.hom L (σ.comp ρ) (Multiplicative.ofAdd (σ t))) i j |
| 37 | rw [u.coordinate_eq] |
| 38 | exact Polynomial.hom_eval₂ _ _ _ _ |
| 39 | |
| 40 | theorem continuous_point {K : Type} [Field K] [TopologicalSpace K] [IsTopologicalRing K] |
| 41 | (ρ : F →+* K) : Continuous (fun t : K => u.hom K ρ (Multiplicative.ofAdd t)) := by |
| 42 | apply continuous_induced_rng.mpr |
| 43 | apply continuous_induced_rng.mpr |
| 44 | apply continuous_matrix |
| 45 | intro i j |
| 46 | change Continuous (fun t : K => PolynomialGaloisNorm.matrixPointsHom G ρ (u.hom K ρ (Multiplicative.ofAdd t)) i j) |
| 47 | simp only [u.coordinate_eq] |
| 48 | exact (u.coordinates i j).continuous_eval₂ ρ |
| 49 | |
| 50 | end PolynomialAdditiveCurve |
| 51 | |
| 52 | variable [CharZero F] |
| 53 | |
| 54 | omit [CharZero F] in |
| 55 | theorem polynomial_curve_hom_of_nat_powers (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 56 | {K : Type} [Field K] [CharZero K] (ρ : F →+* K) |
| 57 | (P : Matrix (Fin n) (Fin n) (Polynomial K)) (g : G.Points ρ) |
| 58 | (hP : ∀ m : ℕ, PolynomialMatrixCurves.evalPolynomialMatrix P (m : K) = PolynomialGaloisNorm.matrixPointsHom G ρ g ^ m) : |
| 59 | ∃ u : Multiplicative K →* G.Points ρ, |
| 60 | ∀ t : K, PolynomialGaloisNorm.matrixPointsHom G ρ (u (Multiplicative.ofAdd t)) = PolynomialMatrixCurves.evalPolynomialMatrix P t := by |
| 61 | have hNat (m : ℕ) : ∃ g₀ : G.Points ρ, PolynomialGaloisNorm.matrixPointsHom G ρ g₀ = PolynomialMatrixCurves.evalPolynomialMatrix P (m : K) := by |
| 62 | refine ⟨g ^ m, ?_⟩ |
| 63 | rw [map_pow, hP] |
| 64 | choose q hq using PolynomialCurveGroupPoints.polynomial_curve_mem_group_of_nat G ρ P hNat |
| 65 | refine ⟨{ toFun a := q a.toAdd, map_one' := ?_, map_mul' := ?_ }, hq⟩ |
| 66 | · apply PolynomialGaloisNorm.matrixPointsHom_injective G ρ |
| 67 | change PolynomialGaloisNorm.matrixPointsHom G ρ (q 0) = PolynomialGaloisNorm.matrixPointsHom G ρ 1 |
| 68 | rw [map_one, hq] |
| 69 | simpa only [Nat.cast_zero, pow_zero] using hP 0 |
| 70 | · intro a b |
| 71 | apply PolynomialGaloisNorm.matrixPointsHom_injective G ρ |
| 72 | change PolynomialGaloisNorm.matrixPointsHom G ρ (q (a.toAdd + b.toAdd)) = PolynomialGaloisNorm.matrixPointsHom G ρ (q a.toAdd * q b.toAdd) |
| 73 | rw [map_mul, hq, hq, hq] |
| 74 | exact PolynomialMatrixCurves.polynomialMatrix_add_law_of_nat_powers P (PolynomialGaloisNorm.matrixPointsHom G ρ g) hP a.toAdd b.toAdd |
| 75 | |
| 76 | theorem unipotent_point_has_polynomialAdditiveCurve (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 77 | (g : G.RationalPoints) (hg : IsNilpotent (PolynomialGaloisNorm.matrixPointsHom G (RingHom.id F) g - 1)) : |
| 78 | ∃ u : PolynomialAdditiveCurve G, u.hom F (RingHom.id F) (Multiplicative.ofAdd 1) = g := by |
| 79 | obtain ⟨P, hP⟩ := PolynomialMatrixCurves.unipotent_has_polynomial_powers (PolynomialGaloisNorm.matrixPointsHom G (RingHom.id F) g) hg |
| 80 | have hK (K : Type) [Field K] (ρ : F →+* K) : |
| 81 | ∃ u : Multiplicative K →* G.Points ρ, |
| 82 | ∀ t : K, PolynomialGaloisNorm.matrixPointsHom G ρ (u (Multiplicative.ofAdd t)) = |
| 83 | PolynomialMatrixCurves.evalPolynomialMatrix (P.map (Polynomial.map ρ)) t := by |
| 84 | let : CharZero K := charZero_of_injective_ringHom ρ.injective |
| 85 | apply polynomial_curve_hom_of_nat_powers G ρ _ (G.map (RingHom.id F) ρ g) |
| 86 | intro m |
| 87 | have he : PolynomialMatrixCurves.evalPolynomialMatrix (P.map (Polynomial.map ρ)) (m : K) = |
| 88 | (PolynomialMatrixCurves.evalPolynomialMatrix P (m : F)).map ρ := by |
| 89 | apply Matrix.ext |
| 90 | intro i j |
| 91 | change ((P i j).map ρ).eval (m : K) = ρ ((P i j).eval (m : F)) |
| 92 | rw [← map_natCast ρ m, Polynomial.eval_map_apply] |
| 93 | rw [he, hP] |
| 94 | exact map_pow ρ.mapMatrix _ m |
| 95 | choose u hu using hK |
| 96 | let c : PolynomialAdditiveCurve G := { |
| 97 | coordinates := P |
| 98 | hom := u |
| 99 | coordinate_eq K _ ρ t i j := by |
| 100 | rw [hu] |
| 101 | exact Polynomial.eval_map ρ t } |
| 102 | refine ⟨c, ?_⟩ |
| 103 | apply PolynomialGaloisNorm.matrixPointsHom_injective G (RingHom.id F) |
| 104 | apply Matrix.ext |
| 105 | intro i j |
| 106 | rw [c.coordinate_eq] |
| 107 | change (P i j).eval 1 = _ |
| 108 | have he := congrFun (congrFun (hP 1) i) j |
| 109 | simpa only [Nat.cast_one, pow_one] using! he |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.NumberTheory.Quaternion.Arithmetic.PolynomialAdditiveCurves |