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.AffineLine.Charts |
| 2 | import Mathlib.AlgebraicGeometry.Noetherian |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Separated |
| 4 | |
| 5 | /-! # Space -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.Space.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! # LineBundleCycles: smoothness and Noetherianity of the actual relative affine line -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | variable (X : Scheme.{0}) |
| 18 | |
| 19 | instance affineLineChartRing_noetherian [IsLocallyNoetherian X] (U : X.affineOpens) : |
| 20 | IsNoetherianRing Γ(X, U.1) := IsLocallyNoetherian.component_noetherian U |
| 21 | |
| 22 | instance affineLineProjection_smooth : Smooth (Charts.BundleCycles.affineLineProjection X) := by |
| 23 | have : IsZariskiLocalAtSource (@Smooth.{0}) := HasRingHomProperty.instIsZariskiLocalAtSource |
| 24 | apply IsZariskiLocalAtSource.of_openCover (P := @Smooth) (Charts.BundleCycles.affineLinePolynomialCover X) |
| 25 | intro U |
| 26 | have h : Smooth (LineBundles.Polynomial.Projection.BundleCycles.polynomialProjection Γ(X, U.1) ≫ U.2.fromSpec) := by |
| 27 | have h₁ := LineBundles.Polynomial.AffineSpace.BundleCycles.polynomialProjection_smooth Γ(X, U.1) |
| 28 | have : IsOpenImmersion U.2.fromSpec := IsAffineOpen.isOpenImmersion_fromSpec U.2 |
| 29 | have h₂ : Smooth U.2.fromSpec := inferInstance |
| 30 | exact @smooth_comp _ _ (LineBundles.Polynomial.Projection.BundleCycles.polynomialProjection Γ(X, U.1)) _ U.2.fromSpec h₁ h₂ |
| 31 | exact (congrArg (fun k => Smooth k) (Charts.BundleCycles.affineLinePolynomialChart_toBase X U)).mpr h |
| 32 | |
| 33 | instance affineLineProjection_geometricallyIntegral : GeometricallyIntegral (Charts.BundleCycles.affineLineProjection X) := |
| 34 | inferInstanceAs (GeometricallyIntegral (AffineSpace PUnit X ↘ X)) |
| 35 | |
| 36 | instance affineLineProjection_isAffineHom : IsAffineHom (Charts.BundleCycles.affineLineProjection X) := |
| 37 | inferInstanceAs (IsAffineHom (AffineSpace PUnit X ↘ X)) |
| 38 | |
| 39 | instance affineLine_isLocallyNoetherian [IsLocallyNoetherian X] : IsLocallyNoetherian (Charts.BundleCycles.affineLine X) := |
| 40 | LocallyOfFiniteType.isLocallyNoetherian (Charts.BundleCycles.affineLineProjection X) |
| 41 | |
| 42 | instance affineLine_isNoetherian [AlgebraicGeometry.IsNoetherian X] : |
| 43 | AlgebraicGeometry.IsNoetherian (Charts.BundleCycles.affineLine X) := by |
| 44 | have : CompactSpace (Charts.BundleCycles.affineLine X) := QuasiCompact.compactSpace_of_compactSpace (Charts.BundleCycles.affineLineProjection X) |
| 45 | exact ⟨⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | section |
| 50 | |
| 51 | /-! # LineBundleCycles: the actual closed zero section of the relative affine line -/ |
| 52 | |
| 53 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 54 | |
| 55 | variable (X : Scheme.{0}) |
| 56 | |
| 57 | def affineLineZeroSection : X ⟶ Charts.BundleCycles.affineLine X := AffineSpace.homOfVector (𝟙 X) (fun _ : PUnit => 0) |
| 58 | |
| 59 | def affineLineCoordinate : Γ(Charts.BundleCycles.affineLine X, ⊤) := AffineSpace.coord X PUnit.unit |
| 60 | |
| 61 | theorem affineLineZeroSection_projection : affineLineZeroSection X ≫ Charts.BundleCycles.affineLineProjection X = 𝟙 X := |
| 62 | AffineSpace.homOfVector_over _ _ |
| 63 | |
| 64 | theorem affineLineZeroSection_coordinate : (affineLineZeroSection X).appTop (affineLineCoordinate X) = 0 := |
| 65 | AffineSpace.homOfVector_appTop_coord _ _ _ |
| 66 | |
| 67 | instance affineLineZeroSection_isClosedImmersion : IsClosedImmersion (affineLineZeroSection X) := by |
| 68 | have : IsClosedImmersion (affineLineZeroSection X ≫ Charts.BundleCycles.affineLineProjection X) := |
| 69 | (affineLineZeroSection_projection X).symm ▸ (inferInstance : IsClosedImmersion (𝟙 X)) |
| 70 | exact IsClosedImmersion.of_comp (affineLineZeroSection X) (Charts.BundleCycles.affineLineProjection X) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | /-! # LineBundleCycles: the global affine-line coordinate is the actual polynomial variable on every chart -/ |
| 75 | |
| 76 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 77 | |
| 78 | variable (R : Type) [CommRing R] |
| 79 | |
| 80 | def polynomialCoordinateSection : Γ(Spec (.of (Polynomial R)), ⊤) := |
| 81 | (Scheme.ΓSpecIso (.of (Polynomial R))).inv Polynomial.X |
| 82 | |
| 83 | theorem polynomialAffineSpaceEquiv_coordinate : |
| 84 | (LineBundles.Polynomial.AffineSpace.BundleCycles.polynomialAffineSpaceEquiv R).hom.appTop (affineLineCoordinate (Spec (.of R))) = |
| 85 | polynomialCoordinateSection R := by |
| 86 | let a : CommRingCat.of (MvPolynomial PUnit R) ⟶ CommRingCat.of (Polynomial R) := |
| 87 | (MvPolynomial.uniqueAlgEquiv R PUnit).toRingEquiv.toCommRingCatIso.hom |
| 88 | have hn := ConcreteCategory.congr_hom (Scheme.ΓSpecIso_inv_naturality a) (MvPolynomial.X PUnit.unit) |
| 89 | have hX : a (MvPolynomial.X PUnit.unit) = Polynomial.X := MvPolynomial.eval₂_X _ _ _ |
| 90 | change (Scheme.ΓSpecIso (.of (Polynomial R))).inv (a (MvPolynomial.X PUnit.unit)) = |
| 91 | (Spec.map a).appTop ((Scheme.ΓSpecIso (.of (MvPolynomial PUnit R))).inv (MvPolynomial.X PUnit.unit)) at hn |
| 92 | rw [hX] at hn |
| 93 | change (Spec.map a ≫ (AffineSpace.SpecIso PUnit (.of R)).inv).appTop |
| 94 | (AffineSpace.coord (Spec (.of R)) PUnit.unit) = _ |
| 95 | rw [Scheme.Hom.comp_appTop, CommRingCat.comp_apply, AffineSpace.SpecIso_inv_appTop_coord] |
| 96 | exact hn.symm |
| 97 | |
| 98 | variable (X : Scheme.{0}) |
| 99 | |
| 100 | theorem affineLineCoordinate_on_chart (U : X.affineOpens) : |
| 101 | (Charts.BundleCycles.affineLinePolynomialChart X U).appTop (affineLineCoordinate X) = |
| 102 | polynomialCoordinateSection Γ(X, U.1) := by |
| 103 | change ((LineBundles.Polynomial.AffineSpace.BundleCycles.polynomialAffineSpaceEquiv Γ(X, U.1)).hom ≫ AffineSpace.map PUnit U.2.fromSpec).appTop |
| 104 | (AffineSpace.coord X PUnit.unit) = _ |
| 105 | rw [Scheme.Hom.comp_appTop, CommRingCat.comp_apply, AffineSpace.map_appTop_coord] |
| 106 | exact polynomialAffineSpaceEquiv_coordinate Γ(X, U.1) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.Space.BundleCycles |