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.Relative.CurvePointDimension |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.GenericFiberEss |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.FunctionUnit |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Proper.BirationalPrincipalDivisor |
| 5 | |
| 6 | /-! # Divisor -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.Divisor.BundleCycles.RelativeAlgebraicDivisor |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Functions algebraic over the base's function field have zero order |
| 13 | at every normal point above its generic point. In relative dimension one |
| 14 | this kills their entire principal-divisor pushforward. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.Order |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Divisors.LineBundles.GenericFiberEss.BundleCycles.GenericFiberFields OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 19 | |
| 20 | theorem ord_eq_zero {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] [IsLocallyNoetherian X] |
| 21 | (f : X ⟶ Y) (hη : f (genericPoint X) = genericPoint Y) |
| 22 | (x : X) (hx : f x = genericPoint Y) [IsIntegrallyClosed (X.presheaf.stalk x)] |
| 23 | (g : X.functionField) (hg : g ≠ 0) : |
| 24 | letI := GenericFiberEss.BundleCycles.GenericFiberFields.fieldAlgebra f hη |
| 25 | IsAlgebraic Y.functionField g → X.ord g x = 0 := by |
| 26 | let := GenericFiberEss.BundleCycles.GenericFiberFields.fieldAlgebra f hη |
| 27 | intro ha |
| 28 | by_cases hxone : coheight x = 1 |
| 29 | · let := GenericFiberEss.BundleCycles.GenericFiberFields.stalkAlgebra f x hx |
| 30 | let := GenericFiberEss.BundleCycles.GenericFiberFields.stalkTower f hη x hx |
| 31 | let : Ring.KrullDimLE 1 (X.presheaf.stalk x) := krullDimLE_of_coheight_le hxone.le |
| 32 | obtain ⟨a, hau, hag⟩ := FunctionUnit.BundleCycles.algebraic_isUnit_integer |
| 33 | Y.functionField (X.presheaf.stalk x) X.functionField g hg ha |
| 34 | rw [Scheme.ord_eq_ordHom_of_coheight_eq_one hxone] |
| 35 | change WithZero.log (Ring.ordFrac (X.presheaf.stalk x) g) = 0 |
| 36 | rw [← hag, Ring.ordFrac_of_isUnit hau, WithZero.log_one] |
| 37 | · exact Scheme.ord_eq_zero_of_coheight_neq_one hxone g |
| 38 | |
| 39 | theorem principalDivisor_pushforward |
| 40 | {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] [AlgebraicGeometry.IsNoetherian X] |
| 41 | (f : X ⟶ Y) (hη : f (genericPoint X) = genericPoint Y) |
| 42 | (gY : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType gY] [LocallyOfFiniteType (f ≫ gY)] |
| 43 | (hdim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension gY + 1 = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (f ≫ gY)) |
| 44 | (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) |
| 45 | (g : X.functionField) (hg : g ≠ 0) : |
| 46 | letI := GenericFiberEss.BundleCycles.GenericFiberFields.fieldAlgebra f hη |
| 47 | IsAlgebraic Y.functionField g → IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g) = 0 := by |
| 48 | let := GenericFiberEss.BundleCycles.GenericFiberFields.fieldAlgebra f hη |
| 49 | intro ha |
| 50 | ext y |
| 51 | apply Proper.BirationalPrincipalDivisor.BundleCycles.pointPushforward_eq_zero_of_degrees |
| 52 | intro x hx _ |
| 53 | by_contra hdeg |
| 54 | have hxone : coheight x = 1 := by |
| 55 | by_contra h |
| 56 | apply hx |
| 57 | rw [RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, Scheme.ord_eq_zero_of_coheight_neq_one h, Int.cast_zero] |
| 58 | have hxy := CurvePointDimension.BundleCycles.relativeCurve_divisor_image_generic f gY hdim x hxone hdeg |
| 59 | let := hNormal x |
| 60 | exact hx (by rw [RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, ord_eq_zero f hη x hxy g hg ha, Int.cast_zero]) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.Divisor.BundleCycles.RelativeAlgebraicDivisor |