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.PrimeDimensionBound |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportDimension |
| 3 | |
| 4 | /-! # Dimension Bound -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Point.DimensionBound.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: point coheight plus support dimension is at most ambient dimension |
| 12 | -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 15 | |
| 16 | variable {X : Scheme.{0}} [IsIntegral X] (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 17 | |
| 18 | theorem coheight_add_pointDimension_le (x : X) : |
| 19 | coheight x + (Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f : ℕ∞) ≤ |
| 20 | (Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f : ℕ∞) := by |
| 21 | obtain ⟨U, hU, hx, _⟩ := exists_isAffineOpen_mem_and_subset (Opens.mem_top x) |
| 22 | let x' : U := ⟨x, hx⟩ |
| 23 | let : Nonempty U := ⟨x'⟩ |
| 24 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 25 | let := Foundations.Scheme.AffineSectionFiniteType.specSectionScalarAlgebra_finiteType f U hU |
| 26 | let p := hU.primeIdealOf x' |
| 27 | have h := PrimeDimensionBound.BundleCycles.finiteType_primeHeight_add_trdeg_le ℂ Γ(X, U) p.asIdeal |
| 28 | have hh : p.asIdeal.height = coheight x := by |
| 29 | have h₁ : p.asIdeal.height = coheight (show Spec Γ(X, U) from p) := |
| 30 | idealHeight_eq_coheight Γ(X, U) (show Spec Γ(X, U) from p) |
| 31 | have h₂ : coheight (hU.fromSpec (show Spec Γ(X, U) from p)) = |
| 32 | coheight (show Spec Γ(X, U) from p) := coheight_eq_of_isOpenImmersion hU.fromSpec |
| 33 | have h₃ : hU.fromSpec (show Spec Γ(X, U) from p) = x := hU.fromSpec_primeIdealOf x' |
| 34 | exact h₁.trans (h₂.symm.trans (congrArg coheight h₃)) |
| 35 | have hs := SupportDimension.BundleCycles.pointClosure_dimension_eq_affine f x ⟨U, hU⟩ hx |
| 36 | have ha := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_affineSections f U hU |
| 37 | rw [hh, ← hs, ← ha] at h |
| 38 | exact h |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Point.DimensionBound.BundleCycles |