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.PadicHodge.IntegralComparison.Endomorphism.FiniteSumDegree |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.MultivariateTailIdentity |
| 3 | |
| 4 | /-! # Degree Uniqueness -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.DegreeUniqueness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integer shifts make the genuine degree polynomial unique for a |
| 11 | family containing the identity endomorphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe v |
| 16 | variable {K : Type} [Field K] [IsAlgClosed K] |
| 17 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 18 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 19 | {ι : Type v} [Fintype ι] (f : ι → AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) |
| 20 | |
| 21 | def withIdentity : Option ι → AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A := fun i => Option.elim i 1 f |
| 22 | |
| 23 | omit [IsAlgClosed K] [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] in |
| 24 | theorem withIdentity_sum (a : ι → ℕ) (n : ℕ) : |
| 25 | (∑ i, Option.elim i n a • withIdentity A f i) = |
| 26 | (n : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) + ∑ i, a i • f i := by |
| 27 | simp only [Fintype.sum_option, withIdentity, Option.elim_none, Option.elim_some, nsmul_one] |
| 28 | |
| 29 | theorem withIdentity_eventually_isogeny (a : ι → ℕ) : |
| 30 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → |
| 31 | IsFinite (∑ i, Option.elim i n a • withIdentity A f i).toMul.hom.hom.left ∧ |
| 32 | IsDominant (∑ i, Option.elim i n a • withIdentity A f i).toMul.hom.hom.left := by |
| 33 | obtain ⟨b, hb⟩ := Frobenius.ShiftIsogeny.endomorphism_shift_eventually_isogeny A |
| 34 | (-(∑ i, a i • f i)) |
| 35 | refine ⟨b, fun n hn => ?_⟩ |
| 36 | obtain ⟨hf, hs, _⟩ := hb n hn |
| 37 | rw [withIdentity_sum, ← sub_neg_eq_add] |
| 38 | have : Surjective ((n : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) - -(∑ i, a i • f i)).toMul.hom.hom.left := hs |
| 39 | exact ⟨hf, inferInstance⟩ |
| 40 | |
| 41 | theorem eq_of_finite_dominant_evals (P Q : MvPolynomial (Option ι) ℚ) |
| 42 | (h : ∀ a : Option ι → ℕ, |
| 43 | IsFinite (∑ i, a i • withIdentity A f i).toMul.hom.hom.left → |
| 44 | IsDominant (∑ i, a i • withIdentity A f i).toMul.hom.hom.left → |
| 45 | MvPolynomial.eval (fun i => (a i : ℚ)) P = |
| 46 | MvPolynomial.eval (fun i => (a i : ℚ)) Q) : P = Q := by |
| 47 | apply MultivariateTailIdentity.eq_of_option_tail_eval |
| 48 | intro a |
| 49 | obtain ⟨b, hb⟩ := withIdentity_eventually_isogeny A f a |
| 50 | exact ⟨b, fun n hn => h _ (hb n hn).1 (hb n hn).2⟩ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.DegreeUniqueness |