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.Normal.LocalValuation |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.DedekindExtension |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.ZeroCover |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.ValuationModelOrd |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.PushforwardCompareCongr |
| 6 | import OAI.AlgebraicGeometry.Divisors.LineBundles.ParameterScalarsTower |
| 7 | import OAI.AlgebraicGeometry.Divisors.LineBundles.ParameterResidue |
| 8 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RegularFunction |
| 9 | |
| 10 | /-! # Curve Zeros -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.CurveZeros.BundleCycles.RelativeCurveZeros |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! The positive principal divisor in a proper relative curve pushes |
| 17 | to the generic point of the base with the parameter-extension degree. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.Order |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace OAI.AlgebraicGeometry.Divisors.LineBundles.CurveParameterImage.BundleCycles.CurveParameter OAI.AlgebraicGeometry.Divisors.LineBundles.ParameterBranchesIs.BundleCycles.ParameterBranches OAI.AlgebraicGeometry.Divisors.LineBundles.ParameterScalarsTower.BundleCycles.ParameterScalars |
| 22 | Normal.LocalValuation.BundleCycles Affine.FractionField.BundleCycles.AffineFractionField PositiveCycleEq.BundleCycles.PositiveCycle IntersectionTheory.ProjectionFormula.CyclePushforward |
| 23 | IntersectionTheory.ProjectionFormula.Normalization.Scheme GenericFiberEss.BundleCycles.GenericFiberFields |
| 24 | |
| 25 | theorem positiveDivisor_pushforward |
| 26 | {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] [X.IsSeparated] [Y.IsSeparated] |
| 27 | [AlgebraicGeometry.IsNoetherian X] |
| 28 | (f : X ⟶ Y) [IsProper f] (hη : f (genericPoint X) = genericPoint Y) |
| 29 | (gY : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType gY] [LocallyOfFiniteType (f ≫ gY)] |
| 30 | (hdim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension gY + 1 = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (f ≫ gY)) |
| 31 | (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) (g : X.functionField) : |
| 32 | letI := GenericFiberEss.BundleCycles.GenericFiberFields.fieldAlgebra f hη |
| 33 | ∀ hg : Transcendental Y.functionField g, |
| 34 | letI := CurveParameterImage.BundleCycles.CurveParameter.polynomialAlgebra Y.functionField X.functionField g |
| 35 | letI := CurveParameterImage.BundleCycles.CurveParameter.fractionAlgebra Y.functionField X.functionField g hg |
| 36 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f (PositiveCycleEq.BundleCycles.PositiveCycle.positivePart (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g)) = |
| 37 | Finsupp.single (genericPoint Y) |
| 38 | (Module.finrank (FractionRing (Polynomial Y.functionField)) X.functionField : ℚ) := by |
| 39 | let := GenericFiberEss.BundleCycles.GenericFiberFields.fieldAlgebra f hη |
| 40 | intro hg |
| 41 | let := CurveParameterImage.BundleCycles.CurveParameter.polynomialAlgebra Y.functionField X.functionField g |
| 42 | let := CurveParameterImage.BundleCycles.CurveParameter.fractionAlgebra Y.functionField X.functionField g hg |
| 43 | let := ParameterBranchesIs.BundleCycles.ParameterBranches.localAlgebra Y.functionField X.functionField g hg |
| 44 | let := ParameterBranchesIs.BundleCycles.ParameterBranches.localTower Y.functionField X.functionField g hg |
| 45 | let := GenericFiberEss.BundleCycles.GenericFiberFields.field_essFiniteType f hη gY |
| 46 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra gY |
| 47 | let : CharZero Y.functionField := charZero_of_injective_algebraMap |
| 48 | ((algebraMap ℂ Y.functionField).injective) |
| 49 | have htrdeg := GenericFiberEss.BundleCycles.GenericFiberFields.field_trdeg_one f hη gY hdim |
| 50 | let := CurveParameterImage.BundleCycles.CurveParameter.finite_parameter_extension Y.functionField X.functionField htrdeg g hg |
| 51 | let := ParameterBranchesIs.BundleCycles.ParameterBranches.closure_dedekind Y.functionField X.functionField g hg htrdeg |
| 52 | let D : Type := integralClosure (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField) X.functionField |
| 53 | let : IsFractionRing D X.functionField := |
| 54 | integralClosure.isFractionRing_of_finite_extension |
| 55 | (FractionRing (Polynomial Y.functionField)) X.functionField |
| 56 | let := ParameterScalarsTower.BundleCycles.ParameterScalars.closureScalarAlgebra Y.functionField X.functionField g hg |
| 57 | let := ParameterScalarsTower.BundleCycles.ParameterScalars.closureScalarTower Y.functionField X.functionField g hg |
| 58 | let : IsScalarTower Y.functionField (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField) D := IsScalarTower.of_algebraMap_eq' rfl |
| 59 | obtain ⟨i, hi, hf⟩ := DedekindExtension.BundleCycles.RelativeDedekindExtension.exists_extension f hη D |
| 60 | (IsScalarTower.algebraMap_eq Y.functionField D X.functionField).symm |
| 61 | have hbase (a : Spec (.of D)) : f (i a) = genericPoint Y := by |
| 62 | have h := congrArg (fun t : Spec (.of D) ⟶ Y => t a) hf |
| 63 | exact h.trans (IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap_apply Y _) |
| 64 | have hval (a : Spec (.of D)) : ValuationRing (X.presheaf.stalk (i a)) := by |
| 65 | let := hNormal (i a) |
| 66 | exact Normal.LocalValuation.BundleCycles.relativeCurve_stalkValuation f gY hdim (i a) (hbase a) |
| 67 | let c := RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Spec (.of D)) ((Affine.FractionField.BundleCycles.AffineFractionField.fieldIso D X.functionField).inv g) |
| 68 | have hc : IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f (PositiveCycleEq.BundleCycles.PositiveCycle.positivePart (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g)) = |
| 69 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward (i ≫ f) c := by |
| 70 | apply PushforwardCompareCongr.BundleCycles.PushforwardCompare.positivePart_model i f |
| 71 | (ValuationModelOrd.BundleCycles.ValuationModel.injective D i hi hval) (ValuationModelOrd.BundleCycles.ValuationModel.residueDegree D i hi hval) |
| 72 | · intro a |
| 73 | exact congrArg (fun n : ℤ => (n : ℚ)) (ValuationModelOrd.BundleCycles.ValuationModel.ord D i hi hval g a) |
| 74 | · intro a |
| 75 | obtain ⟨d, hd⟩ := ParameterScalarsTower.BundleCycles.ParameterScalars.parameter_integer Y.functionField X.functionField g hg |
| 76 | have hn := RegularFunction.BundleCycles.RegularFunctionOrder.affine_nonneg D X.functionField d a |
| 77 | rw [hd] at hn |
| 78 | change (0 : ℚ) ≤ ((Spec (.of D)).ord ((Affine.FractionField.BundleCycles.AffineFractionField.fieldIso D X.functionField).inv g) a : ℚ) |
| 79 | exact_mod_cast hn |
| 80 | · intro x hxdeg hx |
| 81 | have hxpos : 0 < X.ord g x := by |
| 82 | change (0 : ℚ) < (X.ord g x : ℚ) at hx |
| 83 | exact_mod_cast hx |
| 84 | have hxone : coheight x = 1 := by |
| 85 | by_contra h |
| 86 | rw [Scheme.ord_eq_zero_of_coheight_neq_one h] at hxpos |
| 87 | exact (lt_irrefl 0) hxpos |
| 88 | exact ZeroCover.BundleCycles.RelativeZeroCover.positive_mem_range f hη g hg i hi x |
| 89 | (CurvePointDimension.BundleCycles.relativeCurve_divisor_image_generic f gY hdim x hxone hxdeg) (hNormal x) hxpos |
| 90 | let j : Spec (.of D) ⟶ Spec (.of (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField)) := |
| 91 | Spec.map (CommRingCat.ofHom (algebraMap (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField) D)) |
| 92 | let r : Spec (.of (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField)) ⟶ Spec Y.functionField := |
| 93 | Spec.map (CommRingCat.ofHom (algebraMap Y.functionField (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField))) |
| 94 | let b₀ : Y.functionField ⟶ CommRingCat.of (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField) := |
| 95 | CommRingCat.ofHom (algebraMap Y.functionField (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField)) |
| 96 | let c₀ : CommRingCat.of (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField) ⟶ CommRingCat.of D := |
| 97 | CommRingCat.ofHom (algebraMap (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField) D) |
| 98 | let a₀ : Y.functionField ⟶ CommRingCat.of D := CommRingCat.ofHom (algebraMap Y.functionField D) |
| 99 | have habc : a₀ = b₀ ≫ c₀ := |
| 100 | congrArg CommRingCat.ofHom (IsScalarTower.algebraMap_eq Y.functionField (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField) D) |
| 101 | have hspec : Spec.map a₀ = j ≫ r := (congrArg Spec.map habc).trans (Spec.map_comp b₀ c₀) |
| 102 | have hcomp : i ≫ f = j ≫ (r ≫ IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y) := |
| 103 | hf.trans ((congrArg (fun t : Spec (.of D) ⟶ Spec Y.functionField => t ≫ IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y) hspec).trans |
| 104 | (Category.assoc j r (IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y))) |
| 105 | have hnorm : IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward j c = Finsupp.single |
| 106 | (IsLocalRing.closedPoint (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField) : Spec (.of (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField))) |
| 107 | (Module.finrank (FractionRing (Polynomial Y.functionField)) X.functionField : ℚ) := |
| 108 | ParameterBranchesIs.BundleCycles.ParameterBranches.parameter_divisor_pushforward Y.functionField X.functionField g hg htrdeg |
| 109 | rw [hc, hcomp] |
| 110 | have ht := DFunLike.congr_fun (IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward_comp j (r ≫ IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y)) c |
| 111 | change IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward (j ≫ (r ≫ IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y)) c = |
| 112 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward (r ≫ IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y) (IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward j c) at ht |
| 113 | refine ht.trans ((congrArg (IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward (r ≫ IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y)) hnorm).trans ?_) |
| 114 | let a : Spec (.of (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField)) := IsLocalRing.closedPoint (LineBundles.Polynomial.Place.BundleCycles.PolynomialPlace.localRing Y.functionField) |
| 115 | let b : Spec Y.functionField := IsLocalRing.closedPoint Y.functionField |
| 116 | let n : ℕ := Module.finrank (FractionRing (Polynomial Y.functionField)) X.functionField |
| 117 | have hs := IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward_single (r ≫ IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y) a (n : ℚ) |
| 118 | have hr : r a = b := Subsingleton.elim (α := PrimeSpectrum Y.functionField) _ _ |
| 119 | have hp : (r ≫ IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y) a = genericPoint Y := IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap_apply Y _ |
| 120 | have hdR : r.residueDegree a = 1 := ParameterResidue.BundleCycles.ParameterResidueDegree.zero_place_residueDegree Y.functionField |
| 121 | have hdY : (IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y).residueDegree b = 1 := |
| 122 | BirationalStalk.BundleCycles.BirationalStalkResidueDegree.fromSpecStalk_residueDegree Y (genericPoint Y) |
| 123 | have hdY' : (IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y).residueDegree (r a) = 1 := |
| 124 | (congrArg (fun z : Spec Y.functionField => (IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y).residueDegree z) hr).trans hdY |
| 125 | have hd : (r ≫ IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y).residueDegree a = 1 := |
| 126 | (IntersectionTheory.ProjectionFormula.CyclePushforward.residueDegree_comp r (IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y) a).trans (by rw [hdR, hdY', mul_one]) |
| 127 | change IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward (r ≫ IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap Y) (Finsupp.single a (n : ℚ)) = |
| 128 | Finsupp.single (genericPoint Y) (n : ℚ) |
| 129 | exact hs.trans (by rw [hp, hd, Nat.cast_one, mul_one]) |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.CurveZeros.BundleCycles.RelativeCurveZeros |