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.Geometry.ComplexTorus.RiemannProjectivity.AffineCone |
| 2 | |
| 3 | /-! # Character Separation Eq -/ |
| 4 | |
| 5 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.CharacterSeparationEq.Constructions.CharacterSeparation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # RiemannProjectivity: complex algebra points detect elements of a reduced finite-type algebra -/ |
| 10 | |
| 11 | variable {A : Type*} [CommRing A] [Algebra ℂ A] [Algebra.FiniteType ℂ A] |
| 12 | |
| 13 | theorem isNilpotent_of_all_points_zero (a : A) (ha : ∀ q : A →ₐ[ℂ] ℂ, q a = 0) : |
| 14 | IsNilpotent a := by |
| 15 | obtain ⟨n, f, hf⟩ := Algebra.FiniteType.iff_quotient_mvPolynomial''.mp |
| 16 | (inferInstance : Algebra.FiniteType ℂ A) |
| 17 | obtain ⟨p, rfl⟩ := hf a |
| 18 | have hp : p ∈ MvPolynomial.vanishingIdeal ℂ |
| 19 | (MvPolynomial.zeroLocus ℂ (RingHom.ker f.toRingHom)) := by |
| 20 | intro x hx |
| 21 | let q : A →ₐ[ℂ] ℂ := AlgHom.liftOfSurjective f hf (MvPolynomial.aeval x) hx |
| 22 | exact (AlgHom.liftOfSurjective_apply f hf (MvPolynomial.aeval x) hx p).symm.trans (ha q) |
| 23 | rw [MvPolynomial.vanishingIdeal_zeroLocus_eq_radical] at hp |
| 24 | obtain ⟨k, hk⟩ := hp |
| 25 | refine ⟨k, ?_⟩ |
| 26 | change f (p ^ k) = 0 at hk |
| 27 | rwa [map_pow] at hk |
| 28 | |
| 29 | theorem eq_zero_of_all_points_zero [IsReduced A] |
| 30 | (a : A) (ha : ∀ q : A →ₐ[ℂ] ℂ, q a = 0) : a = 0 := |
| 31 | IsReduced.eq_zero a (isNilpotent_of_all_points_zero a ha) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.CharacterSeparationEq.Constructions.CharacterSeparation |