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.NegativeLaurentCount |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentTop |
| 3 | import Mathlib.LinearAlgebra.Dimension.Constructions |
| 4 | |
| 5 | /-! # Negative Laurent Dimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | /-! The dimension of top Laurent Čech cohomology is a binomial coefficient. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | universe u |
| 18 | variable {R : Type u} [CommRing R] |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 20 | |
| 21 | theorem NegativeLaurentDimension.MvPolynomial.coordinateHomogeneousLaurentTopHomology_finrank {r : ℕ} |
| 22 | (j : Fin (r + 2)) (m : ℕ) (hfield : IsField Γ(Spec (CommRingCat.of R), ⊤)) : |
| 23 | Module.finrank Γ(Spec (CommRingCat.of R), ⊤) |
| 24 | ((TwistCechWeights.MvPolynomial.coordinateHomogeneousLaurentOrderedCechComplex (R := R) j |
| 25 | (-(m : ℤ) - (r + 2 : ℕ))).homology (r + 1)) = |
| 26 | (m + (r + 1)).choose (r + 1) := by |
| 27 | let := hfield.toField |
| 28 | rw [(NegativeLaurentTop.MvPolynomial.coordinateHomogeneousLaurentTopHomologyEquivCoefficients (R := R) j |
| 29 | (-(m : ℤ) - (r + 2 : ℕ)) r (by simp)).finrank_eq] |
| 30 | let : Fintype {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent (Fin (r + 2)) (-(m : ℤ) - (r + 2 : ℕ)) // |
| 31 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} (Fin (r + 2))))} := |
| 32 | (LaurentWeight.MvPolynomial.HomogeneousLaurentExponent.finite_setOf_liftedNegativeSupport_eq_univ |
| 33 | (σ := Fin (r + 2)) (-(m : ℤ) - (r + 2 : ℕ))).fintype |
| 34 | rw [Module.finrank_fintype_fun_eq_card, ← Nat.card_eq_fintype_card] |
| 35 | exact (Nat.card_congr (NegativeLaurentCount.MvPolynomial.liftedFullNegativeLaurentWeightEquiv.{u} |
| 36 | (σ := Fin (r + 2)) (-(m : ℤ) - (r + 2 : ℕ)))).trans |
| 37 | (NegativeLaurentCount.MvPolynomial.fullNegativeLaurentWeight_card (r := r + 1) m) |
| 38 | |
| 39 | theorem NegativeLaurentCount.MvPolynomial.FullNegativeLaurentWeight.degree_le {σ : Type} [Fintype σ] {d : ℤ} |
| 40 | (e : NegativeLaurentCount.MvPolynomial.FullNegativeLaurentWeight σ d) : d ≤ -(Fintype.card σ : ℤ) := by |
| 41 | have hsum : ∑ i, e.val.val i ≤ ∑ _i : σ, (-1 : ℤ) := |
| 42 | Finset.sum_le_sum (fun i _ => by have := e.property i; omega) |
| 43 | rw [← Finsupp.degree_eq_sum, e.val.property] at hsum |
| 44 | simpa using hsum |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.SheafCohomology.Projective |