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.LaurentZeroComponentCoefficients |
| 2 | |
| 3 | /-! # Laurent Zero Component Expansion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.LaurentZeroComponentExpansion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every chart component of a nonnegative-degree Laurent zero cycle has its global monomial expansion. -/ |
| 10 | |
| 11 | set_option backward.isDefEq.respectTransparency false |
| 12 | open _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | namespace MvPolynomial |
| 15 | open _root_.MvPolynomial |
| 16 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 17 | |
| 18 | theorem laurentZeroComponent_eq_sum (n : ℕ) (j : σ) |
| 19 | (z : LaurentZeroCycleWeights.MvPolynomial.LaurentZeroCycles (R := R) (σ := σ) (n : ℤ)) |
| 20 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) 0) : |
| 21 | LaurentCoordinates.MvPolynomial.homogeneousLaurentZeroComponent (n : ℤ) z a = |
| 22 | ∑ e : LaurentZeroCoefficients.MvPolynomial.NonnegativeLaurentWeight σ (n : ℤ), |
| 23 | AddMonoidAlgebra.single (PolynomialChartMap.MvPolynomial.nonnegativeLaurentWeightAllowed (fun k => (a.val k).down) n e) |
| 24 | (LaurentZeroCoefficients.MvPolynomial.laurentZeroCoefficients (R := R) (n : ℤ) j z e) := by |
| 25 | classical |
| 26 | ext e |
| 27 | rw [AddMonoidAlgebra.coeff_sum, Finsupp.finsetSum_apply] |
| 28 | by_cases he : ∀ i, 0 ≤ e.val.val i |
| 29 | · let w : LaurentZeroCoefficients.MvPolynomial.NonnegativeLaurentWeight σ (n : ℤ) := ⟨e.val, he⟩ |
| 30 | have hw : PolynomialChartMap.MvPolynomial.nonnegativeLaurentWeightAllowed (fun k => (a.val k).down) n w = e := |
| 31 | Subtype.ext rfl |
| 32 | rw [← hw, LaurentZeroComponentCoefficients.MvPolynomial.laurentZeroComponent_coeff_nonnegative n j z a w] |
| 33 | rw [Finset.sum_eq_single w] |
| 34 | · simp |
| 35 | · intro v _ hv |
| 36 | have hne : PolynomialChartMap.MvPolynomial.nonnegativeLaurentWeightAllowed (fun k => (a.val k).down) n v ≠ |
| 37 | PolynomialChartMap.MvPolynomial.nonnegativeLaurentWeightAllowed (fun k => (a.val k).down) n w := by |
| 38 | intro h |
| 39 | have hval := congrArg (fun t : {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ (n : ℤ) // |
| 40 | e.IsAllowedOn (fun k => (a.val k).down)} => t.val) h |
| 41 | exact hv (Subtype.ext hval) |
| 42 | simp only [AddMonoidAlgebra.coeff_single, Finsupp.single_apply, ite_eq_right hne] |
| 43 | · simp |
| 44 | · rw [LaurentZeroComponentCoefficients.MvPolynomial.laurentZeroComponent_coeff_negative n j z a e he] |
| 45 | symm |
| 46 | apply Finset.sum_eq_zero |
| 47 | intro w _ |
| 48 | have hne : PolynomialChartMap.MvPolynomial.nonnegativeLaurentWeightAllowed (fun k => (a.val k).down) n w ≠ e := by |
| 49 | intro h |
| 50 | apply he |
| 51 | have hw : w.val = e.val := congrArg Subtype.val h |
| 52 | rw [← hw] |
| 53 | exact w.property |
| 54 | simp only [AddMonoidAlgebra.coeff_single, Finsupp.single_apply, ite_eq_right hne] |
| 55 | |
| 56 | end MvPolynomial |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.LaurentZeroComponentExpansion |