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.IntersectionTheory.ProjectionFormula.IntermediateSupports |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PointAlgebra |
| 3 | |
| 4 | /-! # Point Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.PointDimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Closed points of a smooth projective scheme have full local |
| 11 | dimension. Their first-order data consequently have dimension m+1. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | theorem support_dimension {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 18 | (x : X) (hx : IsClosed {x}) : |
| 19 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f = 0 := by |
| 20 | obtain ⟨U, hU, hxU, _⟩ := exists_isAffineOpen_mem_and_subset (Opens.mem_top x) |
| 21 | let V : X.affineOpens := ⟨U, hU⟩ |
| 22 | let W : IrreducibleCloseds X := irreducibleSetEquivPoints.symm x |
| 23 | let : Nonempty (Foundations.Scheme.SupportAffineQuotient.supportAffineOpen W V) := (Foundations.Scheme.SupportAffineInclusion.supportAffineOpen_nonempty_iff W V).mpr |
| 24 | ⟨x, subset_closure (Set.mem_singleton x), hxU⟩ |
| 25 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 26 | let : Algebra.FiniteType ℂ Γ(X, U) := Foundations.Scheme.AffineSectionFiniteType.specSectionScalarAlgebra_finiteType f U hU |
| 27 | let := Foundations.Scheme.SupportAffineQuotient.supportAffineQuotientScalarAlgebra W f V |
| 28 | have hmax : ((CycleClass.Geometric.GenericPoint.reducedSupportIdeal W).ideal V).IsMaximal := by |
| 29 | rw [DivisorClass.Chern.SupportCodimension.Construction.pointClosure_affineIdeal x V hxU] |
| 30 | exact hU.primeIdealOf_isMaximal_of_isClosed ⟨x, hxU⟩ hx |
| 31 | let := hmax |
| 32 | let : Field (Foundations.Scheme.SupportAffineQuotient.supportAffineQuotient W V) := Ideal.Quotient.field _ |
| 33 | let : Algebra.FiniteType ℂ (Foundations.Scheme.SupportAffineQuotient.supportAffineQuotient W V) := by infer_instance |
| 34 | let : Module.Finite ℂ (Foundations.Scheme.SupportAffineQuotient.supportAffineQuotient W V) := |
| 35 | finite_of_finite_type_of_isJacobsonRing ℂ (Foundations.Scheme.SupportAffineQuotient.supportAffineQuotient W V) |
| 36 | have : Algebra.IsAlgebraic ℂ (Foundations.Scheme.SupportAffineQuotient.supportAffineQuotient W V) := by infer_instance |
| 37 | rw [Foundations.Scheme.SupportDimension.supportTranscendenceDimension_eq_affineQuotient W f V, trdeg_eq_zero] |
| 38 | simp |
| 39 | |
| 40 | theorem codimension (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 41 | [SmoothOfRelativeDimension m X.structureMap] (x : X.carrier) (hx : IsClosed {x}) : |
| 42 | X.supportCodimension (irreducibleSetEquivPoints.symm x) = m := by |
| 43 | have h := Grading.supportDimension_add_codimension X m (irreducibleSetEquivPoints.symm x) |
| 44 | rwa [support_dimension X.structureMap x hx, zero_add] at h |
| 45 | |
| 46 | theorem coheight (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 47 | [SmoothOfRelativeDimension m X.structureMap] (x : X.carrier) (hx : IsClosed {x}) : |
| 48 | Order.coheight x = m := by |
| 49 | have h := IntermediateSupports.support_coheight X m m |
| 50 | ⟨irreducibleSetEquivPoints.symm x, codimension X m x hx⟩ |
| 51 | simpa only [CycleClass.Thom.IntersectionGeometry.supportPoint, irreducibleSetEquivPoints.apply_symm_apply] using h |
| 52 | |
| 53 | theorem point_jet_dimension (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 54 | [SmoothOfRelativeDimension m X.structureMap] |
| 55 | (p : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X.carrier) (hp : p ≫ X.structureMap = 𝟙 _) : |
| 56 | letI := Stalk.PointAlgebra.scalarAlgebra X.structureMap (p (IsLocalRing.closedPoint ℂ)) |
| 57 | Module.finrank ℂ (ℂ × (AugmentedCotangent.ideal |
| 58 | (Stalk.PointAlgebra.evaluation X.structureMap p hp)).Cotangent) = m + 1 := by |
| 59 | apply Stalk.PointAlgebra.jet_dimension X.structureMap m p hp |
| 60 | apply PointDimension.coheight X m |
| 61 | exact ((pointEquivClosedPoint X.structureMap) ⟨p, hp⟩).property |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.PointDimension |