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.MvPolynomial.Groebner |
| 2 | import Mathlib.LinearAlgebra.Projection |
| 3 | import Mathlib.LinearAlgebra.FreeModule.Basic |
| 4 | |
| 5 | /-! # Monic Polynomial Quotient Free -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.MonicPolynomialQuotientFree |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A leading-term cover with unit leading coefficients gives a free |
| 12 | polynomial quotient over an arbitrary coefficient ring. -/ |
| 13 | |
| 14 | open _root_.MvPolynomial _root_.Module |
| 15 | |
| 16 | universe u v w |
| 17 | variable {R : Type u} [CommRing R] {σ : Type v} |
| 18 | |
| 19 | theorem monic_leading_cover_quotient_free (m : MonomialOrder σ) |
| 20 | (I : Ideal (MvPolynomial σ R)) {ι : Type w} (b : ι → MvPolynomial σ R) |
| 21 | (hb : ∀ i, b i ∈ I) (hu : ∀ i, IsUnit (m.leadingCoeff (b i))) |
| 22 | (hc : ∀ f ∈ I, f ≠ 0 → ∃ i, m.degree (b i) ≤ m.degree f) : |
| 23 | Module.Free R (MvPolynomial σ R ⧸ I) := by |
| 24 | let S : Submodule R (MvPolynomial σ R) := |
| 25 | restrictSupport R {a | ∀ i, ¬ m.degree (b i) ≤ a} |
| 26 | have hd : Disjoint (I.restrictScalars R) S := by |
| 27 | apply Submodule.disjoint_def.mpr |
| 28 | intro f hf hs |
| 29 | by_contra hf0 |
| 30 | obtain ⟨i, hi⟩ := hc f hf hf0 |
| 31 | exact hs (m.degree_mem_support hf0) i hi |
| 32 | have hsup : I.restrictScalars R ⊔ S = ⊤ := by |
| 33 | apply top_unique |
| 34 | intro f _ |
| 35 | obtain ⟨g, r, hfr, _, hr⟩ := m.div hu f |
| 36 | have hg : Finsupp.linearCombination (MvPolynomial σ R) b g ∈ I := by |
| 37 | rw [Finsupp.linearCombination_apply, Finsupp.sum] |
| 38 | exact I.sum_mem fun i _ => I.mul_mem_left (g i) (hb i) |
| 39 | exact Submodule.mem_sup.mpr ⟨_, hg, r, hr, hfr.symm⟩ |
| 40 | have hcompl : IsCompl (I.restrictScalars R) S := ⟨hd, codisjoint_iff.mpr hsup⟩ |
| 41 | let e := Submodule.quotientEquivOfIsCompl (I.restrictScalars R) S hcompl |
| 42 | let : Module.Free R S := Module.Free.of_basis (basisRestrictSupport R _) |
| 43 | exact Module.Free.of_equiv e.symm |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.MonicPolynomialQuotientFree |