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.Weil.Local.QuadraticNormSquareQuotient |
| 2 | import OAI.RepresentationTheory.Weil.Local.FiniteSquareClasses |
| 3 | |
| 4 | /-! # Quadratic Norm Index -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.QuadraticNormIndex.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The nonzero sums of two squares have index two when -1 is nonsquare over a nonarchimedean local field. -/ |
| 11 | |
| 12 | theorem localField_quadraticNorm_index_two |
| 13 | {k : Type} [NormedField k] [CompleteSpace k] [LocallyCompactSpace k] [CharZero k] |
| 14 | [IsUltrametricDist k] (hnd : ¬ DiscreteTopology k) (h : ¬ ∃ t : k, t ^ 2 = -1) : |
| 15 | (QuadraticNormSubgroup.Construction.quadraticNormSubgroup k).index = 2 := by |
| 16 | have hi := Subgroup.relIndex_mul_index (QuadraticNormSubgroup.Construction.squareUnitsSubgroup_le_quadraticNormSubgroup (k := k)) |
| 17 | rw [QuadraticNormSquareQuotient.Construction.quadraticNorm_square_relIndex, FiniteSquareClasses.Construction.localField_square_index_eq_twice_normOne hnd h] at hi |
| 18 | apply Nat.eq_of_mul_eq_mul_left (Nat.pos_of_ne_zero (FiniteSquareClasses.Construction.normOne_square_index_ne_zero hnd h)) |
| 19 | exact hi.trans (Nat.mul_comm _ _) |
| 20 | |
| 21 | end |
| 22 | |
| 23 | end OAI.RepresentationTheory.Weil.Local.QuadraticNormIndex.Construction |