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.Algebra.Polynomial.Inductions |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | |
| 4 | /-! # Regular Parameter Injection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.RegularParameterInjection.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A polynomial parameter is algebraically independent when it is |
| 11 | regular and the coefficient ring embeds into its zero fiber. -/ |
| 12 | |
| 13 | variable {R S : Type} [CommRing R] [CommRing S] |
| 14 | (φ : R →+* S) (t : S) (J : Ideal S) (htJ : t ∈ J) |
| 15 | |
| 16 | include htJ in |
| 17 | theorem polynomialEval_mod_parameter : |
| 18 | (Ideal.Quotient.mk J).comp (Polynomial.eval₂RingHom φ t) = |
| 19 | ((Ideal.Quotient.mk J).comp φ).comp Polynomial.constantCoeff := by |
| 20 | apply Polynomial.ringHom_ext |
| 21 | · intro r |
| 22 | simp only [RingHom.comp_apply, Polynomial.coe_eval₂RingHom, Polynomial.eval₂_C] |
| 23 | change Ideal.Quotient.mk J (φ r) = Ideal.Quotient.mk J (φ ((Polynomial.C r).coeff 0)) |
| 24 | rw [Polynomial.coeff_C_zero] |
| 25 | · simp only [RingHom.comp_apply, Polynomial.coe_eval₂RingHom, Polynomial.eval₂_X] |
| 26 | change Ideal.Quotient.mk J t = Ideal.Quotient.mk J (φ ((Polynomial.X : Polynomial R).coeff 0)) |
| 27 | rw [Polynomial.coeff_X_zero, map_zero, map_zero] |
| 28 | exact Ideal.Quotient.eq_zero_iff_mem.mpr htJ |
| 29 | |
| 30 | include htJ in |
| 31 | theorem polynomialEval_injective_of_regular_parameter (ht : t ∈ nonZeroDivisors S) |
| 32 | (hφ : Function.Injective ((Ideal.Quotient.mk J).comp φ)) : |
| 33 | Function.Injective (Polynomial.eval₂RingHom φ t) := by |
| 34 | have hzero (a : Polynomial R) (ha : Polynomial.eval₂RingHom φ t a = 0) : a.coeff 0 = 0 := by |
| 35 | apply hφ |
| 36 | have he := DFunLike.congr_fun (polynomialEval_mod_parameter φ t J htJ) a |
| 37 | change Ideal.Quotient.mk J (Polynomial.eval₂RingHom φ t a) = |
| 38 | Ideal.Quotient.mk J (φ (a.coeff 0)) at he |
| 39 | rw [ha, map_zero] at he |
| 40 | exact he.symm.trans (map_zero ((Ideal.Quotient.mk J).comp φ)).symm |
| 41 | apply (injective_iff_map_eq_zero (Polynomial.eval₂RingHom φ t)).mpr |
| 42 | intro a |
| 43 | induction a using Polynomial.recOnHorner with |
| 44 | | M0 => intro _; rfl |
| 45 | | MC a r ha hr _ => |
| 46 | intro h |
| 47 | have h0 := hzero _ h |
| 48 | rw [Polynomial.coeff_add, Polynomial.coeff_C_zero, ha, zero_add] at h0 |
| 49 | exact False.elim (hr h0) |
| 50 | | MX a _ ih => |
| 51 | intro h |
| 52 | rw [map_mul] at h |
| 53 | simp only [Polynomial.coe_eval₂RingHom, Polynomial.eval₂_X] at h |
| 54 | have ha := ih ((mem_nonZeroDivisors_iff.mp ht).2 _ h) |
| 55 | rw [ha, zero_mul] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.RegularParameterInjection.BundleCycles |