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.Augmented.SymmetricChartEquiv |
| 2 | |
| 3 | /-! # Affine Compactification -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.AffineCompactification.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The affine symmetric spectrum embeds as the distinguished open in |
| 10 | the actual projective spectrum of the augmented module. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 13 | |
| 14 | variable (R M : Type) [CommRing R] [AddCommGroup M] [Module R M] |
| 15 | |
| 16 | attribute [local instance] Augmented.SymmetricChartGenerators.BundleCycles.augmentedSymmetricChartAlgebra |
| 17 | |
| 18 | def augmentedSymmetricAffineChartIso : |
| 19 | (Proj.basicOpen (Grading.BundleCycles.symmetricGrading R (R × M)) (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricVariable R M)).toScheme ≅ |
| 20 | Spec (.of (SymmetricAlgebra R M)) := |
| 21 | Proj.basicOpenIsoSpec (Grading.BundleCycles.symmetricGrading R (R × M)) (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricVariable R M) |
| 22 | (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricVariable_degree R M) (by decide : 0 < 1) ≪≫ |
| 23 | Scheme.Spec.mapIso (Augmented.SymmetricChartEquiv.BundleCycles.augmentedSymmetricChartEquiv R M).toRingEquiv.toCommRingCatIso.symm.op |
| 24 | |
| 25 | def symmetricAffineCompactification : |
| 26 | Spec (.of (SymmetricAlgebra R M)) ⟶ SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R (R × M) := |
| 27 | Spec.map (CommRingCat.ofHom (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricDehomogenization R M)) ≫ |
| 28 | Proj.awayι (Grading.BundleCycles.symmetricGrading R (R × M)) (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricVariable R M) |
| 29 | (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricVariable_degree R M) (by decide : 0 < 1) |
| 30 | |
| 31 | instance symmetricAffineCompactification_isOpenImmersion : |
| 32 | IsOpenImmersion (symmetricAffineCompactification R M) := by |
| 33 | let e := (Augmented.SymmetricChartEquiv.BundleCycles.augmentedSymmetricChartEquiv R M).toRingEquiv.toCommRingCatIso |
| 34 | let : IsIso (CommRingCat.ofHom (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricDehomogenization R M)) := e.isIso_hom |
| 35 | unfold symmetricAffineCompactification |
| 36 | infer_instance |
| 37 | |
| 38 | theorem symmetricAffineCompactification_opensRange : |
| 39 | (symmetricAffineCompactification R M).opensRange = |
| 40 | Proj.basicOpen (Grading.BundleCycles.symmetricGrading R (R × M)) (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricVariable R M) := by |
| 41 | let e := (Augmented.SymmetricChartEquiv.BundleCycles.augmentedSymmetricChartEquiv R M).toRingEquiv.toCommRingCatIso |
| 42 | let : IsIso (CommRingCat.ofHom (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricDehomogenization R M)) := e.isIso_hom |
| 43 | unfold symmetricAffineCompactification |
| 44 | exact (Scheme.Hom.opensRange_comp_of_isIso _ _).trans (Proj.opensRange_awayι _ _ _ _) |
| 45 | |
| 46 | theorem symmetricAffineCompactification_over : |
| 47 | symmetricAffineCompactification R M ≫ SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × M) = |
| 48 | Spec.map (CommRingCat.ofHom (algebraMap R (SymmetricAlgebra R M))) := by |
| 49 | unfold symmetricAffineCompactification SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase |
| 50 | rw [Category.assoc, ← Category.assoc (Proj.awayι _ _ _ _), Proj.awayι_toSpecZero, |
| 51 | ← Spec.map_comp, ← Spec.map_comp] |
| 52 | congr 1 |
| 53 | ext r |
| 54 | exact Augmented.SymmetricChartScalar.BundleCycles.augmentedSymmetricDehomogenization_scalar R M r |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.AffineCompactification.BundleCycles |