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.EventualDegreeFlatness |
| 2 | |
| 3 | /-! # Eventual Irrelevant Torsion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualIrrelevantTorsion.ProjectiveCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Irrelevant torsion in a finite graded polynomial module vanishes in all sufficiently high degrees. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial DirectSum |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {σ : Type v} [Fintype σ] [LinearOrder σ] |
| 16 | variable (R : Type u) [CommRing R] |
| 17 | variable (M : Type (max u v)) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 18 | [IsScalarTower R (MvPolynomial σ R) M] |
| 19 | |
| 20 | def moduleAugmentationCochain (m : M) : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M := |
| 21 | fun s => if s.card = 0 then Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) 0 m else 0 |
| 22 | |
| 23 | omit [Fintype σ] [LinearOrder σ] in |
| 24 | theorem moduleAugmentationCochain_card (m : M) : |
| 25 | ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M 0 (moduleAugmentationCochain (σ := σ) R M m) := by |
| 26 | intro s hs |
| 27 | simp only [moduleAugmentationCochain, ite_eq_right hs] |
| 28 | |
| 29 | omit [Fintype σ] [LinearOrder σ] in |
| 30 | theorem moduleAugmentationCochain_homogeneous (ℳ : ℤ → Submodule R M) |
| 31 | (d : ℤ) (m : M) (hm : m ∈ ℳ d) : |
| 32 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d (moduleAugmentationCochain (σ := σ) R M m) := by |
| 33 | intro s |
| 34 | by_cases hs : s.card = 0 |
| 35 | · simp only [moduleAugmentationCochain, ite_eq_left hs] |
| 36 | apply Localized.DegreePieces.GradedModules.moduleFractionMap_mem_degree ℳ _ _ d 0 m |
| 37 | simpa only [Nat.cast_zero, zero_mul, add_zero] using hm |
| 38 | · simpa only [moduleAugmentationCochain, ite_eq_right hs] using |
| 39 | (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d).zero_mem |
| 40 | |
| 41 | omit [Fintype σ] in |
| 42 | theorem chartFraction_zero_of_variable_torsion (m : M) |
| 43 | (hm : ∀ i : σ, ∃ k : ℕ, X (R := R) i ^ k • m = 0) |
| 44 | (s : Finset σ) (hs : s.Nonempty) : |
| 45 | Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) 0 m = 0 := by |
| 46 | obtain ⟨i, hi⟩ := hs |
| 47 | obtain ⟨k, hk⟩ := hm i |
| 48 | apply (Presentations.Module.Fractions.GradedModules.moduleFractionMap_eq_zero (R := R) _ 0 m).mpr |
| 49 | refine ⟨k, ?_⟩ |
| 50 | rw [EventualDegreeFlatness.ProjectiveCech.inversionMonomial_factor_variable R s i hi, mul_pow, mul_comm, mul_smul, hk, smul_zero] |
| 51 | |
| 52 | omit [Fintype σ] in |
| 53 | theorem moduleAugmentationCochain_cycle_of_variable_torsion (m : M) |
| 54 | (hm : ∀ i : σ, ∃ k : ℕ, X (R := R) i ^ k • m = 0) : |
| 55 | ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M (moduleAugmentationCochain (σ := σ) R M m) = 0 := by |
| 56 | funext s |
| 57 | apply Finset.sum_eq_zero |
| 58 | intro i hi |
| 59 | by_cases hsi : (s.erase i).card = 0 |
| 60 | · simp only [moduleAugmentationCochain, ite_eq_left hsi, Presentations.Module.ChartCompatibility.ProjectiveCech.moduleChartRestriction_fraction, |
| 61 | pow_zero, one_smul, chartFraction_zero_of_variable_torsion R M m hm s ⟨i, hi⟩, smul_zero] |
| 62 | · simp only [moduleAugmentationCochain, ite_eq_right hsi, map_zero, smul_zero] |
| 63 | |
| 64 | theorem eventual_no_irrelevant_torsion [Nonempty σ] [IsNoetherianRing R] |
| 65 | (ℳ : ℤ → Submodule R M) [Decomposition ℳ] |
| 66 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 67 | [Module.Finite (MvPolynomial σ R) M] : |
| 68 | ∃ N : ℕ, ∀ d : ℤ, (N : ℤ) ≤ d → ∀ m : M, m ∈ ℳ d → |
| 69 | (∀ i : σ, ∃ k : ℕ, X (R := R) i ^ k • m = 0) → m = 0 := by |
| 70 | obtain ⟨N, hN⟩ := Graded.CechVanishing.ProjectiveCech.moduleCech_eventual_exactness_explicit (σ := σ) R M ℳ |
| 71 | refine ⟨N, fun d hd m hm ht => ?_⟩ |
| 72 | have hz := (hN d hd).1 (moduleAugmentationCochain (σ := σ) R M m) |
| 73 | (moduleAugmentationCochain_homogeneous R M ℳ d m hm) |
| 74 | (moduleAugmentationCochain_card R M m) |
| 75 | (moduleAugmentationCochain_cycle_of_variable_torsion R M m ht) |
| 76 | apply (Cech.AugmentationDegree.ProjectiveCech.emptyModuleChartEquiv (σ := σ) R M).injective |
| 77 | change Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial (σ := σ) R ∅) 0 m = |
| 78 | Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial (σ := σ) R ∅) 0 0 |
| 79 | have he := congrFun hz ∅ |
| 80 | simpa only [moduleAugmentationCochain, Finset.card_empty, ite_eq_left rfl, ite_true, |
| 81 | Pi.zero_apply, map_zero] using he |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualIrrelevantTorsion.ProjectiveCech |