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 | /-! # Interpolation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.Interpolation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Chinese remainders interpolate arbitrary tuples of q-adic characters |
| 10 | modulo q^n once those characters are distinct modulo q. -/ |
| 11 | |
| 12 | open _root_.Polynomial Function |
| 13 | |
| 14 | theorem polynomial_evaluation_surjective_of_unit_differences |
| 15 | {R Idx : Type*} [CommRing R] [Fintype Idx] |
| 16 | (v : Idx → R) (hv : ∀ i j, i ≠ j → IsUnit (v i - v j)) : |
| 17 | Function.Surjective (fun p : R[X] => fun i => p.eval (v i)) := by |
| 18 | intro u |
| 19 | let I (i : Idx) : Ideal R[X] := Ideal.span {X - C (v i)} |
| 20 | have hI : Pairwise (IsCoprime on I) := by |
| 21 | intro i j hij |
| 22 | exact (Ideal.isCoprime_span_singleton_iff _ _).mpr |
| 23 | (Polynomial.isCoprime_X_sub_C_of_isUnit_sub (hv i j hij)) |
| 24 | obtain ⟨p, hp⟩ := Ideal.exists_forall_sub_mem_ideal hI (fun i => C (u i)) |
| 25 | refine ⟨p, funext fun i => ?_⟩ |
| 26 | have h := Polynomial.dvd_iff_isRoot.mp (Ideal.mem_span_singleton.mp (hp i)) |
| 27 | simpa only [Polynomial.IsRoot.def, Polynomial.eval_sub, Polynomial.eval_C, sub_eq_zero] using h |
| 28 | |
| 29 | theorem padic_unit_of_nonzero_residue {q : ℕ} [Fact q.Prime] |
| 30 | (a : PadicInt q) (ha : PadicInt.toZMod a ≠ 0) : IsUnit a := by |
| 31 | apply PadicInt.isUnit_iff.mpr |
| 32 | exact le_antisymm (PadicInt.norm_le_one a) |
| 33 | (le_of_not_gt fun h => ha ((LocalPadic.toZMod_eq_zero_iff_norm_lt_one a).mpr h)) |
| 34 | |
| 35 | /-- Surjectivity at every q-power follows from separation at the first level. -/ |
| 36 | theorem characters_surjective_mod_pow |
| 37 | {A Idx : Type*} [CommRing A] [Fintype Idx] |
| 38 | {q : ℕ} [Fact q.Prime] (χ : Idx → A →+* PadicInt q) (θ : A) |
| 39 | (hχ : Function.Injective (fun i => PadicInt.toZMod (χ i θ))) (n : ℕ) : |
| 40 | Function.Surjective (fun a : A => fun i => PadicInt.toZModPow n (χ i a)) := by |
| 41 | intro u |
| 42 | let v (i : Idx) : ZMod (q ^ n) := PadicInt.toZModPow n (χ i θ) |
| 43 | have hv (i j : Idx) (hij : i ≠ j) : IsUnit (v i - v j) := by |
| 44 | have hne : PadicInt.toZMod (χ i θ - χ j θ) ≠ 0 := by |
| 45 | rw [map_sub, sub_ne_zero] |
| 46 | exact fun h => hij (hχ h) |
| 47 | simpa only [map_sub] using (padic_unit_of_nonzero_residue _ hne).map (PadicInt.toZModPow n) |
| 48 | obtain ⟨p, hp⟩ := polynomial_evaluation_surjective_of_unit_differences v hv u |
| 49 | obtain ⟨P, hP⟩ := Polynomial.map_surjective |
| 50 | (f := Int.castRingHom (ZMod (q ^ n))) ZMod.intCast_surjective p |
| 51 | refine ⟨P.aeval θ, funext fun i => ?_⟩ |
| 52 | have he : ((PadicInt.toZModPow n).comp (χ i)) (P.aeval θ) = |
| 53 | (P.map (Int.castRingHom (ZMod (q ^ n)))).eval (v i) := by |
| 54 | rw [Polynomial.aeval_def, Polynomial.hom_eval₂, Polynomial.eval_map] |
| 55 | congr 1 |
| 56 | ext z |
| 57 | simp |
| 58 | rw [hP] at he |
| 59 | exact he.trans (congrFun hp i) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.Interpolation |