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.DifferentialHullGroup |
| 2 | |
| 3 | /-! # Differential Hull -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.DifferentialHull.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A finite algebraic hull has no nonzero infinitesimal matrix |
| 10 | directions. The proof separates the finitely many coordinate values |
| 11 | by square-free polynomials. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.MvPolynomial |
| 15 | |
| 16 | theorem finite_differentialHull_direction_zero |
| 17 | {k : Type} [Field k] [CharZero k] [IsAlgClosed k] {n : ℕ} |
| 18 | (G : Algebraic.MatrixAlgebraicGroup k n) (S : Set (Matrix (Fin n) (Fin n) k)) |
| 19 | (hS : S ⊆ Infinitesimal.Action.Construction.infinitesimalStabilizer G) [Finite (DifferentialHullGroup.Construction.differentialHullSubgroup G S)] |
| 20 | {A : Matrix (Fin n) (Fin n) k} (hA : A ∈ S) : A = 0 := by |
| 21 | let : Fintype (DifferentialHullGroup.Construction.differentialHullSubgroup G S) := Fintype.ofFinite _ |
| 22 | ext i j |
| 23 | let c : k := (1 : Matrix (Fin n) (Fin n) k) i j |
| 24 | let T : Finset k := Finset.univ.image (fun g : DifferentialHullGroup.Construction.differentialHullSubgroup G S => g.val.val i j) |
| 25 | let q : Algebraic.CoordinatePolynomial n k := ∏ r ∈ T.erase c, (X (i, j) - C r) |
| 26 | let p : Algebraic.CoordinatePolynomial n k := (X (i, j) - C c) * q |
| 27 | have hp : p ∈ DifferentialHullGroup.Construction.hullVanishingIdeal G S := by |
| 28 | apply Ideal.mem_iInf.mpr |
| 29 | intro g |
| 30 | change Algebraic.evaluateMatrix (RingHom.id k) g.val.val p = 0 |
| 31 | dsimp only [p, q] |
| 32 | have hx : Algebraic.evaluateMatrix (RingHom.id k) g.val.val (X (i, j)) = g.val.val i j := by |
| 33 | simp [Algebraic.evaluateMatrix] |
| 34 | have hC (r : k) : Algebraic.evaluateMatrix (RingHom.id k) g.val.val (C r) = r := by |
| 35 | simp [Algebraic.evaluateMatrix] |
| 36 | simp only [map_mul, map_prod, map_sub, hx, hC] |
| 37 | by_cases hg : g.val.val i j = c |
| 38 | · rw [hg, sub_self, zero_mul] |
| 39 | · have hgT : g.val.val i j ∈ T.erase c := |
| 40 | Finset.mem_erase.mpr ⟨hg, Finset.mem_image.mpr ⟨g, Finset.mem_univ g, rfl⟩⟩ |
| 41 | have hz : ∏ r ∈ T.erase c, (g.val.val i j - r) = 0 := |
| 42 | Finset.prod_eq_zero hgT (sub_self _) |
| 43 | rw [hz, mul_zero] |
| 44 | rw [DifferentialHullGroup.Construction.hullVanishingIdeal_eq_core G S hS] at hp |
| 45 | have hd := MatrixDifferential.Construction.matrixDifferentialCore_eval_one S (MatrixDifferential.Construction.matrixDifferentialCore_derivative S hA hp) |
| 46 | have hc : Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) (X (i, j) - C c) = 0 := by |
| 47 | simp [Algebraic.evaluateMatrix, c] |
| 48 | have hder : Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) |
| 49 | (Infinitesimal.Action.Construction.rightInfinitesimal A (X (i, j) - C c)) = A i j := by |
| 50 | rw [map_sub, Infinitesimal.Action.Construction.rightInfinitesimal_C, sub_zero, Infinitesimal.Action.Construction.evaluate_rightInfinitesimal_X] |
| 51 | have hq : Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) q ≠ 0 := by |
| 52 | dsimp only [q] |
| 53 | rw [map_prod] |
| 54 | apply Finset.prod_ne_zero_iff.mpr |
| 55 | intro r hr |
| 56 | have hrc := (Finset.mem_erase.mp hr).1 |
| 57 | have hrval : Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) (X (i, j) - C r) = c - r := by |
| 58 | simp [Algebraic.evaluateMatrix, c] |
| 59 | rw [hrval, sub_ne_zero] |
| 60 | exact Ne.symm hrc |
| 61 | change Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) |
| 62 | (Infinitesimal.Action.Construction.rightInfinitesimal A ((X (i, j) - C c) * q)) = 0 at hd |
| 63 | rw [Derivation.leibniz, smul_eq_mul, smul_eq_mul, map_add, map_mul, map_mul, |
| 64 | hc, hder, zero_mul, zero_add] at hd |
| 65 | exact (mul_eq_zero.mp hd).resolve_left hq |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.DifferentialHull.Construction |