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.Branch.ImageLength |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.SubmoduleEuler |
| 3 | |
| 4 | /-! # Image Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.ImageEuler.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: equation Euler values on actual differential images |
| 12 | |
| 13 | The branch filtration formula applies to the actual differential |
| 14 | image, whose generic length has now been computed independently. |
| 15 | -/ |
| 16 | |
| 17 | variable {R : Type*} [CommRing R] [IsNoetherianRing R] [IsDomain R] [IsLocalRing R] |
| 18 | |
| 19 | local instance branchImageEulerAddCommGroup (a b r : R) (P : Ideal R) [P.IsPrime] : |
| 20 | AddCommGroup (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range := |
| 21 | (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range.addCommGroup |
| 22 | |
| 23 | local instance branchImageEulerModule (a b r : R) (P : Ideal R) [P.IsPrime] : |
| 24 | Module R (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range := |
| 25 | (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range.module |
| 26 | |
| 27 | theorem branchImage_equation_lengths_finite (a b r x : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 28 | (hdim : ringKrullDim R = 2) (P : Ideal R) [P.IsPrime] |
| 29 | (hP : P ∈ (Ideal.span {a * b}).minimalPrimes) (hx : x ∉ P) : |
| 30 | Module.length R (MultiplicationSequence.BundleCycles.equationKernel x (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range) ≠ ⊤ ∧ |
| 31 | Module.length R (MultiplicationSequence.BundleCycles.equationCokernel x (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range) ≠ ⊤ := |
| 32 | SubmoduleEuler.BundleCycles.branchSubmodule_equation_lengths_finite (a * b) x (mul_ne_zero ha hb) hdim P hP hx _ |
| 33 | |
| 34 | theorem branchImage_equationEuler_eq_local_length (a b r x : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 35 | (hdim : ringKrullDim R = 2) (P : Ideal R) [P.IsPrime] |
| 36 | (hP : P ∈ (Ideal.span {a * b}).minimalPrimes) (hx : x ∉ P) |
| 37 | (hK : Module.length R (MultiplicationSequence.BundleCycles.equationKernel x (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range) ≠ ⊤) |
| 38 | (hC : Module.length R (MultiplicationSequence.BundleCycles.equationCokernel x (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range) ≠ ⊤) : |
| 39 | EquationEulerLength.BundleCycles.equationEulerLength x (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range hK hC = |
| 40 | ((Module.length (Localization P.primeCompl) |
| 41 | (LocalizedModule P.primeCompl (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range)).toNat : ℤ) * |
| 42 | PrimeIntersectionLength.BundleCycles.primeIntersectionQuotientLength x P := |
| 43 | SubmoduleEuler.BundleCycles.branchSubmoduleEquationEuler_eq_local_length (a * b) x (mul_ne_zero ha hb) hdim P hP hx _ |
| 44 | |
| 45 | def branchImageEuler (a b r x : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 46 | (hdim : ringKrullDim R = 2) (P : Ideal R) [P.IsPrime] |
| 47 | (hP : P ∈ (Ideal.span {a * b}).minimalPrimes) (hx : x ∉ P) : ℤ := |
| 48 | EquationEulerLength.BundleCycles.equationEulerLength x (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range |
| 49 | (branchImage_equation_lengths_finite a b r x ha hb hdim P hP hx).1 |
| 50 | (branchImage_equation_lengths_finite a b r x ha hb hdim P hP hx).2 |
| 51 | |
| 52 | theorem branchImageEuler_eq_local_length (a b r x : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 53 | (hdim : ringKrullDim R = 2) (P : Ideal R) [P.IsPrime] |
| 54 | (hP : P ∈ (Ideal.span {a * b}).minimalPrimes) (hx : x ∉ P) : |
| 55 | branchImageEuler a b r x ha hb hdim P hP hx = |
| 56 | ((Module.length (Localization P.primeCompl) |
| 57 | (LocalizedModule P.primeCompl (MultiplicationSequence.BundleCycles.equationEndomorphism r (PeriodicComplex.BundleCycles.productBranchModule a b P)).range)).toNat : ℤ) * |
| 58 | PrimeIntersectionLength.BundleCycles.primeIntersectionQuotientLength x P := |
| 59 | branchImage_equationEuler_eq_local_length a b r x ha hb hdim P hP hx _ _ |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.ImageEuler.BundleCycles |