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.HorizontalCharts |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.PrimeExtension |
| 3 | |
| 4 | /-! # Line Vertical Divisors -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.LineVerticalDivisors.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: every vertical codimension-one affine-line point is the actual generic point of its fiber -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 13 | |
| 14 | variable (X : Scheme.{0}) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 15 | |
| 16 | theorem affineLineVerticalHeightOne_generic (y : Charts.BundleCycles.affineLine X) (hy : Order.coheight y = 1) |
| 17 | (hbase : Charts.BundleCycles.affineLineProjection X y ≠ genericPoint X) : |
| 18 | Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (Charts.BundleCycles.affineLineProjection X) (Charts.BundleCycles.affineLineProjection X y) = y := by |
| 19 | obtain ⟨U, P, rfl⟩ := Charts.BundleCycles.affineLinePolynomialChart_covers X y |
| 20 | have hu : U.2.fromSpec (LineBundles.Polynomial.Projection.BundleCycles.polynomialProjection Γ(X, U.1) P) ∈ (U.1 : Set X) := |
| 21 | U.2.range_fromSpec ▸ Set.mem_range_self (LineBundles.Polynomial.Projection.BundleCycles.polynomialProjection Γ(X, U.1) P) |
| 22 | have : Nonempty U.1 := ⟨⟨_, hu⟩⟩ |
| 23 | have hPheight : P.asIdeal.height = 1 := by |
| 24 | rw [idealHeight_eq_coheight] |
| 25 | exact (coheight_eq_of_isOpenImmersion (Charts.BundleCycles.affineLinePolynomialChart X U)).symm.trans hy |
| 26 | have hPbase : P.asIdeal.comap Polynomial.C ≠ ⊥ := by |
| 27 | intro h |
| 28 | apply hbase |
| 29 | apply (HorizontalCharts.BundleCycles.affineLinePolynomialChart_base_generic_iff X U P).mpr |
| 30 | rw [genericPoint_eq_bot_of_affine] |
| 31 | exact PrimeSpectrum.ext h |
| 32 | let : P.asIdeal.IsPrime := (show PrimeSpectrum (Polynomial Γ(X, U.1)) from P).isPrime |
| 33 | have hP : LineBundles.Polynomial.Projection.BundleCycles.polynomialPrimePoint Γ(X, U.1) (LineBundles.Polynomial.Projection.BundleCycles.polynomialProjection Γ(X, U.1) P) = P := |
| 34 | PrimeSpectrum.ext (LineBundles.Polynomial.PrimeExtension.BundleCycles.polynomialHeightOne_isExtended P.asIdeal hPheight hPbase) |
| 35 | have hb := congrArg (fun k => k P) (Charts.BundleCycles.affineLinePolynomialChart_toBase X U) |
| 36 | exact (congrArg (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (Charts.BundleCycles.affineLineProjection X)) hb).trans |
| 37 | ((GenericPoint.BundleCycles.affineLineFiberGenericPoint_on_chart X U (LineBundles.Polynomial.Projection.BundleCycles.polynomialProjection Γ(X, U.1) P)).trans |
| 38 | (congrArg (Charts.BundleCycles.affineLinePolynomialChart X U) hP)) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.LineVerticalDivisors.BundleCycles |