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 | |
| 3 | /-! # Local Valuation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.LocalValuation.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Normal local rings of dimension at most one are valuation rings. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem normal_local_valuation (R : Type*) [CommRing R] [IsDomain R] [IsLocalRing R] |
| 16 | [IsNoetherianRing R] [IsIntegrallyClosed R] [Ring.KrullDimLE 1 R] : ValuationRing R := by |
| 17 | let : Ring.DimensionLEOne R := ⟨fun hn hp => hp.isMaximal_of_ne_bot hn⟩ |
| 18 | let : IsDedekindDomain R := |
| 19 | { toIsDomain := inferInstance |
| 20 | toIsDedekindRing := |
| 21 | { toIsNoetherian := inferInstance |
| 22 | toDimensionLEOne := inferInstance |
| 23 | toIsIntegralClosure := inferInstance } } |
| 24 | by_cases hf : IsField R |
| 25 | · let : Field R := hf.toField |
| 26 | infer_instance |
| 27 | · have h : IsDiscreteValuationRing R ↔ IsDedekindDomain R := (IsDiscreteValuationRing.TFAE R hf).out 1 3 |
| 28 | let : IsDiscreteValuationRing R := h.mpr inferInstance |
| 29 | infer_instance |
| 30 | |
| 31 | end |
| 32 | |
| 33 | /-! Normal stalks over the generic point of a relative curve are valuation rings. -/ |
| 34 | |
| 35 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 36 | |
| 37 | theorem relativeCurve_stalkValuation {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 38 | [IsLocallyNoetherian X] (f : X ⟶ Y) (gY : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 39 | [LocallyOfFiniteType gY] [LocallyOfFiniteType (f ≫ gY)] |
| 40 | (hdim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension gY + 1 = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (f ≫ gY)) |
| 41 | (x : X) (hx : f x = genericPoint Y) [IsIntegrallyClosed (X.presheaf.stalk x)] : |
| 42 | ValuationRing (X.presheaf.stalk x) := by |
| 43 | let : Ring.KrullDimLE 1 (X.presheaf.stalk x) := |
| 44 | krullDimLE_of_coheight_le (Relative.CurvePointDimension.BundleCycles.relativeCurve_coheight_le_one f gY hdim x hx) |
| 45 | exact normal_local_valuation _ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.LocalValuation.BundleCycles |