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.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.SequenceFlatBaseChange |
| 2 | import Mathlib.RingTheory.MvPolynomial.Ideal |
| 3 | |
| 4 | /-! # Regular Sequence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.RegularSequence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Distinct polynomial variables form a weakly regular sequence over |
| 11 | any coefficient ring. The proof checks injectivity modulo each preceding |
| 12 | variable ideal directly on monomial coefficients. -/ |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | open RingTheory.Sequence |
| 17 | open scoped Pointwise |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] (σ : Type v) |
| 20 | |
| 21 | theorem variable_regular (s : Set σ) (i : σ) (hi : i ∉ s) : |
| 22 | IsSMulRegular (MvPolynomial σ R ⧸ Ideal.span (MvPolynomial.X (R := R) '' s)) (MvPolynomial.X (R := R) i) := by |
| 23 | classical |
| 24 | apply (isSMulRegular_quotient_iff_mem_of_smul_mem _ _).mpr |
| 25 | intro f hf |
| 26 | change MvPolynomial.X i * f ∈ Ideal.span (MvPolynomial.X '' s) at hf |
| 27 | rw [MvPolynomial.mem_ideal_span_X_image] at hf ⊢ |
| 28 | intro d hd |
| 29 | have hd' : Finsupp.single i 1 + d ∈ (MvPolynomial.X i * f).support := by |
| 30 | rw [MvPolynomial.mem_support_iff, MvPolynomial.coeff_X_mul] |
| 31 | exact MvPolynomial.mem_support_iff.mp hd |
| 32 | obtain ⟨j, hj, hnonzero⟩ := hf _ hd' |
| 33 | refine ⟨j, hj, ?_⟩ |
| 34 | have hji : i ≠ j := fun h => hi (h.symm ▸ hj) |
| 35 | simpa only [Finsupp.add_apply, Finsupp.single_eq_of_ne hji.symm, zero_add] using hnonzero |
| 36 | |
| 37 | theorem ofList_variables (xs : List σ) : |
| 38 | Ideal.ofList (xs.map (MvPolynomial.X : σ → MvPolynomial σ R)) = |
| 39 | Ideal.span (MvPolynomial.X '' {i | i ∈ xs}) := by |
| 40 | apply congrArg Ideal.span |
| 41 | ext f |
| 42 | exact List.mem_map |
| 43 | |
| 44 | theorem weakly_regular (xs : List σ) (hx : xs.Nodup) : |
| 45 | IsWeaklyRegular (MvPolynomial σ R) (xs.map (MvPolynomial.X : σ → MvPolynomial σ R)) := by |
| 46 | induction xs using List.reverseRecOn with |
| 47 | | nil => exact IsWeaklyRegular.nil _ _ |
| 48 | | append_singleton xs i ih => |
| 49 | have hi : i ∉ xs := fun h => (List.nodup_append.mp hx).2.2 i h i (List.mem_singleton_self i) rfl |
| 50 | have hxs : xs.Nodup := (List.nodup_append.mp hx).1 |
| 51 | rw [List.map_append, List.map_singleton, isWeaklyRegular_append_iff] |
| 52 | refine ⟨ih hxs, ?_⟩ |
| 53 | rw [isWeaklyRegular_singleton_iff, smul_eq_mul, Ideal.mul_top, ofList_variables] |
| 54 | exact variable_regular R σ {j | j ∈ xs} i hi |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.RegularSequence |