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.HilbertScheme.Presentations.InitialIdeal |
| 2 | |
| 3 | /-! # Polynomial Leading Cover -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.PolynomialLeadingCover.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every polynomial ideal over a field has a finite leading-term cover, |
| 10 | without a homogeneity assumption. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u |
| 15 | variable {K : Type u} [Field K] {n : ℕ} |
| 16 | |
| 17 | theorem exists_finite_polynomial_leading_cover (m : MonomialOrder (Fin (n + 1))) |
| 18 | (I : Ideal (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n)) : |
| 19 | ∃ B : Finset (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n), |
| 20 | (∀ b ∈ B, b ∈ I ∧ b ≠ 0) ∧ |
| 21 | ∀ f ∈ I, f ≠ 0 → ∃ b ∈ B, m.degree b ≤ m.degree f := by |
| 22 | classical |
| 23 | obtain ⟨G, hG⟩ := (InitialIdeal.GradedHilbert.initialIdeal_isMonomial m I).finite_generators |
| 24 | have hlift (a : G) : ∃ b : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n, |
| 25 | b ∈ I ∧ b ≠ 0 ∧ m.degree b ≤ a.val := by |
| 26 | apply (InitialIdeal.GradedHilbert.monomial_mem_initialIdeal_iff m I a.val).mp |
| 27 | rw [hG] |
| 28 | exact Ideal.subset_span ⟨a.val, a.property, rfl⟩ |
| 29 | choose b hb using hlift |
| 30 | let B := Finset.univ.image b |
| 31 | refine ⟨B, ?_, ?_⟩ |
| 32 | · intro f hf |
| 33 | obtain ⟨a, _, rfl⟩ := Finset.mem_image.mp hf |
| 34 | exact ⟨(hb a).1, (hb a).2.1⟩ |
| 35 | · intro f hf hf0 |
| 36 | have hlead := InitialIdeal.GradedHilbert.leading_monomial_mem_initialIdeal m hf hf0 |
| 37 | rw [hG, mem_ideal_span_monomial_image] at hlead |
| 38 | have hm : m.degree f ∈ (monomial (m.degree f) (1 : K)).support := by simp |
| 39 | obtain ⟨a, ha, haf⟩ := hlead (m.degree f) hm |
| 40 | exact ⟨b ⟨a, ha⟩, Finset.mem_image.mpr ⟨⟨a, ha⟩, Finset.mem_univ _, rfl⟩, |
| 41 | (hb ⟨a, ha⟩).2.2.trans haf⟩ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.PolynomialLeadingCover.GradedHilbert |