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.ArithmeticGroups.Lattices.Infinitesimal.Evaluation |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialConstants |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.GenericPoint |
| 4 | |
| 5 | /-! # Polynomial Constants -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Infinitesimal.PolynomialConstants.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On a geometrically connected characteristic-zero matrix group, |
| 12 | polynomials killed by every infinitesimal right action are constant. |
| 13 | This is proved using the generic point and derivations of its function |
| 14 | field, and the result holds on points over every extension field. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | |
| 18 | theorem infinitesimal_invariant_constant_of_algClosed |
| 19 | {k : Type} [Field k] [CharZero k] [IsAlgClosed k] {n : ℕ} |
| 20 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 21 | (p : Algebraic.CoordinatePolynomial n k) |
| 22 | (hp : ∀ A ∈ Action.Construction.infinitesimalStabilizer G, Action.Construction.rightInfinitesimal A p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G) : |
| 23 | p - MvPolynomial.C (Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) p) ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G := by |
| 24 | let : (VanishingIdeal.Construction.coordinateVanishingIdeal G).IsPrime := GeometricIrreducibility.Construction.coordinateVanishingIdeal_isPrime G hG |
| 25 | let K := GenericPoint.Construction.MatrixFunctionField G |
| 26 | let : Algebra k K := (GenericPoint.Construction.genericBaseEmbedding G).toAlgebra |
| 27 | let : Module k K := Algebra.toModule |
| 28 | let g : (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K)).RationalPoints := |
| 29 | ⟨GenericPoint.Construction.genericSL G, by |
| 30 | change GenericPoint.Construction.genericSL G ∈ G.subgroup K ((RingHom.id K).comp (GenericPoint.Construction.genericBaseEmbedding G)) |
| 31 | rw [RingHom.id_comp] |
| 32 | exact GenericPoint.Construction.genericSL_mem G⟩ |
| 33 | have hz (D : Derivation k K K) : D (GenericPoint.Construction.genericCoordinateHom G p) = 0 := by |
| 34 | have hh := Evaluation.Construction.infinitesimal_invariant_derivation_zero G hG p hp g D |
| 35 | change D (Algebraic.evaluateMatrix (GenericPoint.Construction.genericBaseEmbedding G) (GenericPoint.Construction.genericSL G) p) = 0 at hh |
| 36 | rwa [GenericPoint.Construction.evaluate_genericSL] at hh |
| 37 | obtain ⟨c, hc⟩ := DifferentialConstants.Construction.constant_of_all_derivations_zero (k := k) (K := K) (GenericPoint.Construction.genericCoordinateHom G p) hz |
| 38 | have hpc : p - MvPolynomial.C c ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G := by |
| 39 | apply (GenericPoint.Construction.genericCoordinateHom_eq_zero_iff G _).mp |
| 40 | rw [map_sub] |
| 41 | exact sub_eq_zero.mpr hc.symm |
| 42 | have he0 : Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) (p - MvPolynomial.C c) = 0 := |
| 43 | hpc k (RingHom.id k) (1 : G.RationalPoints) |
| 44 | have hC : Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) (MvPolynomial.C c) = c := by |
| 45 | simp [Algebraic.evaluateMatrix] |
| 46 | rw [map_sub, hC, sub_eq_zero] at he0 |
| 47 | rw [he0] |
| 48 | exact hpc |
| 49 | |
| 50 | theorem infinitesimal_invariant_constant |
| 51 | {k : Type} [Field k] [CharZero k] {n : ℕ} |
| 52 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 53 | (p : Algebraic.CoordinatePolynomial n k) |
| 54 | (hp : ∀ A ∈ Action.Construction.infinitesimalStabilizer G, Action.Construction.rightInfinitesimal A p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G) : |
| 55 | p - MvPolynomial.C (Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) p) ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G := by |
| 56 | let K := AlgebraicClosure k |
| 57 | let H := BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K) |
| 58 | let pK := MvPolynomial.map (algebraMap k K) p |
| 59 | have hpK : ∀ A ∈ Action.Construction.infinitesimalStabilizer H, Action.Construction.rightInfinitesimal A pK ∈ VanishingIdeal.Construction.coordinateVanishingIdeal H := by |
| 60 | intro A hA |
| 61 | apply (BaseChange.Construction.mem_vanishingIdeal_iff_rational_of_algClosed H _).mpr |
| 62 | intro g |
| 63 | exact Evaluation.Construction.infinitesimal_invariant_evaluate_baseChange G hG p hp g hA |
| 64 | have hconst := infinitesimal_invariant_constant_of_algClosed H |
| 65 | (ConnectedBaseChange.Construction.geometrically_connected_baseChange G hG) pK hpK |
| 66 | rw [← GeometricIrreducibility.Construction.geometricVanishingIdeal_comap G, Ideal.mem_comap, ConnectedBaseChange.Construction.geometricVanishingIdeal_eq_baseChange_ideal] |
| 67 | simpa only [pK, H, K, map_sub, MvPolynomial.map_C, CoefficientMap.Construction.evaluate_one_coefficient_map] using hconst |
| 68 | |
| 69 | theorem evaluate_infinitesimal_invariant_constant |
| 70 | {k K : Type} [Field k] [CharZero k] [Field K] {n : ℕ} |
| 71 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 72 | (p : Algebraic.CoordinatePolynomial n k) |
| 73 | (hp : ∀ A ∈ Action.Construction.infinitesimalStabilizer G, Action.Construction.rightInfinitesimal A p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G) |
| 74 | (ι : k →+* K) (g : G.Points ι) : |
| 75 | Algebraic.evaluateMatrix ι g.val p = ι (Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) p) := by |
| 76 | have h := infinitesimal_invariant_constant G hG p hp K ι g |
| 77 | change Algebraic.evaluateMatrix ι g.val (p - MvPolynomial.C _) = 0 at h |
| 78 | rw [map_sub] at h |
| 79 | have hC (c : k) : Algebraic.evaluateMatrix ι g.val (MvPolynomial.C c) = ι c := by simp [Algebraic.evaluateMatrix] |
| 80 | rw [hC] at h |
| 81 | exact sub_eq_zero.mp h |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Infinitesimal.PolynomialConstants.Construction |