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.FlatAugmentation |
| 2 | |
| 3 | /-! # Flat Images -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.FlatImages.ProjectiveCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Higher exactness and flat projective charts give flat images in every positive homogeneous Čech degree. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 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 | variable (ℳ : ℤ → Submodule R M) |
| 20 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 21 | |
| 22 | theorem moduleCech_positive_image_flat (d : ℤ) |
| 23 | (hflat : ∀ s : Finset σ, s.Nonempty → Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d)) |
| 24 | (hex : ∀ q : ℕ, DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d (q + 2)) (q : ℕ) : |
| 25 | Module.Flat R (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d (q + 1)).range := by |
| 26 | let V : ℕ → Type (max u v) := fun k => ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d (q + 2 + k) |
| 27 | let D : ∀ k, V k →ₗ[R] V (k + 1) := fun k => ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d (q + 2 + k) |
| 28 | have hker : Module.Flat R (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d (q + 2)).ker := by |
| 29 | apply Presentations.Flat.BoundedComplex.flat_kernel_of_bounded_exact R (Fintype.card σ) V D |
| 30 | · intro k |
| 31 | apply FlatAugmentation.ProjectiveCech.moduleCechTermDifferential_exact R M ℳ d (q + 2 + k) |
| 32 | have hi : q + k + 1 + 2 = q + 2 + k + 1 := by omega |
| 33 | simpa only [hi] using hex (q + k + 1) |
| 34 | · exact ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential_zero R M ℳ d (q + 2 + Fintype.card σ) (by omega) |
| 35 | · intro k _ |
| 36 | exact ModuleCech.Terms.ProjectiveCech.moduleCechTerm_flat R M ℳ d (q + 2 + k) (by omega) hflat |
| 37 | let : Module.Flat R (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d (q + 2)).ker := hker |
| 38 | have he := (FlatAugmentation.ProjectiveCech.moduleCechTermDifferential_exact R M ℳ d (q + 1) (hex q)).linearMap_ker_eq.symm |
| 39 | exact Module.Flat.of_linearEquiv (LinearEquiv.ofEq _ _ he) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.FlatImages.ProjectiveCech |