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.Projective.MapBase |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.ScalarGrading |
| 3 | |
| 4 | /-! # Base -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricProjective.Base.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Projectivized coefficient changes commute with the actual maps to |
| 13 | the spectra of the coefficient rings. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | variable {R S M N : Type} [CommRing R] [CommRing S] [AddCommGroup M] [AddCommGroup N] |
| 18 | [Module R M] [Module S N] (f : R →+* S) (g : M →ₛₗ[f] N) |
| 19 | |
| 20 | theorem symmetricScalarDegreeZero_square : |
| 21 | (Symmetric.ScalarGrading.BundleCycles.symmetricScalarGradedMap f g).gradedZeroRingHom.comp (Symmetric.GradingIdeals.BundleCycles.symmetricDegreeZero R M).toRingHom = |
| 22 | (Symmetric.GradingIdeals.BundleCycles.symmetricDegreeZero S N).toRingHom.comp f := by |
| 23 | ext r |
| 24 | exact Symmetric.ScalarMap.BundleCycles.symmetricScalarMap_algebraMap f g r |
| 25 | |
| 26 | theorem symmetricScalarProjectiveMap_over (hgen : Submodule.span S (Set.range g) = ⊤) : |
| 27 | Symmetric.ScalarGrading.BundleCycles.symmetricScalarProjectiveMap f g hgen ≫ Scheme.BundleCycles.symmetricProjectiveToBase R M = |
| 28 | Scheme.BundleCycles.symmetricProjectiveToBase S N ≫ Spec.map (CommRingCat.ofHom f) := by |
| 29 | change Proj.map (Symmetric.ScalarGrading.BundleCycles.symmetricScalarGradedMap f g) _ ≫ |
| 30 | (Proj.toSpecZero (Symmetric.Grading.BundleCycles.symmetricGrading R M) ≫ Spec.map (CommRingCat.ofHom (Symmetric.GradingIdeals.BundleCycles.symmetricDegreeZero R M).toRingHom)) = |
| 31 | (Proj.toSpecZero (Symmetric.Grading.BundleCycles.symmetricGrading S N) ≫ Spec.map (CommRingCat.ofHom (Symmetric.GradingIdeals.BundleCycles.symmetricDegreeZero S N).toRingHom)) ≫ _ |
| 32 | rw [← Category.assoc, Projective.MapBase.BundleCycles.projectiveMap_toSpecZero, Category.assoc, Category.assoc, |
| 33 | ← Spec.map_comp, ← Spec.map_comp] |
| 34 | congr 1 |
| 35 | exact congrArg (fun h : R →+* Symmetric.Grading.BundleCycles.symmetricGrading S N 0 => Spec.map (CommRingCat.ofHom h)) |
| 36 | (symmetricScalarDegreeZero_square f g) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | /-! Projectivized surjective module maps preserve the actual base projection. -/ |
| 41 | |
| 42 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 43 | |
| 44 | variable {R M N : Type} [CommRing R] [AddCommGroup M] [AddCommGroup N] |
| 45 | [Module R M] [Module R N] (g : M →ₗ[R] N) (hg : Function.Surjective g) |
| 46 | |
| 47 | theorem symmetricProjectiveMap_over : |
| 48 | Scheme.BundleCycles.symmetricProjectiveMap g hg ≫ Scheme.BundleCycles.symmetricProjectiveToBase R M = Scheme.BundleCycles.symmetricProjectiveToBase R N := by |
| 49 | have hz : (Symmetric.GradedMap.BundleCycles.symmetricGradedMap g).gradedZeroRingHom.comp (Symmetric.GradingIdeals.BundleCycles.symmetricDegreeZero R M).toRingHom = |
| 50 | (Symmetric.GradingIdeals.BundleCycles.symmetricDegreeZero R N).toRingHom := by |
| 51 | ext r |
| 52 | exact (SymmetricAlgebra.lift ((SymmetricAlgebra.ι R N).comp g)).commutes r |
| 53 | change Proj.map (Symmetric.GradedMap.BundleCycles.symmetricGradedMap g) _ ≫ |
| 54 | (Proj.toSpecZero (Symmetric.Grading.BundleCycles.symmetricGrading R M) ≫ Spec.map (CommRingCat.ofHom (Symmetric.GradingIdeals.BundleCycles.symmetricDegreeZero R M).toRingHom)) = |
| 55 | Proj.toSpecZero (Symmetric.Grading.BundleCycles.symmetricGrading R N) ≫ Spec.map (CommRingCat.ofHom (Symmetric.GradingIdeals.BundleCycles.symmetricDegreeZero R N).toRingHom) |
| 56 | rw [← Category.assoc, Projective.MapBase.BundleCycles.projectiveMap_toSpecZero, Category.assoc, ← Spec.map_comp] |
| 57 | exact congrArg (fun h : R →+* Symmetric.Grading.BundleCycles.symmetricGrading R N 0 => |
| 58 | Proj.toSpecZero (Symmetric.Grading.BundleCycles.symmetricGrading R N) ≫ Spec.map (CommRingCat.ofHom h)) hz |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricProjective.Base.BundleCycles |