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 | /-! # Codimension One Dimension Converse -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.CodimensionOneDimensionConverse.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: a one-dimensional transcendence drop characterizes a codimension-one prime support -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 13 | |
| 14 | theorem primeHeight_one_of_transcendence_drop (K A : Type) [Field K] [CommRing A] [IsDomain A] |
| 15 | [Algebra K A] [Algebra.FiniteType K A] (p : Ideal A) [p.IsPrime] |
| 16 | (h : (Algebra.trdeg K (A ⧸ p)).toNat + 1 = (Algebra.trdeg K A).toNat) : p.height = 1 := by |
| 17 | have hb := PrimeDimensionBound.BundleCycles.primeHeight_add_quotient_dimension_le p |
| 18 | rw [DivisorClass.Chern.FiniteTypeDimension.Construction.finiteType_ringKrullDim_eq_trdeg K A, |
| 19 | DivisorClass.Chern.FiniteTypeDimension.Construction.finiteType_ringKrullDim_eq_trdeg K (A ⧸ p), ← h, |
| 20 | Nat.cast_add, Nat.cast_one, add_comm _ (1 : WithBot ℕ∞)] at hb |
| 21 | have hp : p.height ≤ 1 := WithBot.coe_le_coe.mp (ENat.WithBot.add_le_add_natCast_right_iff.mp hb) |
| 22 | have hn : p ≠ ⊥ := by |
| 23 | intro he |
| 24 | rw [he, (AlgEquiv.quotientBot K A).trdeg_eq] at h |
| 25 | omega |
| 26 | exact le_antisymm hp (Order.one_le_iff_ne_zero.mpr (Ideal.height_eq_zero_iff_eq_bot.not.mpr hn)) |
| 27 | |
| 28 | theorem pointCoheight_one_of_dimension_drop {X : Scheme.{0}} [IsIntegral X] |
| 29 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] (x : X) |
| 30 | (h : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f + 1 = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f) : |
| 31 | coheight x = 1 := by |
| 32 | obtain ⟨U, hU, hxU, _⟩ := exists_isAffineOpen_mem_and_subset (Opens.mem_top x) |
| 33 | let x' : U := ⟨x, hxU⟩ |
| 34 | let : Nonempty U := ⟨x'⟩ |
| 35 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 36 | let := Foundations.Scheme.AffineSectionFiniteType.specSectionScalarAlgebra_finiteType f U hU |
| 37 | let p := hU.primeIdealOf x' |
| 38 | have hs := Point.SupportDimension.BundleCycles.pointClosure_dimension_eq_affine f x ⟨U, hU⟩ hxU |
| 39 | have ha := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_affineSections f U hU |
| 40 | have hd : (Algebra.trdeg ℂ (Γ(X, U) ⧸ p.asIdeal)).toNat + 1 = (Algebra.trdeg ℂ Γ(X, U)).toNat := by |
| 41 | rw [← hs, ← ha] |
| 42 | exact h |
| 43 | have hp := primeHeight_one_of_transcendence_drop ℂ Γ(X, U) p.asIdeal hd |
| 44 | have h₁ : p.asIdeal.height = coheight (show Spec Γ(X, U) from p) := |
| 45 | idealHeight_eq_coheight Γ(X, U) (show Spec Γ(X, U) from p) |
| 46 | have h₂ : coheight (hU.fromSpec (show Spec Γ(X, U) from p)) = coheight (show Spec Γ(X, U) from p) := |
| 47 | coheight_eq_of_isOpenImmersion hU.fromSpec |
| 48 | have h₃ : hU.fromSpec (show Spec Γ(X, U) from p) = x := hU.fromSpec_primeIdealOf x' |
| 49 | exact (congrArg coheight h₃).symm.trans (h₂.trans (h₁.symm.trans hp)) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Divisors.LineBundles.CodimensionOneDimensionConverse.BundleCycles |