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.DiagonalWeightIntegration |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.PolynomialConjugation |
| 3 | |
| 4 | /-! # Conjugated Weight Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ConjugatedWeightCoordinates.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Integer weight integration in a rationally conjugated basis. The |
| 13 | translated vanishing subspace is stable under the diagonal Euler |
| 14 | derivation and all of its weight components vanish at the identity. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | open _root_.Matrix _root_.MvPolynomial |
| 18 | |
| 19 | theorem evaluate_polynomialConjugation_base |
| 20 | {k K : Type} [Field k] [Field K] {n : ℕ} |
| 21 | (v : k →+* K) (b : Algebraic.SL n k) (x : Algebraic.SL n K) (p : Algebraic.CoordinatePolynomial n k) : |
| 22 | Algebraic.evaluateMatrix v x (PolynomialConjugation.Construction.polynomialConjugation b p) = |
| 23 | Algebraic.evaluateMatrix v (Matrix.SpecialLinearGroup.map v b * x * (Matrix.SpecialLinearGroup.map v b)⁻¹) p := by |
| 24 | change Algebraic.evaluateMatrix v x |
| 25 | (LeftTranslation.Construction.leftTranslate (b : Matrix (Fin n) (Fin n) k) |
| 26 | (PolynomialAction.Construction.rightTranslate ((b⁻¹ : Algebraic.SL n k) : Matrix (Fin n) (Fin n) k) p)) = _ |
| 27 | rw [LeftTranslation.Construction.leftTranslate_evaluate, PolynomialAction.Construction.rightTranslate_evaluate, map_inv] |
| 28 | |
| 29 | def conjugatedVanishingSubspace |
| 30 | {k : Type} [Field k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) (b : Algebraic.SL n k) : |
| 31 | Submodule k (Algebraic.CoordinatePolynomial n k) := |
| 32 | ((VanishingIdeal.Construction.coordinateVanishingIdeal G).restrictScalars k).map (PolynomialConjugation.Construction.polynomialConjugation b).toLinearMap |
| 33 | |
| 34 | theorem conjugatedVanishingSubspace_integer_weight_stable |
| 35 | {k : Type} [Field k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) |
| 36 | (b : Algebraic.SL n k) (w : Fin n → ℤ) |
| 37 | (hw : (b : Matrix (Fin n) (Fin n) k) * Matrix.diagonal (fun i => (w i : k)) * |
| 38 | ((b⁻¹ : Algebraic.SL n k) : Matrix (Fin n) (Fin n) k) ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G) : |
| 39 | ∀ p ∈ conjugatedVanishingSubspace G b, |
| 40 | IntegerWeightDerivation.Construction.integerWeightDerivation (fun ij : Fin n × Fin n => w ij.2) p ∈ conjugatedVanishingSubspace G b := by |
| 41 | rintro _ ⟨p, hp, rfl⟩ |
| 42 | change IntegerWeightDerivation.Construction.integerWeightDerivation _ (PolynomialConjugation.Construction.polynomialConjugation b p) ∈ _ |
| 43 | rw [← IntegerWeightDerivation.Construction.rightInfinitesimal_integer_diagonal, PolynomialConjugation.Construction.derivative_polynomialConjugation] |
| 44 | exact ⟨_, (Infinitesimal.Action.Construction.mem_infinitesimalStabilizer G _).mp hw p hp, rfl⟩ |
| 45 | |
| 46 | theorem conjugatedVanishingSubspace_evaluate_one |
| 47 | {k K : Type} [Field k] [Field K] {n : ℕ} |
| 48 | (G : Algebraic.MatrixAlgebraicGroup k n) (b : Algebraic.SL n k) (v : k →+* K) |
| 49 | {p : Algebraic.CoordinatePolynomial n k} (hp : p ∈ conjugatedVanishingSubspace G b) : |
| 50 | Algebraic.evaluateMatrix v (1 : Algebraic.SL n K) p = 0 := by |
| 51 | obtain ⟨q, hq, rfl⟩ := hp |
| 52 | change Algebraic.evaluateMatrix v (1 : Algebraic.SL n K) (PolynomialConjugation.Construction.polynomialConjugation b q) = 0 |
| 53 | rw [evaluate_polynomialConjugation_base, mul_one, mul_inv_cancel] |
| 54 | exact hq K v (1 : G.Points v) |
| 55 | |
| 56 | theorem diagonalWeightSL_vanishes_of_invariant_subspace |
| 57 | {k K : Type} [Field k] [CharZero k] [Field K] {n : ℕ} |
| 58 | (v : k →+* K) (w : Fin n → ℤ) (hw : ∑ i, w i = 0) (t : Kˣ) |
| 59 | (W : Submodule k (Algebraic.CoordinatePolynomial n k)) |
| 60 | (hW : ∀ p ∈ W, IntegerWeightDerivation.Construction.integerWeightDerivation (fun ij : Fin n × Fin n => w ij.2) p ∈ W) |
| 61 | (hone : ∀ p ∈ W, Algebraic.evaluateMatrix v (1 : Algebraic.SL n K) p = 0) |
| 62 | {p : Algebraic.CoordinatePolynomial n k} (hp : p ∈ W) : |
| 63 | Algebraic.evaluateMatrix v (DiagonalWeightIntegration.Construction.diagonalWeightSL K w hw t) p = 0 := by |
| 64 | let weight := fun ij : Fin n × Fin n => w ij.2 |
| 65 | conv_lhs => rw [← IntegerWeightComponents.Construction.sum_integerWeightComponents weight p] |
| 66 | rw [map_sum] |
| 67 | apply Finset.sum_eq_zero |
| 68 | intro z _ |
| 69 | rw [DiagonalWeightIntegration.Construction.evaluate_diagonalWeightSL_homogeneous v w hw t _ z |
| 70 | (weightedHomogeneousComponent_isWeightedHomogeneous z p), |
| 71 | hone _ (IntegerWeightComponents.Construction.integerWeightComponent_mem_of_invariant weight W hW hp z), mul_zero] |
| 72 | |
| 73 | theorem conjugate_diagonalWeightSL_mem_group |
| 74 | {k K : Type} [Field k] [CharZero k] [Field K] {n : ℕ} |
| 75 | (G : Algebraic.MatrixAlgebraicGroup k n) (b : Algebraic.SL n k) (w : Fin n → ℤ) |
| 76 | (hsum : ∑ i, w i = 0) |
| 77 | (hw : (b : Matrix (Fin n) (Fin n) k) * Matrix.diagonal (fun i => (w i : k)) * |
| 78 | ((b⁻¹ : Algebraic.SL n k) : Matrix (Fin n) (Fin n) k) ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G) |
| 79 | (v : k →+* K) (t : Kˣ) : |
| 80 | Matrix.SpecialLinearGroup.map v b * DiagonalWeightIntegration.Construction.diagonalWeightSL K w hsum t * (Matrix.SpecialLinearGroup.map v b)⁻¹ ∈ |
| 81 | G.subgroup K v := by |
| 82 | apply (VanishingIdeal.Construction.mem_group_iff_vanishingIdeal G v _).mpr |
| 83 | intro p hp |
| 84 | rw [← evaluate_polynomialConjugation_base] |
| 85 | exact diagonalWeightSL_vanishes_of_invariant_subspace v w hsum t |
| 86 | (conjugatedVanishingSubspace G b) (conjugatedVanishingSubspace_integer_weight_stable G b w hw) |
| 87 | (fun _ hq => conjugatedVanishingSubspace_evaluate_one G b v hq) ⟨p, hp, rfl⟩ |
| 88 | |
| 89 | end |
| 90 | |
| 91 | /-! Regular two-variable coordinates for rationally conjugated |
| 92 | integer-weight matrix homomorphisms. -/ |
| 93 | |
| 94 | open scoped Classical |
| 95 | open _root_.Matrix _root_.MvPolynomial |
| 96 | |
| 97 | def conjugatedWeightCoordinates |
| 98 | {k : Type} [Field k] {n : ℕ} (b : Algebraic.SL n k) (w : Fin n → ℤ) : |
| 99 | Matrix (Fin n) (Fin n) (MvPolynomial (Fin 2) k) := |
| 100 | (b : Matrix (Fin n) (Fin n) k).map MvPolynomial.C * Matrix.diagonal (fun i => DiagonalWeightIntegration.Construction.integerPowerPair k (w i)) * |
| 101 | ((b⁻¹ : Algebraic.SL n k) : Matrix (Fin n) (Fin n) k).map MvPolynomial.C |
| 102 | |
| 103 | theorem evaluate_conjugatedWeightCoordinates |
| 104 | {k K : Type} [Field k] [Field K] {n : ℕ} |
| 105 | (v : k →+* K) (b : Algebraic.SL n k) (w : Fin n → ℤ) (hsum : ∑ i, w i = 0) (t : Kˣ) : |
| 106 | (MvPolynomial.eval₂Hom v (fun i : Fin 2 => if i = 0 then (t : K) else ((t⁻¹ : Kˣ) : K))).mapMatrix |
| 107 | (conjugatedWeightCoordinates b w) = |
| 108 | ((Matrix.SpecialLinearGroup.map v b * DiagonalWeightIntegration.Construction.diagonalWeightSL K w hsum t * |
| 109 | (Matrix.SpecialLinearGroup.map v b)⁻¹ : Algebraic.SL n K) : Matrix (Fin n) (Fin n) K) := by |
| 110 | let ev := MvPolynomial.eval₂Hom v (fun i : Fin 2 => if i = 0 then (t : K) else ((t⁻¹ : Kˣ) : K)) |
| 111 | have heC (A : Matrix (Fin n) (Fin n) k) : ev.mapMatrix (A.map MvPolynomial.C) = A.map v := by |
| 112 | ext i j |
| 113 | exact MvPolynomial.eval₂_C _ _ _ |
| 114 | have heD : ev.mapMatrix (Matrix.diagonal (fun i => DiagonalWeightIntegration.Construction.integerPowerPair k (w i))) = |
| 115 | Matrix.diagonal (fun i => ((t ^ w i : Kˣ) : K)) := by |
| 116 | ext i j |
| 117 | change ev (if i = j then DiagonalWeightIntegration.Construction.integerPowerPair k (w i) else 0) = |
| 118 | if i = j then ((t ^ w i : Kˣ) : K) else 0 |
| 119 | split_ifs |
| 120 | · exact DiagonalWeightIntegration.Construction.eval_integerPowerPair v t (w i) |
| 121 | · exact map_zero ev |
| 122 | change ev.mapMatrix (_ * _ * _) = _ |
| 123 | rw [map_mul, map_mul, heC, heC, heD] |
| 124 | rw [← map_inv] |
| 125 | rfl |
| 126 | |
| 127 | theorem conjugated_integer_diagonal_trace_zero_weights |
| 128 | {k : Type} [Field k] [CharZero k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) |
| 129 | (b : Algebraic.SL n k) (w : Fin n → ℤ) |
| 130 | (hw : (b : Matrix (Fin n) (Fin n) k) * Matrix.diagonal (fun i => (w i : k)) * |
| 131 | ((b⁻¹ : Algebraic.SL n k) : Matrix (Fin n) (Fin n) k) ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G) : ∑ i, w i = 0 := by |
| 132 | have ht := Infinitesimal.Trace.Construction.infinitesimalStabilizer_trace_zero G hw |
| 133 | rw [Matrix.trace_mul_comm, ← Matrix.mul_assoc, ← Matrix.SpecialLinearGroup.coe_mul, |
| 134 | inv_mul_cancel, Matrix.SpecialLinearGroup.coe_one, Matrix.one_mul, Matrix.trace_diagonal] at ht |
| 135 | apply Int.cast_injective (α := k) |
| 136 | simpa only [Int.cast_sum, Int.cast_zero] using ht |
| 137 | |
| 138 | end |
| 139 | |
| 140 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ConjugatedWeightCoordinates.Construction |