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.Point.DimensionGeneric |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.PushforwardDimensionDrop |
| 3 | |
| 4 | /-! # Curve Point Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.CurvePointDimension.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: actual divisor points contributing under a relative curve map lie over the generic point -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 13 | |
| 14 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 15 | (f : X ⟶ Y) (gY : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType gY] [LocallyOfFiniteType (f ≫ gY)] |
| 16 | (hdim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension gY + 1 = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (f ≫ gY)) |
| 17 | |
| 18 | include hdim in |
| 19 | theorem relativeCurve_coheight_le_one (x : X) (hx : f x = genericPoint Y) : coheight x ≤ 1 := by |
| 20 | let j := CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x) |
| 21 | let : LocallyOfFiniteType ((j ≫ f) ≫ gY) := by |
| 22 | rw [Category.assoc] |
| 23 | infer_instance |
| 24 | have hη : (j ≫ f) (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x))) = genericPoint Y := |
| 25 | (congrArg f (Point.SupportNaturality.BundleCycles.pointSupport_genericPoint X x)).trans hx |
| 26 | have hd := Cycles.Functoriality.FunctionFields.Construction.dimension_le_of_genericPoint (j ≫ f) hη gY |
| 27 | rw [Category.assoc] at hd |
| 28 | have hp : (Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension gY : ℕ∞) ≤ |
| 29 | (Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) (f ≫ gY) : ℕ∞) := by |
| 30 | exact_mod_cast hd |
| 31 | have hp' : coheight x + (Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension gY : ℕ∞) ≤ |
| 32 | coheight x + (Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) (f ≫ gY) : ℕ∞) := |
| 33 | add_le_add_right hp (coheight x) |
| 34 | have hc := hp'.trans (Point.DimensionBound.BundleCycles.coheight_add_pointDimension_le (f ≫ gY) x) |
| 35 | rw [← hdim, Nat.cast_add, Nat.cast_one, add_comm (Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension gY : ℕ∞) 1] at hc |
| 36 | exact (ENat.add_le_add_iff_right (by simp)).mp hc |
| 37 | |
| 38 | include hdim in |
| 39 | theorem relativeCurve_divisor_image_generic [AlgebraicGeometry.IsNoetherian X] |
| 40 | (x : X) (hx : coheight x = 1) (hdeg : f.residueDegree x ≠ 0) : f x = genericPoint Y := by |
| 41 | apply Point.DimensionGeneric.BundleCycles.point_eq_generic_of_dimension_eq gY (f x) |
| 42 | have hd := DivisorClass.Chern.SupportCodimension.Construction.pointClosure_dimension_add_one (f ≫ gY) x hx |
| 43 | have he := Finite.GenericDimension.BundleCycles.pointClosure_dimension_of_nonzeroResidueDegree f gY x hdeg |
| 44 | omega |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.CurvePointDimension.BundleCycles |