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.Relative.CurveZeros |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.Divisor |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.Inversion |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.DivisorComparison |
| 5 | |
| 6 | /-! # Principal Divisor -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.PrincipalDivisor |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Proper pushforward kills principal divisors when the source and |
| 13 | its image differ by one dimension. The proof includes singular sources |
| 14 | via their actual finite normalization. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.DivisorNorm OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PositiveCycle |
| 21 | Normalization.Scheme Normalization.Fields Generic.FiberFields |
| 22 | |
| 23 | theorem pushforward_eq_zero_of_normal {K : Type} [Field K] [CharZero K] |
| 24 | {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] [X.IsSeparated] [Y.IsSeparated] |
| 25 | [AlgebraicGeometry.IsNoetherian X] |
| 26 | (f : X ⟶ Y) [IsProper f] (hη : f (genericPoint X) = genericPoint Y) |
| 27 | (gY : Y ⟶ Spec (.of K)) [LocallyOfFiniteType gY] [LocallyOfFiniteType (f ≫ gY)] |
| 28 | (hdim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension gY + 1 = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (f ≫ gY)) |
| 29 | (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) |
| 30 | (g : X.functionField) (hg : g ≠ 0) : CyclePushforward.pointPushforward f (Affine.DivisorNorm.rationalPrincipalDivisor X g) = 0 := by |
| 31 | let := Generic.FiberFields.fieldAlgebra f hη |
| 32 | by_cases ha : IsAlgebraic Y.functionField g |
| 33 | · exact Divisor.principalDivisor_pushforward f hη gY hdim hNormal g hg ha |
| 34 | · have hai : Transcendental Y.functionField g⁻¹ := by |
| 35 | intro h |
| 36 | exact ha (by simpa only [inv_inv] using h.inv) |
| 37 | have hz := CurveZeros.positiveDivisor_pushforward f hη gY hdim hNormal g ha |
| 38 | have hp := CurveZeros.positiveDivisor_pushforward f hη gY hdim hNormal g⁻¹ hai |
| 39 | have hd := Parameter.Inversion.parameter_finrank_inv Y.functionField X.functionField g ha hai |
| 40 | have he : CyclePushforward.pointPushforward f (PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor X g)) = |
| 41 | CyclePushforward.pointPushforward f (PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor X g⁻¹)) := by |
| 42 | rw [hz, hp] |
| 43 | exact congrArg (fun n : ℕ => Finsupp.single (genericPoint Y) (n : ℚ)) hd |
| 44 | rw [PositiveCycle.principalDivisor_eq_positive_sub_inverse g, map_sub, he, sub_self] |
| 45 | |
| 46 | theorem pushforward_eq_zero {K : Type} [Field K] [CharZero K] |
| 47 | {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] [X.IsSeparated] [Y.IsSeparated] |
| 48 | [AlgebraicGeometry.IsNoetherian X] |
| 49 | (f : X ⟶ Y) [IsProper f] (hη : f (genericPoint X) = genericPoint Y) |
| 50 | (gY : Y ⟶ Spec (.of K)) [LocallyOfFiniteType gY] [LocallyOfFiniteType (f ≫ gY)] |
| 51 | (hdim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension gY + 1 = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (f ≫ gY)) |
| 52 | (g : X.functionField) (hg : g ≠ 0) : CyclePushforward.pointPushforward f (Affine.DivisorNorm.rationalPrincipalDivisor X g) = 0 := by |
| 53 | let := Normalization.DivisorComparison.normalization_noetherian X (f ≫ gY) |
| 54 | let : IsFinite (Normalization.Scheme.normalizationMap X) := Normalization.Scheme.normalizationMap_isFinite X (f ≫ gY) |
| 55 | let : (Normalization.Scheme.normalization X).IsSeparated := ⟨by |
| 56 | rw [← Limits.terminal.comp_from (Normalization.Scheme.normalizationMap X)] |
| 57 | infer_instance⟩ |
| 58 | let : IsIso (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap (Normalization.Scheme.normalizationMap X) (Normalization.Fields.normalizationMap_genericPoint X)) := |
| 59 | (ConcreteCategory.isIso_iff_bijective _).mpr (Normalization.Fields.normalizationFieldMap_bijective X) |
| 60 | have hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension gY + 1 = |
| 61 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension ((Normalization.Scheme.normalizationMap X ≫ f) ≫ gY) := by |
| 62 | rw [Category.assoc] |
| 63 | exact hdim.trans (BirationalPrincipalDivisor.dimension_eq_of_birational |
| 64 | (Normalization.Scheme.normalizationMap X) (Normalization.Fields.normalizationMap_genericPoint X) (f ≫ gY)) |
| 65 | have hη' : (Normalization.Scheme.normalizationMap X ≫ f) (genericPoint (Normalization.Scheme.normalization X)) = genericPoint Y := |
| 66 | (congrArg f (Normalization.Fields.normalizationMap_genericPoint X)).trans hη |
| 67 | have hg' : (Normalization.Fields.normalizationFieldIso X).hom g ≠ 0 := |
| 68 | (map_ne_zero_iff _ (Normalization.Fields.normalizationFieldMap_bijective X).injective).mpr hg |
| 69 | have hn := pushforward_eq_zero_of_normal (Normalization.Scheme.normalizationMap X ≫ f) hη' gY hd |
| 70 | (Normalization.Scheme.normalization_stalk_integrallyClosed X) ((Normalization.Fields.normalizationFieldIso X).hom g) hg' |
| 71 | have hc := DFunLike.congr_fun (CyclePushforward.pointPushforward_comp (Normalization.Scheme.normalizationMap X) f) |
| 72 | (Affine.DivisorNorm.rationalPrincipalDivisor (Normalization.Scheme.normalization X) ((Normalization.Fields.normalizationFieldIso X).hom g)) |
| 73 | change CyclePushforward.pointPushforward (Normalization.Scheme.normalizationMap X ≫ f) _ = CyclePushforward.pointPushforward f |
| 74 | (CyclePushforward.pointPushforward (Normalization.Scheme.normalizationMap X) _) at hc |
| 75 | rw [Normalization.DivisorComparison.normalization_principalDivisor X (f ≫ gY) g hg] at hc |
| 76 | exact hc.symm.trans hn |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.PrincipalDivisor |