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.SheafCohomology.Projective.LaurentWeightFinite |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.Existence |
| 3 | |
| 4 | /-! # Negative Laurent Count -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentCount |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Full-negative Laurent exponents are counted by ordinary homogeneous monomials. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | universe u |
| 14 | namespace MvPolynomial |
| 15 | open _root_.MvPolynomial |
| 16 | variable {σ : Type} [Fintype σ] |
| 17 | |
| 18 | abbrev FullNegativeLaurentWeight (σ : Type) (d : ℤ) := |
| 19 | {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // ∀ i, e.val i < 0} |
| 20 | |
| 21 | def fullNegativeLaurentWeightEquivDegree (m : ℕ) : |
| 22 | FullNegativeLaurentWeight σ (-(m : ℤ) - (Fintype.card σ : ℤ)) ≃ |
| 23 | {a : σ →₀ ℕ // Finsupp.degree a = m} where |
| 24 | toFun e := ⟨Finsupp.equivFunOnFinite.symm (fun i => (-e.val.val i - 1).toNat), by |
| 25 | have hcast (i : σ) : ((-e.val.val i - 1).toNat : ℤ) = -e.val.val i - 1 := by |
| 26 | have := e.property i |
| 27 | omega |
| 28 | have hs : ∑ i, e.val.val i = -(m : ℤ) - (Fintype.card σ : ℤ) := by |
| 29 | rw [← Finsupp.degree_eq_sum] |
| 30 | exact e.val.property |
| 31 | have hdeg : ((Finsupp.degree |
| 32 | (Finsupp.equivFunOnFinite.symm (fun i => (-e.val.val i - 1).toNat)) : ℕ) : ℤ) = m := by |
| 33 | rw [Finsupp.degree_eq_sum, Nat.cast_sum] |
| 34 | simp only [Finsupp.equivFunOnFinite_symm_apply_apply, hcast] |
| 35 | rw [Finset.sum_sub_distrib, Finset.sum_neg_distrib, hs] |
| 36 | simp |
| 37 | exact_mod_cast hdeg⟩ |
| 38 | invFun a := ⟨⟨Finsupp.equivFunOnFinite.symm (fun i => -(a.val i : ℤ) - 1), by |
| 39 | rw [Finsupp.degree_eq_sum] |
| 40 | simp only [Finsupp.equivFunOnFinite_symm_apply_apply] |
| 41 | rw [Finset.sum_sub_distrib, Finset.sum_neg_distrib, ← Nat.cast_sum, |
| 42 | ← Finsupp.degree_eq_sum, a.property] |
| 43 | simp⟩, fun i => by |
| 44 | change -(a.val i : ℤ) - 1 < 0 |
| 45 | omega⟩ |
| 46 | left_inv e := by |
| 47 | apply Subtype.ext |
| 48 | apply Subtype.ext |
| 49 | ext i |
| 50 | change -((-e.val.val i - 1).toNat : ℤ) - 1 = e.val.val i |
| 51 | have := e.property i |
| 52 | omega |
| 53 | right_inv a := by |
| 54 | apply Subtype.ext |
| 55 | ext i |
| 56 | change (-(-(a.val i : ℤ) - 1) - 1).toNat = a.val i |
| 57 | omega |
| 58 | |
| 59 | def liftedFullNegativeLaurentWeightEquiv (d : ℤ) : |
| 60 | {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 61 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))} ≃ FullNegativeLaurentWeight σ d where |
| 62 | toFun e := ⟨e.val, fun i => by |
| 63 | have h : ULift.up i ∈ e.val.liftedNegativeSupport := by rw [e.property]; trivial |
| 64 | exact h⟩ |
| 65 | invFun e := ⟨e.val, Set.eq_univ_of_forall (fun i => e.property i.down)⟩ |
| 66 | left_inv _ := rfl |
| 67 | right_inv _ := rfl |
| 68 | |
| 69 | theorem fullNegativeLaurentWeight_card {r : ℕ} (m : ℕ) : |
| 70 | Nat.card (FullNegativeLaurentWeight (Fin (r + 1)) (-(m : ℤ) - (r + 1 : ℕ))) = |
| 71 | (m + r).choose r := by |
| 72 | have he := Nat.card_congr (fullNegativeLaurentWeightEquivDegree (σ := Fin (r + 1)) m) |
| 73 | simpa only [Fintype.card_fin] using |
| 74 | he.trans (HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.card_degreeExponents r m) |
| 75 | |
| 76 | end MvPolynomial |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentCount |