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.ProductTangentTo |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.TangentInclusion |
| 3 | |
| 4 | /-! # Product -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.Product |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Rational commensurability and single-place arithmetic inclusions for |
| 11 | the actual simultaneous S-integral local product. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open IsDedekindDomain Set |
| 15 | |
| 16 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} {ι : Type*} |
| 17 | |
| 18 | def diagonalFiniteProduct (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (v : ι → HeightOneSpectrum (𝓞 F)) : |
| 19 | G.RationalPoints →* (∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i))) where |
| 20 | toFun g i := LocalAdeles.diagonalLocal G (Sum.inr (v i)) g |
| 21 | map_one' := by funext i; exact map_one _ |
| 22 | map_mul' g h := by funext i; exact map_mul _ _ _ |
| 23 | |
| 24 | theorem diagonalFiniteProduct_injective [Nonempty ι] |
| 25 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (v : ι → HeightOneSpectrum (𝓞 F)) : |
| 26 | Function.Injective (diagonalFiniteProduct G v) := by |
| 27 | intro g h he |
| 28 | let i := Classical.choice (inferInstance : Nonempty ι) |
| 29 | exact LocalAdeles.diagonalLocal_injective G (Sum.inr (v i)) (congrFun he i) |
| 30 | |
| 31 | def arithmeticProductSubgroup (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 32 | (U : Finset (LocalAdeles.Place F)) (v : ι → HeightOneSpectrum (𝓞 F)) : |
| 33 | Subgroup (∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i))) := |
| 34 | (Groups.sIntegralPoints G (U : Set (LocalAdeles.Place F))).map (diagonalFiniteProduct G v) |
| 35 | |
| 36 | theorem arithmeticProduct_conjugate_commensurable [Nonempty ι] |
| 37 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (U : Finset (LocalAdeles.Place F)) (v : ι → HeightOneSpectrum (𝓞 F)) |
| 38 | (hU : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ U) (g : G.RationalPoints) : |
| 39 | ((arithmeticProductSubgroup G U v).map |
| 40 | (MulAut.conj (diagonalFiniteProduct G v g)).toMonoidHom).Commensurable |
| 41 | (arithmeticProductSubgroup G U v) := by |
| 42 | have h := Closure.commensurable_map_of_injective (diagonalFiniteProduct G v) |
| 43 | (diagonalFiniteProduct_injective G v) (Commensurability.sIntegralPoints_conjugate_commensurable G U hU g⁻¹) |
| 44 | rw [Closure.map_comap_conj, map_inv, Subgroup.comap_equiv_eq_map_symm'] at h |
| 45 | have he : (MulAut.conj (diagonalFiniteProduct G v g)⁻¹).symm.toMonoidHom = |
| 46 | (MulAut.conj (diagonalFiniteProduct G v g)).toMonoidHom := by |
| 47 | ext x |
| 48 | simp |
| 49 | rw [he] at h |
| 50 | exact h |
| 51 | |
| 52 | theorem singlePlaceArithmetic_mem_product (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 53 | (S U : Finset (LocalAdeles.Place F)) (v : ι → HeightOneSpectrum (𝓞 F)) |
| 54 | (hSU : S ⊆ U) (i : ι) (hi : Sum.inr (v i) ∈ U) |
| 55 | (g : Groups.sIntegralPoints G (insert (Sum.inr (v i)) (S : Set (LocalAdeles.Place F)))) : |
| 56 | diagonalFiniteProduct G v g.val ∈ arithmeticProductSubgroup G U v := by |
| 57 | refine ⟨g.val, ?_, rfl⟩ |
| 58 | apply Groups.sIntegralPoints_mono G _ g.property |
| 59 | rintro w (he | hw) |
| 60 | · exact he ▸ hi |
| 61 | · exact hSU hw |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.Quaternion.Arithmetic.Product |