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.Cech.ModuleIsomorphism |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.CechVanishing |
| 3 | import Mathlib.LinearAlgebra.Finsupp.Pi |
| 4 | |
| 5 | /-! # Module Cech -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.ModuleCech.ProjectiveCech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The polynomial ring, as its actual module, has exact augmented Čech complex in nonnegative degrees. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {σ : Type v} [Fintype σ] [LinearOrder σ] [Nonempty σ] |
| 18 | variable (R : Type u) [CommRing R] |
| 19 | |
| 20 | theorem polynomialModuleCech_exactAt (d : ℤ) (hd : 0 ≤ d) (q : ℕ) : |
| 21 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R (MvPolynomial σ R) (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) d q := by |
| 22 | let ι := PUnit.{max u v + 1} |
| 23 | let E := Finsupp.uniqueLinearEquiv (MvPolynomial σ R) (MvPolynomial σ R) (default : ι) |
| 24 | have he (a : ℤ) (f : ι →₀ MvPolynomial σ R) |
| 25 | (hf : f ∈ WeightedFreeModules.GradedModules.weightedFreeGrading R (fun _ : ι => (0 : ℤ)) a) : |
| 26 | E f ∈ WeightedFreeModules.GradedModules.polynomialIntegerGrading R a := by |
| 27 | have h := (WeightedFreeModules.GradedModules.mem_weightedFreeGrading R (fun _ : ι => (0 : ℤ)) a f).mp hf default |
| 28 | simpa only [E, Finsupp.uniqueLinearEquiv_apply, sub_zero] using h |
| 29 | apply (Cech.ModuleIsomorphism.ProjectiveCech.moduleCechExactAt_iff_of_module_bijective R (WeightedFreeModules.GradedModules.weightedFreeGrading R (fun _ : ι => (0 : ℤ))) |
| 30 | (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) E.toLinearMap he E.bijective d q).mp |
| 31 | apply Graded.CechVanishing.ProjectiveCech.freeModuleCech_exactAt R ι (fun _ => 0) d _ q |
| 32 | simpa only [FreeModuleCechExactness.ProjectiveCech.freeCechDegreeBound, Int.toNat_zero, Finset.sum_const_zero, Nat.cast_zero] using hd |
| 33 | |
| 34 | omit [Fintype σ] [Nonempty σ] in |
| 35 | theorem moduleCechExactAt_of_subsingleton (M : Type*) [AddCommGroup M] [Module R M] |
| 36 | [Module (MvPolynomial σ R) M] [IsScalarTower R (MvPolynomial σ R) M] [Subsingleton M] |
| 37 | (ℳ : ℤ → Submodule R M) (d : ℤ) (q : ℕ) : |
| 38 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d q := by |
| 39 | intro f _ _ _ |
| 40 | have hf : f = 0 := by |
| 41 | funext s |
| 42 | apply Subsingleton.elim |
| 43 | refine ⟨0, fun _ => Submodule.zero_mem _, fun _ _ => rfl, ?_⟩ |
| 44 | rw [map_zero, hf] |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.ModuleCech.ProjectiveCech |