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.RepresentationTheory.Satake.Reduction |
| 2 | import Mathlib.Topology.Algebra.Valued.NormedValued |
| 3 | |
| 4 | /-! # Padic Integral Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PadicIntegralCoordinates.Iwasawa |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Identify the valuation ring used in the proved Iwasawa reduction |
| 11 | with the actual p-adic integers, preserving the inclusion into Qq. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable (q : ℕ) [Fact q.Prime] |
| 16 | |
| 17 | @[instance_reducible] def padicNormRelation : ValuativeRel ℚ_[q] := |
| 18 | ValuativeRel.ofValuation (NormedField.valuation (K := ℚ_[q])) |
| 19 | |
| 20 | attribute [local instance] padicNormRelation |
| 21 | |
| 22 | theorem valuation_integer_iff (x : ℚ_[q]) : |
| 23 | ValuativeRel.valuation ℚ_[q] x ≤ 1 ↔ ‖x‖ ≤ 1 := by |
| 24 | rw [← (ValuativeRel.valuation ℚ_[q]).vle_one_iff] |
| 25 | change NormedField.valuation x ≤ NormedField.valuation (1 : ℚ_[q]) ↔ _ |
| 26 | simp only [NormedField.valuation_apply, nnnorm_one] |
| 27 | exact NNReal.coe_le_coe.symm |
| 28 | |
| 29 | def padicIntegerEquiv : RepresentationTheory.Satake.Reduction.GeneralLinear.O ℚ_[q] ≃+* ℤ_[q] where |
| 30 | toFun x := ⟨x.val, (valuation_integer_iff q x.val).mp x.property⟩ |
| 31 | invFun x := ⟨x.val, (valuation_integer_iff q x.val).mpr x.property⟩ |
| 32 | left_inv _ := rfl |
| 33 | right_inv _ := rfl |
| 34 | map_mul' _ _ := rfl |
| 35 | map_add' _ _ := rfl |
| 36 | |
| 37 | theorem padicIntegerEquiv_coe (x : RepresentationTheory.Satake.Reduction.GeneralLinear.O ℚ_[q]) : |
| 38 | (padicIntegerEquiv q x : ℚ_[q]) = x.val := rfl |
| 39 | |
| 40 | def integralGLMap : Matrix.GeneralLinearGroup (Fin 3) ℤ_[q] →* |
| 41 | Matrix.GeneralLinearGroup (Fin 3) ℚ_[q] := |
| 42 | Matrix.GeneralLinearGroup.map (PadicInt.Coe.ringHom (p := q)) |
| 43 | |
| 44 | theorem integralGL_reduction (g : Matrix.GeneralLinearGroup (Fin 3) ℚ_[q]) : |
| 45 | ∃ U : Matrix.GeneralLinearGroup (Fin 3) ℤ_[q], (g * integralGLMap q U).val.IsUpperTriangular := by |
| 46 | obtain ⟨U, hU⟩ := RepresentationTheory.Satake.Reduction.GeneralLinear.exists_integral_upperTriangular g |
| 47 | refine ⟨Matrix.GeneralLinearGroup.map (padicIntegerEquiv q).toRingHom U, ?_⟩ |
| 48 | have he : integralGLMap q (Matrix.GeneralLinearGroup.map (padicIntegerEquiv q).toRingHom U) = |
| 49 | RepresentationTheory.Satake.Reduction.GeneralLinear.integralMap U := by |
| 50 | apply Units.ext |
| 51 | ext i j |
| 52 | rfl |
| 53 | rw [he] |
| 54 | exact hU |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PadicIntegralCoordinates.Iwasawa |