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.Symmetric.PrincipalChart |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.ModuleLocalBasis |
| 3 | import Mathlib.AlgebraicGeometry.AffineSpace |
| 4 | |
| 5 | /-! # Affine Scheme Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.AffineSchemeIso.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! # LineBundleCycles: polynomial trivializations as actual affine-space charts over the coefficient scheme -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | variable {R : Type} [CommRing R] (M : Type) [AddCommGroup M] [Module R M] |
| 18 | (r : R) {ι : Type} |
| 19 | |
| 20 | def symmetricPolynomialChartEquiv |
| 21 | (e : LocalizationLift.BundleCycles.LocalizedSymmetricAlgebra M (Submonoid.powers r) ≃+* MvPolynomial ι (Localization.Away r)) : |
| 22 | Spec (.of (LocalizationLift.BundleCycles.LocalizedSymmetricAlgebra M (Submonoid.powers r))) ≅ |
| 23 | AffineSpace ι (Spec (.of (Localization.Away r))) := |
| 24 | Scheme.Spec.mapIso e.symm.toCommRingCatIso.op ≪≫ (AffineSpace.SpecIso ι (.of (Localization.Away r))).symm |
| 25 | |
| 26 | theorem symmetricPolynomialChartEquiv_over |
| 27 | (e : LocalizationLift.BundleCycles.LocalizedSymmetricAlgebra M (Submonoid.powers r) ≃+* MvPolynomial ι (Localization.Away r)) |
| 28 | (he : ∀ a : Localization.Away r, |
| 29 | e (LocalizationLift.BundleCycles.localizedSymmetricScalarMap M (Submonoid.powers r) (Localization.Away r) a) = MvPolynomial.C a) : |
| 30 | (symmetricPolynomialChartEquiv M r e).hom ≫ |
| 31 | (AffineSpace ι (Spec (.of (Localization.Away r))) ↘ Spec (.of (Localization.Away r))) = |
| 32 | PrincipalChart.BundleCycles.symmetricPrincipalChartProjection M r := by |
| 33 | have h : (CommRingCat.ofHom (MvPolynomial.C : Localization.Away r →+* MvPolynomial ι _)) ≫ |
| 34 | e.symm.toCommRingCatIso.hom = |
| 35 | CommRingCat.ofHom (LocalizationLift.BundleCycles.localizedSymmetricScalarMap M (Submonoid.powers r) (Localization.Away r)) := by |
| 36 | apply CommRingCat.hom_ext |
| 37 | apply RingHom.ext |
| 38 | intro a |
| 39 | exact e.symm_apply_eq.mpr (he a).symm |
| 40 | change (Spec.map e.symm.toCommRingCatIso.hom ≫ |
| 41 | (AffineSpace.SpecIso ι (.of (Localization.Away r))).inv) ≫ _ = _ |
| 42 | rw [Category.assoc, AffineSpace.SpecIso_inv_over, ← Spec.map_comp, h] |
| 43 | rfl |
| 44 | |
| 45 | variable [Module.Projective R M] [Module.Finite R M] |
| 46 | |
| 47 | theorem projectiveSymmetric_exists_affineSpaceChart (p : Ideal R) [p.IsPrime] : |
| 48 | ∃ (r : R), r ∉ p ∧ ∃ (ι : Type) (_ : Finite ι) |
| 49 | (e : Spec (.of (LocalizationLift.BundleCycles.LocalizedSymmetricAlgebra M (Submonoid.powers r))) ≅ |
| 50 | AffineSpace ι (Spec (.of (Localization.Away r)))), |
| 51 | e.hom ≫ (AffineSpace ι (Spec (.of (Localization.Away r))) ↘ Spec (.of (Localization.Away r))) = |
| 52 | PrincipalChart.BundleCycles.symmetricPrincipalChartProjection M r := by |
| 53 | obtain ⟨r, hr, ι, hι, e, he⟩ := LineBundles.Projective.ModuleLocalBasis.BundleCycles.projectiveSymmetric_exists_trivialization M p |
| 54 | exact ⟨r, hr, ι, hι, symmetricPolynomialChartEquiv M r e, |
| 55 | symmetricPolynomialChartEquiv_over M r e he⟩ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | /-! A basis identifies the actual affine symmetric spectrum with |
| 60 | relative affine space over the same coefficient ring. -/ |
| 61 | |
| 62 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 63 | |
| 64 | variable {R M ι : Type} [CommRing R] [AddCommGroup M] [Module R M] |
| 65 | (b : Module.Basis ι R M) |
| 66 | |
| 67 | def symmetricAffineSchemeIso : Spec (.of (SymmetricAlgebra R M)) ≅ AffineSpace ι (Spec (.of R)) := |
| 68 | Scheme.Spec.mapIso (SymmetricAlgebra.equivMvPolynomial b).symm.toRingEquiv.toCommRingCatIso.op ≪≫ |
| 69 | (AffineSpace.SpecIso ι (.of R)).symm |
| 70 | |
| 71 | theorem symmetricAffineSchemeIso_over : |
| 72 | (symmetricAffineSchemeIso b).hom ≫ (AffineSpace ι (Spec (.of R)) ↘ Spec (.of R)) = |
| 73 | Spec.map (CommRingCat.ofHom (algebraMap R (SymmetricAlgebra R M))) := by |
| 74 | let e := SymmetricAlgebra.equivMvPolynomial b |
| 75 | have he : CommRingCat.ofHom (MvPolynomial.C : R →+* MvPolynomial ι R) ≫ |
| 76 | e.symm.toRingEquiv.toCommRingCatIso.hom = |
| 77 | CommRingCat.ofHom (algebraMap R (SymmetricAlgebra R M)) := by |
| 78 | ext r |
| 79 | exact e.symm.commutes r |
| 80 | change (Spec.map e.symm.toRingEquiv.toCommRingCatIso.hom ≫ (AffineSpace.SpecIso ι (.of R)).inv) ≫ _ = _ |
| 81 | rw [Category.assoc, AffineSpace.SpecIso_inv_over, ← Spec.map_comp, he] |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.AffineSchemeIso.BundleCycles |