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.BirationalValuationPrincipal |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GenericDimension |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.CodimensionOneDimensionConverse |
| 4 | |
| 5 | /-! # Birational Principal Divisor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Proper.BirationalPrincipalDivisor.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: proper birational pushforward preserves the complete actual principal divisor over a target regular in codimension one -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.Order |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 16 | |
| 17 | theorem pointPushforward_eq_zero_of_degrees {X Y : Scheme} (f : X ⟶ Y) |
| 18 | (c : X →₀ ℚ) (y : Y) |
| 19 | (h : ∀ x, c x ≠ 0 → f x = y → f.residueDegree x = 0) : IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f c y = 0 := by |
| 20 | classical |
| 21 | rw [IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward, Finsupp.linearCombination_apply, Finsupp.sum, Finsupp.finsetSum_apply] |
| 22 | apply Finset.sum_eq_zero |
| 23 | intro x hx |
| 24 | by_cases hxy : f x = y |
| 25 | · rw [h x (Finsupp.mem_support_iff.mp hx) hxy, Nat.cast_zero, Finsupp.single_zero, smul_zero, Finsupp.zero_apply] |
| 26 | · rw [Finsupp.smul_apply, Finsupp.single_eq_of_ne (fun he => hxy he.symm), smul_zero] |
| 27 | |
| 28 | theorem schemeDimension_eq_of_birational {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 29 | (f : X ⟶ Y) (hη : f (genericPoint X) = genericPoint Y) |
| 30 | [IsIso (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη)] (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 31 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension g = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (f ≫ g) := by |
| 32 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra g |
| 33 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (f ≫ g) |
| 34 | let e := AlgEquiv.ofBijective (Cycles.Functoriality.FunctionFields.Construction.genericFieldAlgHom f hη g) |
| 35 | ((ConcreteCategory.isIso_iff_bijective (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη)).mp inferInstance) |
| 36 | exact congrArg Cardinal.toNat e.trdeg_eq |
| 37 | |
| 38 | theorem properBirational_principalDivisor_pushforward {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 39 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 40 | (f : X ⟶ Y) [IsProper f] (hη : f (genericPoint X) = genericPoint Y) |
| 41 | [IsIso (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη)] (gY : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType gY] |
| 42 | (hDVR : ∀ y : Y, coheight y = 1 → IsDiscreteValuationRing (Y.presheaf.stalk y)) (g : Y.functionField) : |
| 43 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη g)) = |
| 44 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor Y g := by |
| 45 | ext y |
| 46 | by_cases hy : coheight y = 1 |
| 47 | · let := hDVR y hy |
| 48 | exact BirationalValuationPrincipal.BundleCycles.BirationalValuationDivisor.principalDivisor_coefficient f hη y g |
| 49 | · rw [RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, Scheme.ord_eq_zero_of_coheight_neq_one hy, Int.cast_zero] |
| 50 | apply pointPushforward_eq_zero_of_degrees |
| 51 | intro x hx hxy |
| 52 | by_contra hd |
| 53 | have hxone : coheight x = 1 := by |
| 54 | by_contra hn |
| 55 | apply hx |
| 56 | rw [RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, Scheme.ord_eq_zero_of_coheight_neq_one hn, Int.cast_zero] |
| 57 | have himage : coheight (f x) = 1 := by |
| 58 | apply CodimensionOneDimensionConverse.BundleCycles.pointCoheight_one_of_dimension_drop gY (f x) |
| 59 | rw [Finite.GenericDimension.BundleCycles.pointClosure_dimension_of_nonzeroResidueDegree f gY x hd, |
| 60 | schemeDimension_eq_of_birational f hη gY] |
| 61 | exact DivisorClass.Chern.SupportCodimension.Construction.pointClosure_dimension_add_one (f ≫ gY) x hxone |
| 62 | exact hy (hxy ▸ himage) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Proper.BirationalPrincipalDivisor.BundleCycles |