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.Theta.Adelic.PrincipalCoefficientOrder |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.SubringCongruence |
| 3 | |
| 4 | /-! # Principal Subgroup -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Adelic.PrincipalSubgroup |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal coefficient congruence condition in AdelicTheta defines a |
| 11 | subgroup after the chosen integer clears the quadratic denominator. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.PrincipalCoefficientOrder OAI.RepresentationTheory.Theta.Adelic.SubringCongruence |
| 17 | |
| 18 | def suSpecialLinear {R J : Type*} [CommRing R] [StarRing R] |
| 19 | [Fintype J] [DecidableEq J] (H : Matrix J J R) : |
| 20 | SpecialUnitary.SU H →* Matrix.SpecialLinearGroup J R where |
| 21 | toFun g := ⟨g.val.val, congrArg Units.val g.property.2⟩ |
| 22 | map_one' := rfl |
| 23 | map_mul' _ _ := rfl |
| 24 | |
| 25 | variable (F : Type) [Field F] [NumberField F] (d : F) |
| 26 | variable (H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) |
| 27 | variable (N : ℕ) (q : 𝓞 F) (hq : (q : F) = (N : F) * d) |
| 28 | |
| 29 | def principalSubgroup : Subgroup (SpecialUnitary.SU H.val) := |
| 30 | (SubringCongruence.congruenceImage (PrincipalCoefficientOrder.coefficientOrder F d N q hq) (PrincipalCoefficientOrder.coefficientIdeal F d N q hq)).comap |
| 31 | (suSpecialLinear H.val) |
| 32 | |
| 33 | def principalCoefficient (a b : 𝓞 F) : PrincipalCoefficientOrder.coefficientOrder F d N q hq := |
| 34 | ⟨(N : Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d) * (⟨(a : F), (b : F)⟩ : Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d), |
| 35 | ⟨N * a, b, by ext <;> simp⟩⟩ |
| 36 | |
| 37 | omit [NumberField F] in |
| 38 | theorem principalSubgroup_mem_iff (g : SpecialUnitary.SU H.val) : |
| 39 | g ∈ principalSubgroup F d H N q hq ↔ BallGeometryData.PrincipalLevel N g := by |
| 40 | change suSpecialLinear H.val g ∈ |
| 41 | SubringCongruence.congruenceImage (PrincipalCoefficientOrder.coefficientOrder F d N q hq) (PrincipalCoefficientOrder.coefficientIdeal F d N q hq) ↔ _ |
| 42 | rw [SubringCongruence.congruenceImage_mem_iff] |
| 43 | constructor |
| 44 | · intro hg i j |
| 45 | obtain ⟨x, hx, he⟩ := hg i j |
| 46 | obtain ⟨a, b, hab⟩ := (PrincipalCoefficientOrder.coefficientIdeal_membership F d N q hq x).mp hx |
| 47 | exact ⟨a, b, he.trans hab⟩ |
| 48 | · intro hg i j |
| 49 | obtain ⟨a, b, hab⟩ := hg i j |
| 50 | refine ⟨principalCoefficient F d N q hq a b, ?_, hab⟩ |
| 51 | exact (PrincipalCoefficientOrder.coefficientIdeal_membership F d N q hq _).mpr ⟨a, b, rfl⟩ |
| 52 | |
| 53 | omit [NumberField F] in |
| 54 | include q hq in |
| 55 | theorem principalLevel_inv (g : SpecialUnitary.SU H.val) (hg : BallGeometryData.PrincipalLevel N g) : |
| 56 | BallGeometryData.PrincipalLevel N g⁻¹ := |
| 57 | (principalSubgroup_mem_iff F d H N q hq g⁻¹).mp |
| 58 | ((principalSubgroup F d H N q hq).inv_mem |
| 59 | ((principalSubgroup_mem_iff F d H N q hq g).mpr hg)) |
| 60 | |
| 61 | omit [NumberField F] in |
| 62 | include q hq in |
| 63 | theorem principalLevel_mul (g h : SpecialUnitary.SU H.val) (hg : BallGeometryData.PrincipalLevel N g) (hh : BallGeometryData.PrincipalLevel N h) : |
| 64 | BallGeometryData.PrincipalLevel N (g * h) := |
| 65 | (principalSubgroup_mem_iff F d H N q hq (g * h)).mp |
| 66 | ((principalSubgroup F d H N q hq).mul_mem |
| 67 | ((principalSubgroup_mem_iff F d H N q hq g).mpr hg) |
| 68 | ((principalSubgroup_mem_iff F d H N q hq h).mpr hh)) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.RepresentationTheory.Theta.Adelic.PrincipalSubgroup |