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.NumberTheory.Quaternion.Arithmetic.FiniteAdelicLattice |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.LocalAdeles |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.Matrices |
| 4 | |
| 5 | /-! # Rational Integral Stabilizer -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.RationalIntegralStabilizer |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Rational matrices integral at all finite places preserve the |
| 12 | standard ring-of-integers lattice. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.Matrices.Construction IsDedekindDomain |
| 16 | |
| 17 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 18 | |
| 19 | theorem rational_integralAtAll_mem_standard_stabilizer (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 20 | (q : G.RationalPoints) |
| 21 | (hq : ∀ v : HeightOneSpectrum (𝓞 F), LocalAdeles.diagonalLocal G (.inr v) q ∈ LocalAdeles.integralLocalSubgroup G (.inr v)) : |
| 22 | q ∈ G.latticeStabilizer (ArithmeticGroups.Lattices.IntegralLattice.FullLattice.standard F n) := by |
| 23 | apply (ArithmeticGroups.Lattices.Integral.Matrices.Construction.standard_lattice_stabilizer_iff_integral G q).mpr |
| 24 | apply ArithmeticGroups.Lattices.Integral.Matrices.Construction.specialLinear_lift_of_integral_entries q.val |
| 25 | intro i j |
| 26 | apply (FiniteAdelicLattice.scalarFiniteAdele_integral_iff (q.val i j)).mp |
| 27 | intro v |
| 28 | exact (hq v).1 i j |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.NumberTheory.Quaternion.Arithmetic.RationalIntegralStabilizer |