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.DivisorClass.Chern.HeightOneDimension |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.SupportDimension |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.SupportAffineInclusion |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.AffineSectionFiniteType |
| 5 | |
| 6 | /-! # Support Codimension -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.SupportCodimension |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # ChernClass: codimension-one scheme points give dimension-graded divisor supports |
| 14 | |
| 15 | The affine ideal of the closure of a point is its actual prime ideal on an |
| 16 | affine chart. Its height is the point's specialization coheight. The proved |
| 17 | finite-type height-one formula identifies the support dimension exactly. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | set_option backward.defeqAttrib.useBackward true |
| 25 | |
| 26 | namespace Construction |
| 27 | |
| 28 | variable {X : Scheme} |
| 29 | |
| 30 | /-- The reduced affine ideal of a point's closure is precisely the point's affine prime. -/ |
| 31 | theorem pointClosure_affineIdeal (x : X) (U : X.affineOpens) (hx : x ∈ U.1) : |
| 32 | (CycleClass.Geometric.GenericPoint.reducedSupportIdeal (irreducibleSetEquivPoints.symm x)).ideal U = |
| 33 | (U.2.primeIdealOf ⟨x, hx⟩).asIdeal := by |
| 34 | change PrimeSpectrum.vanishingIdeal (U.2.fromSpec ⁻¹' closure {x}) = _ |
| 35 | rw [U.2.fromSpec.isOpenEmbedding.isOpenMap.preimage_closure_eq_closure_preimage |
| 36 | U.2.fromSpec.continuous] |
| 37 | have hp : U.2.fromSpec ⁻¹' {x} = {U.2.primeIdealOf ⟨x, hx⟩} := by |
| 38 | ext y |
| 39 | simp only [Set.mem_preimage, Set.mem_singleton_iff] |
| 40 | constructor |
| 41 | · intro hy |
| 42 | apply U.2.fromSpec.isOpenEmbedding.injective |
| 43 | rw [U.2.fromSpec_primeIdealOf, hy] |
| 44 | · intro hy |
| 45 | rw [hy, U.2.fromSpec_primeIdealOf] |
| 46 | rw [hp, PrimeSpectrum.vanishingIdeal_closure, PrimeSpectrum.vanishingIdeal_singleton] |
| 47 | |
| 48 | /-- The affine prime height is the scheme point's actual specialization coheight. -/ |
| 49 | theorem pointClosure_affineIdeal_height (x : X) (U : X.affineOpens) (hx : x ∈ U.1) : |
| 50 | ((CycleClass.Geometric.GenericPoint.reducedSupportIdeal (irreducibleSetEquivPoints.symm x)).ideal U).height = Order.coheight x := by |
| 51 | rw [pointClosure_affineIdeal x U hx] |
| 52 | calc |
| 53 | (U.2.primeIdealOf ⟨x, hx⟩).asIdeal.height = |
| 54 | Order.coheight (show Spec Γ(X, U) from U.2.primeIdealOf ⟨x, hx⟩) := |
| 55 | idealHeight_eq_coheight Γ(X, U) _ |
| 56 | _ = Order.coheight x := by |
| 57 | rw [← coheight_eq_of_isOpenImmersion U.2.fromSpec, U.2.fromSpec_primeIdealOf] |
| 58 | |
| 59 | /-- A codimension-one point has support dimension exactly one less than the ambient integral scheme. -/ |
| 60 | theorem pointClosure_dimension_add_one [IsIntegral X] |
| 61 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] (x : X) (hx : Order.coheight x = 1) : |
| 62 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f + 1 = |
| 63 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f := by |
| 64 | obtain ⟨U, hU, hxU, _⟩ := exists_isAffineOpen_mem_and_subset (Opens.mem_top x) |
| 65 | let V : X.affineOpens := ⟨U, hU⟩ |
| 66 | let Z : IrreducibleCloseds X := irreducibleSetEquivPoints.symm x |
| 67 | let : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 68 | let : Nonempty (Foundations.Scheme.SupportAffineQuotient.supportAffineOpen Z V) := (Foundations.Scheme.SupportAffineInclusion.supportAffineOpen_nonempty_iff Z V).mpr |
| 69 | ⟨x, subset_closure (Set.mem_singleton x), hxU⟩ |
| 70 | let : Algebra ℂ Γ(X, U) := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 71 | let : Algebra.FiniteType ℂ Γ(X, U) := Foundations.Scheme.AffineSectionFiniteType.specSectionScalarAlgebra_finiteType f U hU |
| 72 | let : ((CycleClass.Geometric.GenericPoint.reducedSupportIdeal Z).ideal V).IsPrime := Foundations.Scheme.SupportAffineQuotient.supportAffineIdeal_isPrime Z V |
| 73 | have hp : ((CycleClass.Geometric.GenericPoint.reducedSupportIdeal Z).ideal V).height = 1 := |
| 74 | (pointClosure_affineIdeal_height x V hxU).trans hx |
| 75 | rw [Foundations.Scheme.SupportDimension.supportTranscendenceDimension_eq_affineQuotient Z f V, |
| 76 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_affineSections f U hU] |
| 77 | exact HeightOneDimension.Construction.finiteType_height_one_trdeg ℂ Γ(X, U) ((CycleClass.Geometric.GenericPoint.reducedSupportIdeal Z).ideal V) hp |
| 78 | |
| 79 | end Construction |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.DivisorClass.Chern.SupportCodimension |