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 Mathlib.RingTheory.AdjoinRoot |
| 2 | |
| 3 | /-! # Polynomial Quotient -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Finite.PolynomialQuotient.AnalyticLocal |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact polynomial division makes the quotient by a monic relation |
| 10 | a finite module over the coefficient ring. -/ |
| 11 | |
| 12 | open _root_.Polynomial |
| 13 | |
| 14 | variable {R A : Type*} [CommRing R] [CommRing A] [Algebra R A] |
| 15 | |
| 16 | theorem finite_quotient_of_polynomial_division (a : A) (P : R[X]) (hP : P.Monic) |
| 17 | (hdivision : ∀ x : A, ∃ (Q : R[X]) (b : A), x = aeval a Q + aeval a P * b) : |
| 18 | Module.Finite R (A ⧸ Ideal.span {aeval a P}) := by |
| 19 | let I : Ideal A := Ideal.span {aeval a P} |
| 20 | let π := Ideal.Quotient.mkₐ R I |
| 21 | have hz : π (aeval a P) = 0 := Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.mem_span_singleton_self _) |
| 22 | have hroot : aeval (π a) P = 0 := by |
| 23 | rw [aeval_algHom_apply, hz] |
| 24 | let f : AdjoinRoot P →ₐ[R] A ⧸ I := AdjoinRoot.liftAlgHom P (Algebra.ofId R _) (π a) hroot |
| 25 | have hf : ∀ Q : R[X], f (AdjoinRoot.mk P Q) = π (aeval a Q) := by |
| 26 | intro Q |
| 27 | change aeval (π a) Q = π (aeval a Q) |
| 28 | exact aeval_algHom_apply π a Q |
| 29 | have hsur : Function.Surjective f := by |
| 30 | intro z |
| 31 | obtain ⟨x, rfl⟩ := Ideal.Quotient.mk_surjective z |
| 32 | obtain ⟨Q, b, hx⟩ := hdivision x |
| 33 | refine ⟨AdjoinRoot.mk P Q, ?_⟩ |
| 34 | rw [hf] |
| 35 | change π (aeval a Q) = π x |
| 36 | rw [hx, map_add, map_mul, hz, zero_mul, add_zero] |
| 37 | let : Module.Finite R (AdjoinRoot P) := hP.finite_adjoinRoot |
| 38 | exact Module.Finite.of_surjective f.toLinearMap hsur |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Comparison.Betti.Finite.PolynomialQuotient.AnalyticLocal |