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.LaurentZeroNegative |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentDimension |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentVanishing |
| 4 | |
| 5 | /-! # Laurent Dimensions -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.LaurentDimensions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | /-! Dimension and vanishing formulas for projective Laurent Čech cohomology. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | universe u |
| 18 | namespace MvPolynomial |
| 19 | variable {R : Type u} [CommRing R] |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | |
| 22 | theorem coordinateHomogeneousLaurentHZero_finrank {r : ℕ} |
| 23 | (j : Fin (r + 1)) (m : ℕ) (hfield : IsField Γ(Spec (CommRingCat.of R), ⊤)) : |
| 24 | Module.finrank Γ(Spec (CommRingCat.of R), ⊤) |
| 25 | ((TwistCechWeights.MvPolynomial.coordinateHomogeneousLaurentOrderedCechComplex (R := R) j (m : ℤ)).homology 0) = |
| 26 | (m + r).choose r := by |
| 27 | let := hfield.toField |
| 28 | let e := (DegreeZeroPolynomials.MvPolynomial.homogeneousLaurentHZeroLinearEquivCycles (R := R) j (m : ℤ)).trans |
| 29 | (LaurentZeroCoefficients.MvPolynomial.laurentZeroCyclesEquivCoefficients (R := R) (m : ℤ) (Int.natCast_nonneg m) j) |
| 30 | rw [e.finrank_eq, Module.finrank_fintype_fun_eq_card, ← Nat.card_eq_fintype_card] |
| 31 | exact (Nat.card_congr (NonnegativeLaurentPolynomials.MvPolynomial.nonnegativeLaurentWeightEquivDegree (σ := Fin (r + 1)) m)).trans |
| 32 | (HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.card_degreeExponents r m) |
| 33 | |
| 34 | theorem coordinateHomogeneousLaurentPositiveHomology_subsingleton_of_degree_gt |
| 35 | {σ : Type} [Fintype σ] [LinearOrder σ] (j : σ) (d : ℤ) (n : ℕ) |
| 36 | (hd : -(Fintype.card σ : ℤ) < d) : |
| 37 | Subsingleton ((TwistCechWeights.MvPolynomial.coordinateHomogeneousLaurentOrderedCechComplex (R := R) j d).homology (n + 1)) := by |
| 38 | have : IsEmpty {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 39 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))} := |
| 40 | ⟨fun e => (not_le_of_gt hd) ((NegativeLaurentCount.MvPolynomial.liftedFullNegativeLaurentWeightEquiv.{u} d e).degree_le)⟩ |
| 41 | have : Subsingleton (LaurentExceptionalWeights.MvPolynomial.coordinateHomogeneousLaurentFullNegativeCochain.{u, u} |
| 42 | (R := R) (σ := σ) d (n + 1)) := inferInstance |
| 43 | exact ((NegativeLaurentHomology.MvPolynomial.coordinateHomogeneousLaurentPositiveHomologyEquivFullNegativeCycles (R := R) j d n).trans |
| 44 | (NegativeLaurentTop.MvPolynomial.coordinateFullNegativeCyclesEquivCochain (R := R) d (n + 1))).injective.subsingleton |
| 45 | |
| 46 | end MvPolynomial |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.LaurentDimensions |