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 | |
| 3 | /-! # Coefficient Order Finite -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Adelic.CoefficientOrderFinite |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual coefficient order is a finitely generated, torsion-free |
| 10 | integer module, so integral lattice congruence arguments apply to it. -/ |
| 11 | |
| 12 | open scoped Classical _root_.NumberField |
| 13 | |
| 14 | open OAI.RepresentationTheory.Theta.Adelic.PrincipalCoefficientOrder |
| 15 | |
| 16 | variable (F : Type) [Field F] [NumberField F] (d : F) |
| 17 | variable (N : ℕ) (q : 𝓞 F) (hq : (q : F) = (N : F) * d) |
| 18 | |
| 19 | def coefficientLinear : (𝓞 F × 𝓞 F) →ₗ[ℤ] PrincipalCoefficientOrder.coefficientOrder F d N q hq where |
| 20 | toFun a := ⟨⟨(a.1 : F), (N : F) * (a.2 : F)⟩, a.1, a.2, rfl⟩ |
| 21 | map_add' a b := by |
| 22 | apply Subtype.ext |
| 23 | ext <;> simp [mul_add] |
| 24 | map_smul' n a := by |
| 25 | apply Subtype.ext |
| 26 | apply QuadraticAlgebra.ext |
| 27 | · simp |
| 28 | · simp [mul_left_comm] |
| 29 | |
| 30 | omit [NumberField F] in |
| 31 | theorem coefficientLinear_surjective : Function.Surjective (coefficientLinear F d N q hq) := by |
| 32 | intro x |
| 33 | obtain ⟨a, b, h⟩ := x.property |
| 34 | exact ⟨(a, b), Subtype.ext h.symm⟩ |
| 35 | |
| 36 | theorem coefficientOrder_finite : Module.Finite ℤ (PrincipalCoefficientOrder.coefficientOrder F d N q hq) := |
| 37 | Module.Finite.of_surjective (coefficientLinear F d N q hq) (coefficientLinear_surjective F d N q hq) |
| 38 | |
| 39 | theorem coefficientOrder_torsionFree : Module.IsTorsionFree ℤ (PrincipalCoefficientOrder.coefficientOrder F d N q hq) := by |
| 40 | apply Function.Injective.moduleIsTorsionFree |
| 41 | (fun x : PrincipalCoefficientOrder.coefficientOrder F d N q hq => (x.val.re, x.val.im)) |
| 42 | · intro x y h |
| 43 | apply Subtype.ext |
| 44 | exact QuadraticAlgebra.ext (congrArg Prod.fst h) (congrArg Prod.snd h) |
| 45 | · intro n x |
| 46 | ext <;> simp |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.RepresentationTheory.Theta.Adelic.CoefficientOrderFinite |