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.Polynomial.CechHomotopy |
| 2 | |
| 3 | /-! # Cech Exactness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.CechExactness.ProjectiveCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exactness in nonnegative degrees of the augmented polynomial Čech complex. -/ |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {σ : Type u} [Fintype σ] [LinearOrder σ] [Nonempty σ] |
| 14 | variable (R : Type v) [CommRing R] |
| 15 | |
| 16 | theorem polynomialCech_contraction_identity (d : ℤ) (hd : 0 ≤ d) |
| 17 | (f : Cech.ProjectiveCech.PolynomialCechFamily (σ := σ) R) (hf : Cech.ProjectiveCech.CechHomogeneous R d f) : |
| 18 | Cech.ProjectiveCech.polynomialCechDifferential R (CechHomotopy.ProjectiveCech.polynomialCechContraction R f) + |
| 19 | CechHomotopy.ProjectiveCech.polynomialCechContraction R (Cech.ProjectiveCech.polynomialCechDifferential R f) = f := by |
| 20 | funext s |
| 21 | apply LaurentCoordinates.ProjectiveCech.chartCoordinates_injective R s |
| 22 | ext a |
| 23 | change LaurentCoordinates.ProjectiveCech.chartCoordinates R s (Cech.ProjectiveCech.polynomialCechDifferential R (CechHomotopy.ProjectiveCech.polynomialCechContraction R f) s + |
| 24 | CechHomotopy.ProjectiveCech.polynomialCechContraction R (Cech.ProjectiveCech.polynomialCechDifferential R f) s) a = _ |
| 25 | rw [map_add, Finsupp.add_apply, Cech.ProjectiveCech.polynomialCechDifferential_coordinates, |
| 26 | CechHomotopy.ProjectiveCech.polynomialCechContraction_coordinates R d hd _ (Cech.ProjectiveCech.polynomialCechDifferential_homogeneous R d f hf)] |
| 27 | have hH : (fun t => LaurentCoordinates.ProjectiveCech.chartCoordinates R t (CechHomotopy.ProjectiveCech.polynomialCechContraction R f t) a) = |
| 28 | Cech.Contraction.ProjectiveCech.cechContraction R (CechHomotopy.ProjectiveCech.cechPivot a) (fun t => LaurentCoordinates.ProjectiveCech.chartCoordinates R t (f t) a) := by |
| 29 | funext t |
| 30 | exact CechHomotopy.ProjectiveCech.polynomialCechContraction_coordinates R d hd f hf t a |
| 31 | have hD : (fun t => LaurentCoordinates.ProjectiveCech.chartCoordinates R t (Cech.ProjectiveCech.polynomialCechDifferential R f t) a) = |
| 32 | Cech.Contraction.ProjectiveCech.cechDifferential R (fun t => LaurentCoordinates.ProjectiveCech.chartCoordinates R t (f t) a) := by |
| 33 | funext t |
| 34 | exact Cech.ProjectiveCech.polynomialCechDifferential_coordinates R f t a |
| 35 | rw [hH, hD] |
| 36 | exact Cech.Contraction.ProjectiveCech.cech_contraction_identity R (CechHomotopy.ProjectiveCech.cechPivot a) _ s |
| 37 | |
| 38 | theorem polynomialCechContraction_zero : |
| 39 | CechHomotopy.ProjectiveCech.polynomialCechContraction R (0 : Cech.ProjectiveCech.PolynomialCechFamily (σ := σ) R) = 0 := by |
| 40 | funext s |
| 41 | have h : CechHomotopy.ProjectiveCech.polynomialContractionCoefficients R (0 : Cech.ProjectiveCech.PolynomialCechFamily (σ := σ) R) s = 0 := by |
| 42 | ext a |
| 43 | simp only [CechHomotopy.ProjectiveCech.polynomialContractionCoefficients_apply, Pi.zero_apply, map_zero, |
| 44 | Finsupp.zero_apply, Cech.Contraction.ProjectiveCech.cechContraction, mul_zero, ite_self] |
| 45 | change LaurentCoordinates.ProjectiveCech.chartOfCoordinates R s _ = 0 |
| 46 | rw [h, map_zero] |
| 47 | |
| 48 | theorem polynomialCech_exact (d : ℤ) (hd : 0 ≤ d) (q : ℕ) |
| 49 | (f : Cech.ProjectiveCech.PolynomialCechFamily (σ := σ) R) (hf : Cech.ProjectiveCech.CechHomogeneous R d f) |
| 50 | (hcard : Cech.ProjectiveCech.CechCardSupported R (q + 1) f) (hcocycle : Cech.ProjectiveCech.polynomialCechDifferential R f = 0) : |
| 51 | ∃ g : Cech.ProjectiveCech.PolynomialCechFamily (σ := σ) R, |
| 52 | Cech.ProjectiveCech.CechHomogeneous R d g ∧ Cech.ProjectiveCech.CechCardSupported R q g ∧ Cech.ProjectiveCech.polynomialCechDifferential R g = f := by |
| 53 | refine ⟨CechHomotopy.ProjectiveCech.polynomialCechContraction R f, CechHomotopy.ProjectiveCech.polynomialCechContraction_homogeneous R d f hf, |
| 54 | CechHomotopy.ProjectiveCech.polynomialCechContraction_card R q f hcard, ?_⟩ |
| 55 | have h := polynomialCech_contraction_identity R d hd f hf |
| 56 | rwa [hcocycle, polynomialCechContraction_zero, add_zero] at h |
| 57 | |
| 58 | theorem polynomialCechContraction_card_zero (f : Cech.ProjectiveCech.PolynomialCechFamily (σ := σ) R) |
| 59 | (hf : Cech.ProjectiveCech.CechCardSupported R 0 f) : CechHomotopy.ProjectiveCech.polynomialCechContraction R f = 0 := by |
| 60 | funext s |
| 61 | have h : CechHomotopy.ProjectiveCech.polynomialContractionCoefficients R f s = 0 := by |
| 62 | ext a |
| 63 | rw [CechHomotopy.ProjectiveCech.polynomialContractionCoefficients_apply, Finsupp.zero_apply] |
| 64 | have hi : (insert (CechHomotopy.ProjectiveCech.cechPivot a) s).card ≠ 0 := |
| 65 | Finset.card_ne_zero.mpr ⟨CechHomotopy.ProjectiveCech.cechPivot a, Finset.mem_insert_self _ _⟩ |
| 66 | simp only [Cech.Contraction.ProjectiveCech.cechContraction, hf _ hi, map_zero, Finsupp.zero_apply, mul_zero, ite_self] |
| 67 | change LaurentCoordinates.ProjectiveCech.chartOfCoordinates R s _ = 0 |
| 68 | rw [h, map_zero] |
| 69 | |
| 70 | theorem polynomialCech_augmentation_injective (d : ℤ) (hd : 0 ≤ d) |
| 71 | (f : Cech.ProjectiveCech.PolynomialCechFamily (σ := σ) R) (hf : Cech.ProjectiveCech.CechHomogeneous R d f) |
| 72 | (hcard : Cech.ProjectiveCech.CechCardSupported R 0 f) (hcocycle : Cech.ProjectiveCech.polynomialCechDifferential R f = 0) : f = 0 := by |
| 73 | have h := polynomialCech_contraction_identity R d hd f hf |
| 74 | rw [polynomialCechContraction_card_zero R f hcard, map_zero, hcocycle, |
| 75 | polynomialCechContraction_zero, add_zero] at h |
| 76 | exact h.symm |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.CechExactness.ProjectiveCech |