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.BirationalValuationComp |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.MorphismOrderStalk |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PushforwardFiber |
| 4 | |
| 5 | /-! # Birational Valuation Principal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.BirationalValuationPrincipal.BundleCycles.BirationalValuationDivisor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: proper birational pushforward preserves actual principal-divisor coefficients over valuation rings -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 16 | |
| 17 | theorem principalDivisor_coefficient {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 18 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 19 | (f : X ⟶ Y) [IsProper f] (hη : f (genericPoint X) = genericPoint Y) |
| 20 | [IsIso (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη)] (y : Y) |
| 21 | [ValuationRing (Y.presheaf.stalk y)] (g : Y.functionField) : |
| 22 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη g)) y = |
| 23 | (Y.ord g y : ℚ) := by |
| 24 | obtain ⟨x, hx, huniq⟩ := BirationalValuationComp.BundleCycles.BirationalValuationSection.proper_valuationFiber_unique f hη y |
| 25 | let : ValuationRing (Y.presheaf.stalk (f x)) := by rw [hx]; infer_instance |
| 26 | let := BirationalValuationOf.BundleCycles.BirationalValuationStalk.stalkMap_isIso_of_valuation f hη x |
| 27 | rw [IntersectionTheory.ProjectionFormula.PushforwardFiber.pointPushforward_uniqueFiber f x y hx huniq, |
| 28 | BirationalValuationOf.BundleCycles.BirationalValuationStalk.residueDegree_of_valuation f hη x, Nat.cast_one, mul_one, |
| 29 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply] |
| 30 | have h := MorphismOrderStalk.BundleCycles.ord_of_stalkMap_isIso f hη x (BirationalValuationOf.BundleCycles.BirationalValuationStalk.coheight_of_valuation f hη x) g |
| 31 | exact congrArg (fun n : ℤ => (n : ℚ)) (h.trans (congrArg (fun y => Y.ord g y) hx)) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.Divisors.LineBundles.BirationalValuationPrincipal.BundleCycles.BirationalValuationDivisor |