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.Divisors.LineBundles.SymmetricProjective.Scheme |
| 2 | import Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Proper |
| 3 | import Mathlib.RingTheory.FiniteType |
| 4 | |
| 5 | /-! # Proper -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricProjective.Proper.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The projective spectrum of a finite module's actual symmetric |
| 12 | algebra is proper over the base ring. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R M : Type u) [CommRing R] [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 19 | |
| 20 | theorem symmetricAlgebra_finiteType : Algebra.FiniteType R (SymmetricAlgebra R M) := by |
| 21 | classical |
| 22 | obtain ⟨s, hs⟩ := Module.Finite.fg_top (R := R) (M := M) |
| 23 | let T := Algebra.adjoin R (SymmetricAlgebra.ι R M '' (s : Set M)) |
| 24 | have hi : ∀ m, SymmetricAlgebra.ι R M m ∈ T := by |
| 25 | intro m |
| 26 | have hm : m ∈ Submodule.span R (s : Set M) := by rw [hs]; trivial |
| 27 | induction hm using Submodule.span_induction with |
| 28 | | mem x hx => exact Algebra.subset_adjoin ⟨x, hx, rfl⟩ |
| 29 | | zero => rw [map_zero]; exact T.zero_mem |
| 30 | | add x y hx hy ihx ihy => rw [map_add]; exact T.add_mem ihx ihy |
| 31 | | smul r x hx ih => rw [map_smul]; exact T.smul_mem ih r |
| 32 | have hT : T = ⊤ := by |
| 33 | apply top_unique |
| 34 | intro x hx |
| 35 | clear hx |
| 36 | induction x using SymmetricAlgebra.induction with |
| 37 | | algebraMap r => exact T.algebraMap_mem r |
| 38 | | ι m => exact hi m |
| 39 | | mul a b ha hb => exact T.mul_mem ha hb |
| 40 | | add a b ha hb => exact T.add_mem ha hb |
| 41 | refine ⟨s.image (SymmetricAlgebra.ι R M), ?_⟩ |
| 42 | rw [Finset.coe_image] |
| 43 | exact hT |
| 44 | |
| 45 | theorem symmetricDegreeZero_finiteType : |
| 46 | Algebra.FiniteType (Symmetric.Grading.BundleCycles.symmetricGrading R M 0) (SymmetricAlgebra R M) := by |
| 47 | let := symmetricAlgebra_finiteType R M |
| 48 | let : IsScalarTower R (Symmetric.Grading.BundleCycles.symmetricGrading R M 0) (SymmetricAlgebra R M) := by |
| 49 | constructor |
| 50 | intro r s a |
| 51 | change (r • s.val) * a = r • (s.val * a) |
| 52 | exact smul_mul_assoc r s.val a |
| 53 | exact Algebra.FiniteType.of_restrictScalars_finiteType R (Symmetric.Grading.BundleCycles.symmetricGrading R M 0) (SymmetricAlgebra R M) |
| 54 | |
| 55 | instance symmetricProjectiveToBase_isProper : IsProper (Scheme.BundleCycles.symmetricProjectiveToBase R M) := by |
| 56 | let := symmetricDegreeZero_finiteType R M |
| 57 | let e := (Symmetric.GradingIdeals.BundleCycles.symmetricDegreeZero R M).toCommRingCatIso |
| 58 | let : IsIso (CommRingCat.ofHom (Symmetric.GradingIdeals.BundleCycles.symmetricDegreeZero R M).toRingHom) := e.isIso_hom |
| 59 | unfold Scheme.BundleCycles.symmetricProjectiveToBase |
| 60 | infer_instance |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricProjective.Proper.BundleCycles |