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.AlgebraicGeometry.HodgeConjecture.CMExtraction.Reduction |
| 2 | import OAI.RepresentationTheory.Satake.GL3GL |
| 3 | |
| 4 | /-! # Borel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Borel.Iwasawa |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual upper-triangular subgroup of SL3(Qq) and its diagonal |
| 13 | integer valuations, at the literal integral special-linear level. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Matrix |
| 16 | |
| 17 | variable (q : ℕ) [Fact q.Prime] |
| 18 | |
| 19 | def upperBorel : Subgroup (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q) := |
| 20 | (RepresentationTheory.Satake.GL3GL.Core.upperBorel ℚ_[q]).comap Matrix.SpecialLinearGroup.toGL |
| 21 | |
| 22 | def toGLBorel : upperBorel q →* RepresentationTheory.Satake.GL3GL.Core.upperBorel ℚ_[q] where |
| 23 | toFun b := ⟨Matrix.SpecialLinearGroup.toGL b.val, b.property⟩ |
| 24 | map_one' := Subtype.ext Matrix.SpecialLinearGroup.toGL.map_one |
| 25 | map_mul' b c := Subtype.ext (Matrix.SpecialLinearGroup.toGL.map_mul b.val c.val) |
| 26 | |
| 27 | def diagonal : upperBorel q →* (Fin 3 → ℚ_[q]ˣ) := |
| 28 | (RepresentationTheory.Satake.GL3GL.Core.diagonal ℚ_[q]).comp (toGLBorel q) |
| 29 | |
| 30 | theorem diagonal_apply (b : upperBorel q) (i : Fin 3) : |
| 31 | ((diagonal q b i : ℚ_[q]ˣ) : ℚ_[q]) = b.val.val i i := rfl |
| 32 | |
| 33 | def unitValuation : ℚ_[q]ˣ →* Multiplicative ℤ where |
| 34 | toFun a := Multiplicative.ofAdd (a.val.valuation) |
| 35 | map_one' := congrArg Multiplicative.ofAdd Padic.valuation_one |
| 36 | map_mul' a b := congrArg Multiplicative.ofAdd (Padic.valuation_mul a.ne_zero b.ne_zero) |
| 37 | |
| 38 | def borelValuation : upperBorel q →* Multiplicative (Fin 3 → ℤ) where |
| 39 | toFun b := Multiplicative.ofAdd (fun i => (unitValuation q (diagonal q b i)).toAdd) |
| 40 | map_one' := by |
| 41 | apply Multiplicative.toAdd.injective |
| 42 | funext i |
| 43 | simp |
| 44 | map_mul' b c := by |
| 45 | apply Multiplicative.toAdd.injective |
| 46 | funext i |
| 47 | exact congrArg Multiplicative.toAdd (by |
| 48 | change unitValuation q (diagonal q (b * c) i) = _ |
| 49 | rw [map_mul] |
| 50 | exact (unitValuation q).map_mul _ _) |
| 51 | |
| 52 | theorem borelValuation_apply (b : upperBorel q) (i : Fin 3) : |
| 53 | (borelValuation q b).toAdd i = (b.val.val i i).valuation := rfl |
| 54 | |
| 55 | theorem diagonal_product (b : upperBorel q) : ∏ i, diagonal q b i = 1 := by |
| 56 | apply Units.ext |
| 57 | change (Units.coeHom ℚ_[q]) (∏ i, diagonal q b i) = (1 : ℚ_[q]) |
| 58 | rw [map_prod] |
| 59 | change (∏ i, b.val.val i i) = 1 |
| 60 | exact (Matrix.det_of_isUpperTriangular b.property).symm.trans b.val.property |
| 61 | |
| 62 | theorem borelValuation_sum (b : upperBorel q) : ∑ i, (borelValuation q b).toAdd i = 0 := by |
| 63 | have h := congrArg (unitValuation q) (diagonal_product q b) |
| 64 | rw [map_prod, map_one] at h |
| 65 | exact congrArg Multiplicative.toAdd h |
| 66 | |
| 67 | end |
| 68 | |
| 69 | /-! Construct the Iwasawa decomposition at the actual SL3(Zq) level, |
| 70 | with its full torus valuation and sum-zero lattice identity. -/ |
| 71 | |
| 72 | open scoped Classical _root_.Matrix |
| 73 | |
| 74 | variable (q : ℕ) [Fact q.Prime] |
| 75 | |
| 76 | theorem padic_valuation_zero_of_norm_one (x : ℚ_[q]) (h : ‖x‖ = 1) : x.valuation = 0 := by |
| 77 | have hx : x ≠ 0 := by |
| 78 | intro hx |
| 79 | rw [hx, norm_zero] at h |
| 80 | exact zero_ne_one h |
| 81 | have hq : 1 < (q : ℝ) := by exact_mod_cast (Fact.out : q.Prime).one_lt |
| 82 | apply neg_injective |
| 83 | apply (zpow_right_strictMono₀ hq).injective |
| 84 | change (q : ℝ) ^ (-x.valuation) = (q : ℝ) ^ (-(0 : ℤ)) |
| 85 | rw [← Padic.norm_eq_zpow_neg_valuation hx, h, neg_zero, zpow_zero] |
| 86 | |
| 87 | theorem compact_borel_valuation (b : upperBorel q) (hb : b.val ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) : |
| 88 | borelValuation q b = 1 := by |
| 89 | obtain ⟨U, hU⟩ := hb |
| 90 | have htri : U.val.IsUpperTriangular := by |
| 91 | intro i j hij |
| 92 | apply Subtype.val_injective |
| 93 | change (↑(U.val i j) : ℚ_[q]) = 0 |
| 94 | have h : b.val.val i j = 0 := b.property hij |
| 95 | rw [← hU] at h |
| 96 | exact h |
| 97 | have hunit (i : Fin 3) : IsUnit (U.val i i) := by |
| 98 | have hdet : IsUnit U.val.det := U.property.symm ▸ isUnit_one |
| 99 | rw [Matrix.det_of_isUpperTriangular htri] at hdet |
| 100 | exact (IsUnit.prod_univ_iff.mp hdet) i |
| 101 | apply Multiplicative.toAdd.injective |
| 102 | funext i |
| 103 | rw [borelValuation_apply] |
| 104 | change (b.val.val i i).valuation = 0 |
| 105 | rw [← hU] |
| 106 | apply padic_valuation_zero_of_norm_one q |
| 107 | exact PadicInt.isUnit_iff.mp (hunit i) |
| 108 | |
| 109 | def decomposition : RepresentationTheory.Satake.GL3TorusIwasawa.Iwasawa.Decomposition (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) (Fin 3 → ℤ) where |
| 110 | B := upperBorel q |
| 111 | valuation := borelValuation q |
| 112 | compact_valuation := compact_borel_valuation q |
| 113 | factorization g := by |
| 114 | obtain ⟨U, hU⟩ := Reduction.Iwasawa.integralSL3_reduction q g |
| 115 | let u := Matrix.SpecialLinearGroup.map (PadicInt.Coe.ringHom (p := q)) U |
| 116 | refine ⟨⟨g * u, hU⟩, ⟨u⁻¹, (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q).inv_mem ⟨U, rfl⟩⟩, ?_⟩ |
| 117 | change g = (g * u) * u⁻¹ |
| 118 | rw [mul_assoc, mul_inv_cancel, mul_one] |
| 119 | |
| 120 | theorem height_sum (x : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) : |
| 121 | ∑ i, (decomposition q).height x i = 0 := |
| 122 | borelValuation_sum q ((decomposition q).representative x) |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Borel.Iwasawa |