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.ModuleCech.Square |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.GradedExactness |
| 3 | |
| 4 | /-! # Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.Maps.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual projective module Čech differential is natural in the module. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.GradedExactness.GradedModules |
| 15 | |
| 16 | universe u v w t |
| 17 | |
| 18 | variable {σ : Type u} [LinearOrder σ] |
| 19 | variable (R : Type v) [CommRing R] |
| 20 | variable {M : Type w} [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 21 | [IsScalarTower R (MvPolynomial σ R) M] |
| 22 | variable {N : Type t} [AddCommGroup N] [Module R N] [Module (MvPolynomial σ R) N] |
| 23 | [IsScalarTower R (MvPolynomial σ R) N] |
| 24 | |
| 25 | theorem moduleChartRestriction_natural {s t : Finset σ} (h : s ⊆ t) |
| 26 | (f : M →ₗ[MvPolynomial σ R] N) (x : Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M s) : |
| 27 | Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R t) f (Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M h x) = |
| 28 | Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R N h (Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) f x) := by |
| 29 | obtain ⟨k, m, rfl⟩ := Presentations.Module.Fractions.GradedModules.moduleFractionMap_surj (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) x |
| 30 | rw [Presentations.Module.ChartCompatibility.ProjectiveCech.moduleChartRestriction_fraction, Localized.GradedExactness.GradedModules.awayModuleMap_fraction, Localized.GradedExactness.GradedModules.awayModuleMap_fraction, |
| 31 | Presentations.Module.ChartCompatibility.ProjectiveCech.moduleChartRestriction_fraction, map_smul] |
| 32 | |
| 33 | def moduleCechMap (f : M →ₗ[MvPolynomial σ R] N) : |
| 34 | Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M →ₗ[R] Card.ProjectiveCech.ModuleCechFamily (σ := σ) R N where |
| 35 | toFun x s := Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) f (x s) |
| 36 | map_add' x y := by |
| 37 | funext s |
| 38 | exact map_add _ (x s) (y s) |
| 39 | map_smul' r x := by |
| 40 | funext s |
| 41 | exact map_smul _ r (x s) |
| 42 | |
| 43 | theorem moduleCechMap_differential (f : M →ₗ[MvPolynomial σ R] N) |
| 44 | (x : Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) : |
| 45 | moduleCechMap R f (Card.ProjectiveCech.moduleCechDifferential R M x) = |
| 46 | Card.ProjectiveCech.moduleCechDifferential R N (moduleCechMap R f x) := by |
| 47 | funext s |
| 48 | change Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) f |
| 49 | (∑ i ∈ s, Cech.Signs.ProjectiveCech.alternatingSign R s i • Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M |
| 50 | (Finset.erase_subset i s) (x (s.erase i))) = _ |
| 51 | simp only [map_sum, map_smul, moduleChartRestriction_natural] |
| 52 | rfl |
| 53 | |
| 54 | omit [LinearOrder σ] in |
| 55 | theorem moduleCechMap_card (f : M →ₗ[MvPolynomial σ R] N) (q : ℕ) |
| 56 | (x : Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) (hx : Card.ProjectiveCech.ModuleCechCardSupported R M q x) : |
| 57 | Card.ProjectiveCech.ModuleCechCardSupported R N q (moduleCechMap R f x) := by |
| 58 | intro s hs |
| 59 | change Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) f (x s) = 0 |
| 60 | rw [hx s hs, map_zero] |
| 61 | |
| 62 | variable (ℳ : ℤ → Submodule R M) [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 63 | variable (𝒩 : ℤ → Submodule R N) |
| 64 | |
| 65 | omit [LinearOrder σ] in |
| 66 | theorem moduleCechMap_homogeneous (f : M →ₗ[MvPolynomial σ R] N) |
| 67 | (hf : ∀ d m, m ∈ ℳ d → f m ∈ 𝒩 d) (d : ℤ) |
| 68 | (x : Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) (hx : Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d x) : |
| 69 | Card.ProjectiveCech.ModuleCechHomogeneous R N 𝒩 d (moduleCechMap R f x) := by |
| 70 | intro s |
| 71 | exact Localized.GradedExactness.GradedModules.awayModuleMap_homogeneous (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ 𝒩 |
| 72 | (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) f hf d (x s) (hx s) |
| 73 | |
| 74 | omit [LinearOrder σ] in |
| 75 | theorem moduleCechMap_injective (f : M →ₗ[MvPolynomial σ R] N) (hf : Function.Injective f) : |
| 76 | Function.Injective (moduleCechMap R f) := by |
| 77 | intro x y h |
| 78 | funext s |
| 79 | exact IsLocalizedModule.map_injective (Submonoid.powers (LaurentMonomials.ProjectiveCech.inversionMonomial R s)) |
| 80 | (LocalizedModule.mkLinearMap (Submonoid.powers (LaurentMonomials.ProjectiveCech.inversionMonomial R s)) M) |
| 81 | (LocalizedModule.mkLinearMap (Submonoid.powers (LaurentMonomials.ProjectiveCech.inversionMonomial R s)) N) f hf (congrFun h s) |
| 82 | |
| 83 | variable {P : Type*} [AddCommGroup P] [Module R P] [Module (MvPolynomial σ R) P] |
| 84 | [IsScalarTower R (MvPolynomial σ R) P] |
| 85 | |
| 86 | omit [LinearOrder σ] in |
| 87 | theorem moduleCechMap_exact (f : M →ₗ[MvPolynomial σ R] N) (g : N →ₗ[MvPolynomial σ R] P) |
| 88 | (hex : Function.Exact f g) : Function.Exact (moduleCechMap R f) (moduleCechMap R g) := by |
| 89 | have he (s : Finset σ) : Function.Exact |
| 90 | (Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) f) |
| 91 | (Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) g) := |
| 92 | LocalizedModule.map_exact (Submonoid.powers (LaurentMonomials.ProjectiveCech.inversionMonomial R s)) f g hex |
| 93 | intro y |
| 94 | constructor |
| 95 | · intro hy |
| 96 | choose x hx using fun s => (he s (y s)).mp (congrFun hy s) |
| 97 | exact ⟨x, funext hx⟩ |
| 98 | · rintro ⟨x, rfl⟩ |
| 99 | funext s |
| 100 | exact (he s _).mpr ⟨x s, rfl⟩ |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.Maps.ProjectiveCech |