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.Affine.SpecializationGrading |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SupportCodimension |
| 3 | |
| 4 | /-! # Support Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportDimension.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: point-support dimension under closed immersion |
| 12 | |
| 13 | On a common affine chart, a closed immersion induces a surjection of |
| 14 | coordinate rings. Quotienting by the actual point primes therefore gives |
| 15 | isomorphic algebras and preserves the transcendence dimension of the |
| 16 | reduced point closures. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 20 | |
| 21 | variable {k : Type} [Field k] {X Y : Scheme} |
| 22 | |
| 23 | /-- The point closure has the dimension of its actual affine prime quotient. -/ |
| 24 | theorem pointClosure_dimension_eq_affine (f : X ⟶ Spec (CommRingCat.of k)) |
| 25 | (x : X) (U : X.affineOpens) (hx : x ∈ U.1) : |
| 26 | letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U.1 |
| 27 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f = |
| 28 | (Algebra.trdeg k (Γ(X, U.1) ⧸ (U.2.primeIdealOf ⟨x, hx⟩).asIdeal)).toNat := by |
| 29 | let Z := irreducibleSetEquivPoints.symm x |
| 30 | have : Nonempty (Foundations.Scheme.SupportAffineQuotient.supportAffineOpen Z U) := |
| 31 | (Foundations.Scheme.SupportAffineInclusion.supportAffineOpen_nonempty_iff Z U).mpr ⟨x, subset_closure (Set.mem_singleton x), hx⟩ |
| 32 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U.1 |
| 33 | have h := Foundations.Scheme.SupportDimension.supportTranscendenceDimension_eq_affineQuotient Z f U |
| 34 | exact h.trans (congrArg (fun J : Ideal Γ(X, U.1) => (Algebra.trdeg k (Γ(X, U.1) ⧸ J)).toNat) |
| 35 | (DivisorClass.Chern.SupportCodimension.Construction.pointClosure_affineIdeal x U hx)) |
| 36 | |
| 37 | /-- A closed immersion preserves the dimension of every reduced point closure. -/ |
| 38 | theorem pointClosure_dimension_closedImmersion (i : X ⟶ Y) [IsClosedImmersion i] |
| 39 | (f : Y ⟶ Spec (CommRingCat.of k)) (x : X) : |
| 40 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm (i x)) f = |
| 41 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) (i ≫ f) := by |
| 42 | obtain ⟨U, hU, hxU, _⟩ := exists_isAffineOpen_mem_and_subset (Opens.mem_top (i x)) |
| 43 | let V := i ⁻¹ᵁ U |
| 44 | have hV : IsAffineOpen V := hU.preimage i |
| 45 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 46 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra (i ≫ f) V |
| 47 | let p := hU.primeIdealOf ⟨i x, hxU⟩ |
| 48 | let q := hV.primeIdealOf ⟨x, hxU⟩ |
| 49 | let a := Foundations.Scheme.ClosedImmersionDimension.sectionPullbackAlgHom i f U |
| 50 | have hprime : q.asIdeal.comap a.toRingHom = p.asIdeal := by |
| 51 | have h := IsAffineOpen.comap_primeIdealOf_appLE U hU V hV le_rfl hxU |
| 52 | have he := congrArg PrimeSpectrum.asIdeal h |
| 53 | change q.asIdeal.comap (i.appLE U V le_rfl).hom = p.asIdeal at he |
| 54 | exact (congrArg (fun b : Γ(Y, U) ⟶ Γ(X, V) => q.asIdeal.comap b.hom) |
| 55 | i.app_eq_appLE).trans he |
| 56 | have hq := Affine.SpecializationGrading.BundleCycles.quotient_trdeg_of_surjective (k := k) (A := Γ(Y, U)) (B := Γ(X, V)) |
| 57 | a (Foundations.Scheme.ClosedImmersionDimension.sectionPullbackAlgHom_surjective i f U hU) q.asIdeal |
| 58 | have hpDim : (Algebra.trdeg k (Γ(Y, U) ⧸ p.asIdeal)).toNat = |
| 59 | (Algebra.trdeg k (Γ(X, V) ⧸ q.asIdeal)).toNat := |
| 60 | (congrArg (fun J : Ideal Γ(Y, U) => (Algebra.trdeg k (Γ(Y, U) ⧸ J)).toNat) hprime.symm).trans |
| 61 | (congrArg Cardinal.toNat hq) |
| 62 | exact (pointClosure_dimension_eq_affine f (i x) ⟨U, hU⟩ hxU).trans |
| 63 | (hpDim.trans (pointClosure_dimension_eq_affine (i ≫ f) x ⟨V, hV⟩ hxU).symm) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportDimension.BundleCycles |