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.Terms |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.ExactSequences |
| 3 | |
| 4 | /-! # Term Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.TermMaps.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Maps and exact sequences on the actual homogeneous Čech terms. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial DirectSum |
| 13 | |
| 14 | universe u v w t z |
| 15 | |
| 16 | variable {σ : Type u} [LinearOrder σ] (R : Type v) [CommRing R] |
| 17 | variable {M : Type w} [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 18 | [IsScalarTower R (MvPolynomial σ R) M] |
| 19 | variable {N : Type t} [AddCommGroup N] [Module R N] [Module (MvPolynomial σ R) N] |
| 20 | [IsScalarTower R (MvPolynomial σ R) N] |
| 21 | variable (ℳ : ℤ → Submodule R M) (𝒩 : ℤ → Submodule R N) |
| 22 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 23 | |
| 24 | def moduleCechTermMap (f : M →ₗ[MvPolynomial σ R] N) |
| 25 | (hf : ∀ d m, m ∈ ℳ d → f m ∈ 𝒩 d) (d : ℤ) (q : ℕ) : |
| 26 | Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d q →ₗ[R] Terms.ProjectiveCech.moduleCechTerm (σ := σ) R N 𝒩 d q := |
| 27 | ((Maps.ProjectiveCech.moduleCechMap R f).comp (Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d q).subtype).codRestrict _ |
| 28 | (fun x => ⟨Maps.ProjectiveCech.moduleCechMap_homogeneous R ℳ 𝒩 f hf d x.val x.property.1, |
| 29 | Maps.ProjectiveCech.moduleCechMap_card R f q x.val x.property.2⟩) |
| 30 | |
| 31 | omit [LinearOrder σ] in |
| 32 | theorem moduleCechTermMap_injective (f : M →ₗ[MvPolynomial σ R] N) |
| 33 | (hf : ∀ d m, m ∈ ℳ d → f m ∈ 𝒩 d) (hfinj : Function.Injective f) (d : ℤ) (q : ℕ) : |
| 34 | Function.Injective (moduleCechTermMap R ℳ 𝒩 f hf d q) := by |
| 35 | intro x y hxy |
| 36 | apply Subtype.ext |
| 37 | exact Maps.ProjectiveCech.moduleCechMap_injective R f hfinj (congrArg Subtype.val hxy) |
| 38 | |
| 39 | variable [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) 𝒩] |
| 40 | |
| 41 | theorem moduleCechTermMap_differential (f : M →ₗ[MvPolynomial σ R] N) |
| 42 | (hf : ∀ d m, m ∈ ℳ d → f m ∈ 𝒩 d) (d : ℤ) (q : ℕ) |
| 43 | (x : Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d q) : |
| 44 | moduleCechTermMap R ℳ 𝒩 f hf d (q + 1) (Terms.ProjectiveCech.moduleCechTermDifferential R M ℳ d q x) = |
| 45 | Terms.ProjectiveCech.moduleCechTermDifferential R N 𝒩 d q (moduleCechTermMap R ℳ 𝒩 f hf d q x) := by |
| 46 | apply Subtype.ext |
| 47 | exact Maps.ProjectiveCech.moduleCechMap_differential R f x.val |
| 48 | |
| 49 | variable [Decomposition ℳ] [Decomposition 𝒩] |
| 50 | |
| 51 | omit [LinearOrder σ] in |
| 52 | theorem moduleCechTermMap_surjective (f : M →ₗ[MvPolynomial σ R] N) |
| 53 | (hf : ∀ d m, m ∈ ℳ d → f m ∈ 𝒩 d) (hfsurj : Function.Surjective f) (d : ℤ) (q : ℕ) : |
| 54 | Function.Surjective (moduleCechTermMap R ℳ 𝒩 f hf d q) := by |
| 55 | intro y |
| 56 | obtain ⟨x, hx, hxc, hxy⟩ := ExactSequences.ProjectiveCech.moduleCechMap_lift R ℳ 𝒩 f hf hfsurj d q y.val y.property.1 y.property.2 |
| 57 | exact ⟨⟨x, hx, hxc⟩, Subtype.ext hxy⟩ |
| 58 | |
| 59 | variable {P : Type z} [AddCommGroup P] [Module R P] [Module (MvPolynomial σ R) P] |
| 60 | [IsScalarTower R (MvPolynomial σ R) P] |
| 61 | variable (ℙ : ℤ → Submodule R P) |
| 62 | |
| 63 | omit [LinearOrder σ] in |
| 64 | theorem moduleCechTermMap_exact (f : M →ₗ[MvPolynomial σ R] N) (g : N →ₗ[MvPolynomial σ R] P) |
| 65 | (hf : ∀ d m, m ∈ ℳ d → f m ∈ 𝒩 d) (hg : ∀ d m, m ∈ 𝒩 d → g m ∈ ℙ d) |
| 66 | (hex : Function.Exact f g) (d : ℤ) (q : ℕ) : |
| 67 | Function.Exact (moduleCechTermMap R ℳ 𝒩 f hf d q) (moduleCechTermMap R 𝒩 ℙ g hg d q) := by |
| 68 | intro y |
| 69 | constructor |
| 70 | · intro hy |
| 71 | obtain ⟨x, hx, hxc, hxy⟩ := ExactSequences.ProjectiveCech.moduleCechMap_kernel_lift R ℳ 𝒩 ℙ f g hf hg hex d q |
| 72 | y.val y.property.1 y.property.2 (congrArg Subtype.val hy) |
| 73 | exact ⟨⟨x, hx, hxc⟩, Subtype.ext hxy⟩ |
| 74 | · rintro ⟨x, rfl⟩ |
| 75 | apply Subtype.ext |
| 76 | exact (Maps.ProjectiveCech.moduleCechMap_exact R f g hex _).mpr ⟨x.val, rfl⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.TermMaps.ProjectiveCech |