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.SheafCohomology.Projective.HomogeneousGeneratorImage |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.FilteredModuleFiniteFrame |
| 3 | |
| 4 | /-! # Weighted Section Rank Bounds -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.WeightedSectionRankBounds.Dimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Injective section maps with weighted polynomial images satisfy the generic-rank dimension bounds. -/ |
| 11 | |
| 12 | theorem weightedSection_rank_shift_bounds |
| 13 | {K B σ M ι : Type*} [Field K] [CommRing B] [IsDomain B] [Algebra K B] |
| 14 | [Finite σ] [Fintype ι] [AddCommGroup M] [Module K M] [Module B M] |
| 15 | [IsScalarTower K B M] [Module.Flat B M] [Module.FinitePresentation B M] |
| 16 | (v : σ → B) (hv : Algebra.adjoin K (Set.range v) = ⊤) |
| 17 | (w : ι → M) (hw : Submodule.span B (Set.range w) = ⊤) (d : ι → ℕ) |
| 18 | (E : ℕ → Type*) [∀ n, AddCommGroup (E n)] [∀ n, Module K (E n)] |
| 19 | (c : ∀ n, E n →ₗ[K] M) (hc : ∀ n, Function.Injective (c n)) |
| 20 | (b : ℕ) (himage : ∀ n, b ≤ n → (c n).range = HomogeneousGeneratorImage.Dimension.weightedPolynomialModulePiece (K := K) v w d n) : |
| 21 | ∃ s : ℕ, |
| 22 | (∀ n, b ≤ n → Module.rankAtStalk (R := B) M (⊥ : PrimeSpectrum B) * |
| 23 | Module.finrank K (PolynomialFilteredAlgebra.Dimension.polynomialFilteredPiece (K := K) v n) ≤ Module.finrank K (E (n + s))) ∧ |
| 24 | (∀ n, b ≤ n → Module.finrank K (E n) ≤ |
| 25 | Module.rankAtStalk (R := B) M (⊥ : PrimeSpectrum B) * |
| 26 | Module.finrank K (PolynomialFilteredAlgebra.Dimension.polynomialFilteredPiece (K := K) v (n + s))) := by |
| 27 | let T := Submodule.span K (Set.range w) |
| 28 | have hT : T.FG := Submodule.fg_span (Set.finite_range w) |
| 29 | have hspan : Submodule.span B (T : Set M) = ⊤ := by |
| 30 | apply top_unique |
| 31 | rw [← hw] |
| 32 | exact Submodule.span_mono Submodule.subset_span |
| 33 | obtain ⟨a, hfinite, hlo, hhi⟩ := FilteredModuleFiniteFrame.Dimension.finiteFlatModule_filtered_rank_shift_bounds v hv T hT hspan |
| 34 | obtain ⟨s, hlow, hupp⟩ := HomogeneousGeneratorImage.Dimension.weightedPolynomialModulePiece_comparable (K := K) v w d |
| 35 | have hWfinite (n : ℕ) : Module.Finite K (HomogeneousGeneratorImage.Dimension.weightedPolynomialModulePiece (K := K) v w d n) := by |
| 36 | have := hfinite n |
| 37 | exact Module.Finite.of_injective (Submodule.inclusion (hupp n)) (Submodule.inclusion_injective _) |
| 38 | have hdim (n : ℕ) (hn : b ≤ n) : |
| 39 | Module.finrank K (E n) = Module.finrank K (HomogeneousGeneratorImage.Dimension.weightedPolynomialModulePiece (K := K) v w d n) := by |
| 40 | rw [← himage n hn] |
| 41 | exact (LinearMap.finrank_range_of_inj (hc n)).symm |
| 42 | refine ⟨a + s, FilteredModuleFiniteFrame.Dimension.rank_shift_bounds_of_comparable_filtrations |
| 43 | (fun n => Module.finrank K (PolynomialFilteredAlgebra.Dimension.polynomialFilteredPiece (K := K) v n)) |
| 44 | (fun n => Module.finrank K (FilteredModuleFg.Dimension.polynomialFilteredModule v T n)) |
| 45 | (fun n => Module.finrank K (E n)) _ a s b hlo hhi ?_ ?_⟩ |
| 46 | · intro n hn |
| 47 | rw [hdim (n + s) (hn.trans (Nat.le_add_right n s))] |
| 48 | have := hWfinite (n + s) |
| 49 | exact Submodule.finrank_mono (hlow n) |
| 50 | · intro n hn |
| 51 | rw [hdim n hn] |
| 52 | have := hfinite (n + s) |
| 53 | exact Submodule.finrank_mono ((hupp n).trans |
| 54 | (FilteredModuleFg.Dimension.polynomialFilteredModule_mono v T (Nat.le_add_right n s))) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.WeightedSectionRankBounds.Dimension |