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.LaurentCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.Differential |
| 3 | |
| 4 | /-! # Cech -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.Cech.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The augmented finite Čech differential on actual polynomial localizations. |
| 12 | The empty subset is the augmentation term; subsets of cardinality q form |
| 13 | the q-th term. |
| 14 | -/ |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {σ : Type u} [Fintype σ] [LinearOrder σ] |
| 19 | variable (R : Type v) [CommRing R] |
| 20 | |
| 21 | abbrev PolynomialCechFamily := (s : Finset σ) → LaurentMonomials.ProjectiveCech.ChartLocalization R s |
| 22 | |
| 23 | def polynomialCechDifferential : |
| 24 | PolynomialCechFamily (σ := σ) R →ₗ[R] PolynomialCechFamily (σ := σ) R where |
| 25 | toFun f s := ∑ i ∈ s, Cech.Signs.ProjectiveCech.alternatingSign R s i • |
| 26 | LaurentRestriction.ProjectiveCech.chartRestriction R (Finset.erase_subset i s) (f (s.erase i)) |
| 27 | map_add' f g := by |
| 28 | funext s |
| 29 | simp only [Pi.add_apply, map_add, smul_add, Finset.sum_add_distrib] |
| 30 | map_smul' r f := by |
| 31 | funext s |
| 32 | simp only [Pi.smul_apply, map_smul, RingHom.id_apply, Finset.smul_sum, smul_smul] |
| 33 | apply Finset.sum_congr rfl |
| 34 | intro i _ |
| 35 | rw [mul_comm r] |
| 36 | |
| 37 | theorem polynomialCechDifferential_coordinates (f : PolynomialCechFamily (σ := σ) R) |
| 38 | (s : Finset σ) (a : σ → ℤ) : |
| 39 | LaurentCoordinates.ProjectiveCech.chartCoordinates R s (polynomialCechDifferential R f s) a = |
| 40 | Cech.Contraction.ProjectiveCech.cechDifferential R (fun t => LaurentCoordinates.ProjectiveCech.chartCoordinates R t (f t) a) s := by |
| 41 | change LaurentCoordinates.ProjectiveCech.chartCoordinates R s (∑ i ∈ s, Cech.Signs.ProjectiveCech.alternatingSign R s i • |
| 42 | LaurentRestriction.ProjectiveCech.chartRestriction R (Finset.erase_subset i s) (f (s.erase i))) a = _ |
| 43 | simp only [map_sum, map_smul, LaurentCoordinates.ProjectiveCech.chartCoordinates_restriction, Finsupp.coe_finsetSum, |
| 44 | Finset.sum_apply, Finsupp.smul_apply, smul_eq_mul, Cech.Contraction.ProjectiveCech.cechDifferential] |
| 45 | |
| 46 | theorem polynomialCechDifferential_square (f : PolynomialCechFamily (σ := σ) R) : |
| 47 | polynomialCechDifferential R (polynomialCechDifferential R f) = 0 := by |
| 48 | funext s |
| 49 | apply LaurentCoordinates.ProjectiveCech.chartCoordinates_injective R s |
| 50 | ext a |
| 51 | rw [polynomialCechDifferential_coordinates] |
| 52 | have he : (fun t => LaurentCoordinates.ProjectiveCech.chartCoordinates R t (polynomialCechDifferential R f t) a) = |
| 53 | Cech.Contraction.ProjectiveCech.cechDifferential R (fun t => LaurentCoordinates.ProjectiveCech.chartCoordinates R t (f t) a) := by |
| 54 | funext t |
| 55 | exact polynomialCechDifferential_coordinates R f t a |
| 56 | rw [he, Cech.Differential.ProjectiveCech.cechDifferential_square, Pi.zero_apply, Pi.zero_apply, map_zero, |
| 57 | Finsupp.zero_apply] |
| 58 | |
| 59 | def CechHomogeneous (d : ℤ) (f : PolynomialCechFamily (σ := σ) R) : Prop := |
| 60 | ∀ s, f s ∈ LaurentDegree.ProjectiveCech.laurentDegreeSubmodule R s d |
| 61 | |
| 62 | def CechCardSupported (q : ℕ) (f : PolynomialCechFamily (σ := σ) R) : Prop := |
| 63 | ∀ s, s.card ≠ q → f s = 0 |
| 64 | |
| 65 | theorem polynomialCechDifferential_homogeneous (d : ℤ) (f : PolynomialCechFamily (σ := σ) R) |
| 66 | (hf : CechHomogeneous R d f) : CechHomogeneous R d (polynomialCechDifferential R f) := by |
| 67 | intro s |
| 68 | apply Submodule.sum_mem |
| 69 | intro i _ |
| 70 | exact Submodule.smul_mem _ _ |
| 71 | (LaurentDegree.ProjectiveCech.chartRestriction_preserves_degree R (Finset.erase_subset i s) d _ (hf _)) |
| 72 | |
| 73 | theorem polynomialCechDifferential_card (q : ℕ) (f : PolynomialCechFamily (σ := σ) R) |
| 74 | (hf : CechCardSupported R q f) : CechCardSupported R (q + 1) (polynomialCechDifferential R f) := by |
| 75 | intro s hs |
| 76 | apply LaurentCoordinates.ProjectiveCech.chartCoordinates_injective R s |
| 77 | ext a |
| 78 | rw [polynomialCechDifferential_coordinates, map_zero, Finsupp.zero_apply] |
| 79 | apply Cech.Differential.ProjectiveCech.cechDifferential_card_support R q _ ?_ s hs |
| 80 | intro t ht |
| 81 | rw [hf t ht, map_zero, Finsupp.zero_apply] |
| 82 | |
| 83 | omit [LinearOrder σ] in |
| 84 | theorem polynomialCech_bounded (q : ℕ) (hq : Fintype.card σ < q) |
| 85 | (f : PolynomialCechFamily (σ := σ) R) (hf : CechCardSupported R q f) : f = 0 := by |
| 86 | funext s |
| 87 | apply hf s |
| 88 | exact ne_of_lt ((Finset.card_le_univ s).trans_lt hq) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.Cech.ProjectiveCech |