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.Affine.LocalDivisor |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SurfacePrimeCurve |
| 3 | |
| 4 | /-! # Surface Geometric Intersection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SurfaceGeometricIntersection.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # LineBundleCycles: actual geometric prime-support divisors recover the local surface orders |
| 14 | |
| 15 | The rational function is the actual quotient of a and c in R/P, carried |
| 16 | through the canonical quotient-spectrum and reduced-image isomorphisms. |
| 17 | Its geometric principal cycle has the previously computed rational order |
| 18 | as coefficient at the original local surface's closed point. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 22 | |
| 23 | variable {R : Type} [CommRing R] [IsNoetherianRing R] |
| 24 | |
| 25 | def surfacePrimeRationalCycle (a c : R) (P : Ideal R) [P.IsPrime] : Spec (CommRingCat.of R) →₀ ℚ := |
| 26 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (CycleClass.Geometric.StratumClosure.integralImageClosure (Affine.PrimeSupport.BundleCycles.affinePrimeQuotientMap R P)) |
| 27 | (Affine.LocalDivisor.BundleCycles.affinePrimeLocalFunction R P (SurfaceRationalOrderIntersection.BundleCycles.primeSupportRationalFunction a c P)) |
| 28 | |
| 29 | variable [IsDomain R] [IsLocalRing R] |
| 30 | |
| 31 | theorem surfacePrimeRationalCycle_eq_single (a c b : R) (hb : b ≠ 0) |
| 32 | (hdim : ringKrullDim R = 2) (P : Ideal R) (hP : P ∈ (Ideal.span {b}).minimalPrimes) : |
| 33 | letI : P.IsPrime := hP.isPrime |
| 34 | surfacePrimeRationalCycle a c P = |
| 35 | Finsupp.single (Affine.LocalDivisor.BundleCycles.affineLocalClosedPoint R) (SurfaceRationalOrderIntersection.BundleCycles.surfacePrimeRationalOrder a c b hb hdim P hP : ℚ) := by |
| 36 | let : P.IsPrime := hP.isPrime |
| 37 | exact Affine.LocalDivisor.BundleCycles.affinePrimeLocal_principalDivisor R P (SurfacePrimeCurve.BundleCycles.surfacePrimeQuotient_dimension b hb hdim P hP) |
| 38 | (SurfaceRationalOrderIntersection.BundleCycles.primeSupportRationalFunction a c P) |
| 39 | |
| 40 | theorem surfacePrimeRationalCycle_eq_length_difference (a c b : R) (hb : b ≠ 0) |
| 41 | (hdim : ringKrullDim R = 2) (P : Ideal R) (hP : P ∈ (Ideal.span {b}).minimalPrimes) |
| 42 | (ha : a ∉ P) (hc : c ∉ P) : |
| 43 | letI : P.IsPrime := hP.isPrime |
| 44 | surfacePrimeRationalCycle a c P = Finsupp.single (Affine.LocalDivisor.BundleCycles.affineLocalClosedPoint R) |
| 45 | ((PrimeIntersectionLength.BundleCycles.primeIntersectionQuotientLength a P : ℚ) - (PrimeIntersectionLength.BundleCycles.primeIntersectionQuotientLength c P : ℚ)) := by |
| 46 | let : P.IsPrime := hP.isPrime |
| 47 | rw [surfacePrimeRationalCycle_eq_single a c b hb hdim P hP, |
| 48 | SurfaceRationalOrderIntersection.BundleCycles.surfacePrimeRationalOrder_eq_difference a c b hb hdim P hP ha hc, |
| 49 | Int.cast_sub] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | /-! |
| 54 | # LineBundleCycles: the local surface formula as an equality of actual geometric cycles |
| 55 | |
| 56 | Sum the principal divisors on the actual prime quotient supports with |
| 57 | their local equation multiplicities. The entire geometric cycle equals |
| 58 | the computed rational intersection number at the closed point. |
| 59 | -/ |
| 60 | |
| 61 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 62 | open scoped Classical |
| 63 | |
| 64 | variable {R : Type} [CommRing R] [IsNoetherianRing R] |
| 65 | |
| 66 | def surfaceGeometricRationalSummand (a c b : R) (P : Ideal R) : Spec (CommRingCat.of R) →₀ ℚ := |
| 67 | if hP : P ∈ (Ideal.span {b}).minimalPrimes then |
| 68 | letI : P.IsPrime := hP.isPrime |
| 69 | (LocalizedEquationLength.BundleCycles.primeEquationMultiplicity b P hP.isPrime : ℚ) • surfacePrimeRationalCycle a c P |
| 70 | else 0 |
| 71 | |
| 72 | def surfaceGeometricRationalIntersection (a c b : R) : Spec (CommRingCat.of R) →₀ ℚ := |
| 73 | ∑ P ∈ (Ideal.finite_minimalPrimes_of_isNoetherianRing R (Ideal.span {b})).toFinset, |
| 74 | surfaceGeometricRationalSummand a c b P |
| 75 | |
| 76 | variable [IsDomain R] [IsLocalRing R] |
| 77 | |
| 78 | theorem surfaceGeometricRationalSummand_eq_single (a c b : R) (hb : b ≠ 0) |
| 79 | (hdim : ringKrullDim R = 2) (P : Ideal R) : |
| 80 | surfaceGeometricRationalSummand a c b P = Finsupp.single (Affine.LocalDivisor.BundleCycles.affineLocalClosedPoint R) |
| 81 | (SurfaceRationalOrderIntersection.BundleCycles.surfaceRationalIntersectionSummand a c b hb hdim P : ℚ) := by |
| 82 | by_cases hP : P ∈ (Ideal.span {b}).minimalPrimes |
| 83 | · let : P.IsPrime := hP.isPrime |
| 84 | rw [surfaceGeometricRationalSummand, dite_eq_left hP, |
| 85 | surfacePrimeRationalCycle_eq_single a c b hb hdim P hP, |
| 86 | Finsupp.smul_single, smul_eq_mul, SurfaceRationalOrderIntersection.BundleCycles.surfaceRationalIntersectionSummand, dite_eq_left hP, |
| 87 | Int.cast_mul, Int.cast_natCast] |
| 88 | · rw [surfaceGeometricRationalSummand, dite_eq_right hP, |
| 89 | SurfaceRationalOrderIntersection.BundleCycles.surfaceRationalIntersectionSummand, dite_eq_right hP, Int.cast_zero, Finsupp.single_zero] |
| 90 | |
| 91 | theorem surfaceGeometricRationalIntersection_eq_single (a c b : R) (hb : b ≠ 0) |
| 92 | (hdim : ringKrullDim R = 2) : |
| 93 | surfaceGeometricRationalIntersection a c b = Finsupp.single (Affine.LocalDivisor.BundleCycles.affineLocalClosedPoint R) |
| 94 | (SurfaceRationalOrderIntersection.BundleCycles.surfaceRationalIntersectionNumber a c b hb hdim : ℚ) := by |
| 95 | unfold surfaceGeometricRationalIntersection SurfaceRationalOrderIntersection.BundleCycles.surfaceRationalIntersectionNumber |
| 96 | rw [Int.cast_sum, Finsupp.single_finsetSum] |
| 97 | exact Finset.sum_congr rfl (fun P _ => surfaceGeometricRationalSummand_eq_single a c b hb hdim P) |
| 98 | |
| 99 | theorem surfaceGeometricRationalIntersection_eq_difference (a c b : R) (hb : b ≠ 0) |
| 100 | (hdim : ringKrullDim R = 2) |
| 101 | (hab : (Ideal.span {a, b}).radical = IsLocalRing.maximalIdeal R) |
| 102 | (hcb : (Ideal.span {c, b}).radical = IsLocalRing.maximalIdeal R) : |
| 103 | surfaceGeometricRationalIntersection a c b = Finsupp.single (Affine.LocalDivisor.BundleCycles.affineLocalClosedPoint R) |
| 104 | ((SurfaceIntersectionFormula.BundleCycles.surfaceIntersectionNumber a b : ℚ) - (SurfaceIntersectionFormula.BundleCycles.surfaceIntersectionNumber c b : ℚ)) := by |
| 105 | rw [surfaceGeometricRationalIntersection_eq_single a c b hb hdim, |
| 106 | SurfaceRationalOrderIntersection.BundleCycles.surfaceRationalIntersectionNumber_eq_sub a c b hb hdim hab hcb, Int.cast_sub] |
| 107 | |
| 108 | theorem surfaceGeometricRationalIntersection_eq_opposite_difference |
| 109 | (a c b : R) (ha : a ≠ 0) (hc : c ≠ 0) (hb : b ≠ 0) |
| 110 | (hdim : ringKrullDim R = 2) |
| 111 | (hab : (Ideal.span {a, b}).radical = IsLocalRing.maximalIdeal R) |
| 112 | (hcb : (Ideal.span {c, b}).radical = IsLocalRing.maximalIdeal R) : |
| 113 | surfaceGeometricRationalIntersection a c b = Finsupp.single (Affine.LocalDivisor.BundleCycles.affineLocalClosedPoint R) |
| 114 | ((SurfaceIntersectionFormula.BundleCycles.surfaceIntersectionNumber b a : ℚ) - (SurfaceIntersectionFormula.BundleCycles.surfaceIntersectionNumber b c : ℚ)) := by |
| 115 | rw [surfaceGeometricRationalIntersection_eq_single a c b hb hdim, |
| 116 | SurfaceRationalOrderIntersection.BundleCycles.surfaceRationalIntersectionNumber_eq_opposite_sub a c b hb hdim hab hcb ha hc, Int.cast_sub] |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SurfaceGeometricIntersection.BundleCycles |