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.HilbertScheme.Presentations.Coordinate.IntegerQuotient |
| 2 | |
| 3 | /-! # Integer Coordinate Degree Finiteness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegerCoordinateDegreeFiniteness |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every integer homogeneous piece of a projective coordinate quotient is finite. -/ |
| 10 | |
| 11 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | theorem polynomialIntegerGrading_eq_bot_of_neg {σ : Type u} [Fintype σ] |
| 16 | (R : Type v) [CommRing R] (z : ℤ) (hz : z < 0) : |
| 17 | HilbertScheme.Presentations.WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R z = ⊥ := by |
| 18 | apply le_antisymm _ bot_le |
| 19 | intro p hp |
| 20 | change p = 0 |
| 21 | apply MvPolynomial.ext |
| 22 | intro m |
| 23 | rw [AddMonoidAlgebra.coeff_zero] |
| 24 | by_contra hm |
| 25 | have h := hp hm |
| 26 | rw [HilbertScheme.Presentations.IntegerPolynomialGrading.GradedModules.integerWeight_eq_degree] at h |
| 27 | have hn : (0 : ℤ) ≤ (m.degree : ℤ) := Int.natCast_nonneg _ |
| 28 | exact (not_lt_of_ge (h ▸ hn)) hz |
| 29 | |
| 30 | theorem integerQuotientGrading_eq_bot_of_neg {R : Type u} [CommRing R] {n : ℕ} |
| 31 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (z : ℤ) (hz : z < 0) : |
| 32 | HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I z = ⊥ := by |
| 33 | unfold HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading HilbertScheme.Presentations.IntegerGradedQuotient.GradedModules.IntegerQuotient.grading |
| 34 | rw [polynomialIntegerGrading_eq_bot_of_neg R z hz, Submodule.map_bot] |
| 35 | rfl |
| 36 | |
| 37 | theorem integerQuotientGrading_finite {R : Type u} [CommRing R] {n : ℕ} |
| 38 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (z : ℤ) : |
| 39 | Module.Finite R (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I z) := by |
| 40 | by_cases hz : 0 ≤ z |
| 41 | · obtain ⟨d, rfl⟩ := Int.eq_ofNat_of_zero_le hz |
| 42 | exact Module.Finite.equiv (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerDegreeQuotientEquiv I d) |
| 43 | · rw [integerQuotientGrading_eq_bot_of_neg I z (lt_of_not_ge hz)] |
| 44 | infer_instance |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegerCoordinateDegreeFiniteness |