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.ShiftedCech |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.CechVanishing |
| 3 | |
| 4 | /-! # Regular Quotient Cech -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.RegularQuotientCech.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Eventual Čech vanishing descends to the bound of a regular degree-one |
| 12 | quotient. This is the exact-sequence step in a uniform regularity argument. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.MvPolynomial DirectSum |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.ShiftedCech.GradedModules |
| 18 | |
| 19 | universe u v w |
| 20 | |
| 21 | variable {σ : Type v} [Fintype σ] [LinearOrder σ] [Nonempty σ] |
| 22 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 23 | variable (M : Type (max u v)) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 24 | [IsScalarTower R (MvPolynomial σ R) M] |
| 25 | variable (ℳ : ℤ → Submodule R M) [Decomposition ℳ] |
| 26 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 27 | [Module.Finite (MvPolynomial σ R) M] |
| 28 | variable {P : Type w} [AddCommGroup P] [Module R P] [Module (MvPolynomial σ R) P] |
| 29 | [IsScalarTower R (MvPolynomial σ R) P] |
| 30 | variable (ℙ : ℤ → Submodule R P) [Decomposition ℙ] |
| 31 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℙ] |
| 32 | |
| 33 | theorem moduleCech_exact_of_regular_quotient |
| 34 | (i : M →ₗ[MvPolynomial σ R] M) (p : M →ₗ[MvPolynomial σ R] P) |
| 35 | (hi : ∀ d m, m ∈ ℳ d → i m ∈ ℳ (d + 1)) |
| 36 | (hp : ∀ d m, m ∈ ℳ d → p m ∈ ℙ d) |
| 37 | (hinj : Function.Injective i) (hsurj : Function.Surjective p) (hex : Function.Exact i p) |
| 38 | (D : ℤ) (hP : ∀ d : ℤ, D ≤ d → ∀ q : ℕ, Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R P ℙ d q) : |
| 39 | ∀ d : ℤ, D ≤ d → ∀ q : ℕ, Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d q := by |
| 40 | have hshift : ∀ d m, m ∈ ReindexedGrading.GradedModules.shiftedGrading ℳ (-1) d → i m ∈ ℳ d := by |
| 41 | intro d m hm |
| 42 | have h := hi (d + -1) m hm |
| 43 | simpa only [neg_add_cancel_right] using h |
| 44 | obtain ⟨B, hB⟩ := Graded.CechVanishing.ProjectiveCech.moduleCech_eventual_exactness (σ := σ) R M ℳ |
| 45 | have H : ∀ k : ℕ, ∀ d : ℤ, D ≤ d → (B : ℤ) ≤ d + (k : ℤ) → |
| 46 | ∀ q : ℕ, Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d q := by |
| 47 | intro k |
| 48 | induction k with |
| 49 | | zero => |
| 50 | intro d _ hd q |
| 51 | exact hB d (by simpa only [Nat.cast_zero, add_zero] using hd) q |
| 52 | | succ k ih => |
| 53 | intro d hd hBd q |
| 54 | have hnext := ih (d + 1) (by omega) (by push_cast at hBd ⊢; omega) |
| 55 | have hs : Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M (ReindexedGrading.GradedModules.shiftedGrading ℳ (-1)) (d + 1) q := by |
| 56 | cases q with |
| 57 | | zero => |
| 58 | exact Cech.ExactLeft.ProjectiveCech.moduleCechExactAt_zero_of_injective (σ := σ) R M (ReindexedGrading.GradedModules.shiftedGrading ℳ (-1)) ℳ |
| 59 | i hshift hinj (d + 1) (hnext 0) |
| 60 | | succ q => |
| 61 | exact Cech.ExactLeft.ProjectiveCech.moduleCech_exact_left (σ := σ) R M (ReindexedGrading.GradedModules.shiftedGrading ℳ (-1)) ℳ ℙ |
| 62 | i p hshift hp hinj hsurj hex (d + 1) q (hnext (q + 1)) (hP (d + 1) (by omega) q) |
| 63 | have ht := (ShiftedCech.ProjectiveCech.moduleCechExactAt_shifted (σ := σ) R M ℳ (-1) (d + 1) q).mp hs |
| 64 | simpa only [add_neg_cancel_right] using ht |
| 65 | intro d hd q |
| 66 | exact H ((B : ℤ) - d).toNat d hd (by omega) q |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.RegularQuotientCech.ProjectiveCech |