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.DegreeUniqueness |
| 2 | |
| 3 | /-! # Degree Coordinate Uniqueness -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.DegreeCoordinateUniqueness.Endomorphism |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Any coordinate representing the actual identity endomorphism |
| 10 | detects equality of degree polynomials. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {K : Type} [Field K] [IsAlgClosed K] |
| 15 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 16 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 17 | |
| 18 | theorem eq_of_identity_evals {ι : Type*} [Fintype ι] (f : ι → AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) |
| 19 | (i₀ : ι) (hi₀ : f i₀ = 1) (P Q : MvPolynomial ι ℚ) |
| 20 | (h : ∀ a : ι → ℕ, |
| 21 | IsFinite (∑ i, a i • f i).toMul.hom.hom.left → |
| 22 | IsDominant (∑ i, a i • f i).toMul.hom.hom.left → |
| 23 | MvPolynomial.eval (fun i => (a i : ℚ)) P = |
| 24 | MvPolynomial.eval (fun i => (a i : ℚ)) Q) : P = Q := by |
| 25 | classical |
| 26 | let e := Equiv.optionSubtypeNe i₀ |
| 27 | apply (MvPolynomial.renameEquiv ℚ e.symm).injective |
| 28 | apply Endomorphism.DegreeUniqueness.eq_of_finite_dominant_evals A (fun i : {j // j ≠ i₀} => f i) |
| 29 | intro a hf hd |
| 30 | have he : (∑ i, a (e.symm i) • f i) = |
| 31 | ∑ j, a j • Endomorphism.DegreeUniqueness.withIdentity A (fun i : {j // j ≠ i₀} => f i) j := by |
| 32 | calc |
| 33 | _ = ∑ j, a j • f (e j) := |
| 34 | Fintype.sum_equiv e.symm _ _ (fun i => by simp only [Equiv.apply_symm_apply]) |
| 35 | _ = _ := by |
| 36 | apply Finset.sum_congr rfl |
| 37 | intro j hj |
| 38 | cases j <;> simp only [e, Equiv.optionSubtypeNe_none, Equiv.optionSubtypeNe_some, |
| 39 | Endomorphism.DegreeUniqueness.withIdentity, Option.elim_none, Option.elim_some, hi₀] |
| 40 | have hf' : IsFinite (∑ i, a (e.symm i) • f i).toMul.hom.hom.left := he.symm ▸ hf |
| 41 | have hd' : IsDominant (∑ i, a (e.symm i) • f i).toMul.hom.hom.left := he.symm ▸ hd |
| 42 | simp only [MvPolynomial.renameEquiv_apply, MvPolynomial.eval_rename] |
| 43 | change MvPolynomial.eval (fun i => (a (e.symm i) : ℚ)) P = |
| 44 | MvPolynomial.eval (fun i => (a (e.symm i) : ℚ)) Q |
| 45 | exact h (fun i => a (e.symm i)) hf' hd' |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.DegreeCoordinateUniqueness.Endomorphism |