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.AlgebraicGeometry.PELModuli.CMPoints.LocalPadic |
| 2 | |
| 3 | /-! # Coordinate Separation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.CoordinateSeparation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Distinct Galois characters remain distinct modulo q away from a single |
| 10 | separability denominator of an integral primitive element. -/ |
| 11 | |
| 12 | open _root_.NumberField _root_.Polynomial |
| 13 | |
| 14 | theorem residue_characters_injective_at_generator |
| 15 | {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 16 | {q : ℕ} [Fact q.Prime] |
| 17 | (B : PowerBasis ℚ E) (hint : IsIntegral ℤ B.gen) |
| 18 | (r : RingOfIntegers E →+* ZMod q) |
| 19 | (hsep : ((minpoly ℤ (⟨B.gen, hint⟩ : RingOfIntegers E)).map |
| 20 | (Int.castRingHom (ZMod q))).Separable) : |
| 21 | Function.Injective (fun τ : Gal(E/ℚ) => |
| 22 | r (RingOfIntegers.mapRingHom τ.toRingHom ⟨B.gen, hint⟩)) := by |
| 23 | classical |
| 24 | let θ : RingOfIntegers E := ⟨B.gen, hint⟩ |
| 25 | let f : ℤ[X] := minpoly ℤ θ |
| 26 | let P := f.map (algebraMap ℤ (RingOfIntegers E)) |
| 27 | have hm : P.Monic := (minpoly.monic θ.isIntegral).map _ |
| 28 | have hmap : P.map r = f.map (Int.castRingHom (ZMod q)) := by |
| 29 | rw [Polynomial.map_map] |
| 30 | congr 1 |
| 31 | ext n |
| 32 | simp |
| 33 | have hs : (P.map r).Separable := hmap.symm ▸ hsep |
| 34 | have hn : (P.roots.map r).Nodup := |
| 35 | Multiset.nodup_of_le (Polynomial.map_roots_le (hm.map r).ne_zero) |
| 36 | (Polynomial.nodup_roots hs) |
| 37 | have hroot (τ : Gal(E/ℚ)) : RingOfIntegers.mapRingHom τ.toRingHom θ ∈ P.roots := by |
| 38 | rw [Polynomial.mem_roots hm.ne_zero, Polynomial.IsRoot.def, Polynomial.eval_map] |
| 39 | change aeval ((RingOfIntegers.mapRingHom τ.toRingHom).toIntAlgHom θ) f = 0 |
| 40 | rw [Polynomial.aeval_algHom_apply, minpoly.aeval, map_zero] |
| 41 | intro τ σ h |
| 42 | have he := Multiset.inj_on_of_nodup_map hn _ (hroot τ) _ (hroot σ) h |
| 43 | have he' : τ.toAlgHom = σ.toAlgHom := B.algHom_ext |
| 44 | (congrArg (fun a : RingOfIntegers E => (a : E)) he) |
| 45 | exact AlgEquiv.coe_toAlgHom_injective he' |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.CoordinateSeparation |