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.Point.DimensionBound |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.PointResidue |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.PrincipalRestriction |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportNaturality |
| 5 | |
| 6 | /-! # Residue Support Coheight -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.ResidueSupportCoheight.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # LineBundleCycles: geometric residue divisors are supported in ambient coheight two |
| 14 | |
| 15 | The support dimension drops twice. The general chain-length bound |
| 16 | gives coheight at most two, while the strict specialization from a |
| 17 | divisor generic point gives coheight at least two. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 21 | |
| 22 | theorem schemeGenericPoint_coheight_zero (A : Scheme) [IsIntegral A] : coheight (genericPoint A) = 0 := by |
| 23 | apply coheight_eq_zero.mpr |
| 24 | intro y _ |
| 25 | exact Scheme.le_iff_specializes.mpr ((genericPoint_spec A).specializes trivial) |
| 26 | |
| 27 | variable {X : Scheme.{0}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 28 | |
| 29 | omit [IsIntegral X] in |
| 30 | theorem primeSupport_divisor_coheight_ge_two (x : X) (hx : coheight x = 1) |
| 31 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x)).functionField) |
| 32 | (y : X) (hy : Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x) g y ≠ 0) : |
| 33 | 2 ≤ coheight y := by |
| 34 | let W := irreducibleSetEquivPoints.symm x |
| 35 | have hyr : y ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) := by |
| 36 | by_contra hn |
| 37 | apply hy |
| 38 | exact Finsupp.embDomain_of_notMem_range _ _ _ hn |
| 39 | obtain ⟨z, rfl⟩ := hyr |
| 40 | have hz : coheight z = 1 := by |
| 41 | by_contra hn |
| 42 | apply hy |
| 43 | rw [Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor_at_support, Scheme.ord_eq_zero_of_coheight_neq_one hn, Int.cast_zero] |
| 44 | have hne : CycleClass.Geometric.GenericPoint.reducedSupportι W z ≠ x := by |
| 45 | intro he |
| 46 | have he' : z = genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) := |
| 47 | (CycleClass.Geometric.GenericPoint.reducedSupportι W).isClosedEmbedding.injective (he.trans (Point.SupportNaturality.BundleCycles.pointSupport_genericPoint X x).symm) |
| 48 | rw [he', schemeGenericPoint_coheight_zero] at hz |
| 49 | exact (by decide : (0 : ℕ∞) ≠ 1) hz |
| 50 | have hle : CycleClass.Geometric.GenericPoint.reducedSupportι W z ≤ x := by |
| 51 | apply Scheme.le_iff_specializes.mpr |
| 52 | apply specializes_iff_mem_closure.mpr |
| 53 | exact (congrArg (fun S : Set X => CycleClass.Geometric.GenericPoint.reducedSupportι W z ∈ S) (CycleClass.Geometric.GenericPoint.range_reducedSupportι W)).mp ⟨z, rfl⟩ |
| 54 | have hn : ¬ x ≤ CycleClass.Geometric.GenericPoint.reducedSupportι W z := by |
| 55 | intro hr |
| 56 | exact hne (Inseparable.eq (Specializes.antisymm |
| 57 | (Scheme.le_iff_specializes.mp hr) (Scheme.le_iff_specializes.mp hle))) |
| 58 | have hb := coheight_add_one_le (lt_of_le_not_ge hle hn) |
| 59 | norm_num only [hx] at hb |
| 60 | exact hb |
| 61 | |
| 62 | theorem primeSupport_divisor_coheight_two (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 63 | (x : X) (hx : coheight x = 1) |
| 64 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x)).functionField) |
| 65 | (y : X) (hy : Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x) g y ≠ 0) : |
| 66 | coheight y = 2 := by |
| 67 | have hlow := primeSupport_divisor_coheight_ge_two x hx g y hy |
| 68 | have hD := Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor_dimension f (irreducibleSetEquivPoints.symm x) g y hy |
| 69 | have hX := DivisorClass.Chern.SupportCodimension.Construction.pointClosure_dimension_add_one f x hx |
| 70 | have hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm y) f + 2 = |
| 71 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f := by omega |
| 72 | have hbound := Point.DimensionBound.BundleCycles.coheight_add_pointDimension_le f y |
| 73 | rw [← hdim, Nat.cast_add, Nat.cast_ofNat] at hbound |
| 74 | have hu : coheight y ≤ 2 := |
| 75 | (ENat.add_le_add_iff_right |
| 76 | (k := (Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm y) f : ℕ∞)) |
| 77 | (by simp)).mp (hbound.trans_eq (add_comm _ _)) |
| 78 | exact le_antisymm hu hlow |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Divisors.LineBundles.ResidueSupportCoheight.BundleCycles |