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 Mathlib.NumberTheory.NumberField.CMField |
| 2 | import Mathlib.Tactic.Linarith |
| 3 | |
| 4 | /-! # Norm One Units -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.CMField.NormOneUnits |
| 7 | |
| 8 | /-! |
| 9 | NormOneUnits: an integral unit of a CM field with relative norm one is a root |
| 10 | of unity. We use Mathlib's characterization of torsion units by their |
| 11 | values at infinite places. No project statement stubs are imported. |
| 12 | -/ |
| 13 | |
| 14 | open scoped _root_.NumberField |
| 15 | |
| 16 | /-- Every norm-one unit in the ring of integers of a CM field is a root of unity. -/ |
| 17 | theorem norm_one_unit_is_root_of_unity |
| 18 | {E : Type*} [Field E] [NumberField E] |
| 19 | [NumberField.IsCMField E] |
| 20 | (u : (𝓞 E)ˣ) |
| 21 | (h_norm_one : |
| 22 | ((u : 𝓞 E) : E) * |
| 23 | NumberField.IsCMField.complexConj E ((u : 𝓞 E) : E) = 1) : |
| 24 | ∃ n : ℕ, 0 < n ∧ u ^ n = 1 := by |
| 25 | have h_torsion : u ∈ NumberField.Units.torsion E := by |
| 26 | apply (NumberField.Units.mem_torsion E).mpr |
| 27 | intro w |
| 28 | have h_square := congrArg w h_norm_one |
| 29 | rw [map_mul, NumberField.IsCMField.infinitePlace_complexConj, map_one] at h_square |
| 30 | have h_pos := NumberField.Units.pos_at_place u w |
| 31 | nlinarith |
| 32 | exact isOfFinOrder_iff_pow_eq_one.mp ((CommGroup.mem_torsion u).mp h_torsion) |
| 33 | |
| 34 | end OAI.NumberTheory.CMField.NormOneUnits |