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.ProductPeriodicComplex |
| 2 | import Mathlib.RingTheory.OrderOfVanishing.Basic |
| 3 | |
| 4 | /-! # Product Equation Image -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.ProductEquationImage.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: the actual image of multiplication on the product quotient |
| 12 | |
| 13 | When a is nonzero in a domain, multiplication by a identifies R/(b) |
| 14 | with its image in R/(ab). Its module length is consequently the actual |
| 15 | order of b, without a numerical multiplicity hypothesis. |
| 16 | -/ |
| 17 | |
| 18 | variable {R : Type*} [CommRing R] |
| 19 | |
| 20 | def productEquationImageProjection (a b : R) : |
| 21 | R →ₗ[R] (MultiplicationSequence.BundleCycles.equationEndomorphism a (ProductPeriodicComplex.BundleCycles.productEquationQuotient a b)).range := |
| 22 | (MultiplicationSequence.BundleCycles.equationEndomorphism a (ProductPeriodicComplex.BundleCycles.productEquationQuotient a b)).rangeRestrict.comp (Ideal.span {a * b}).mkQ |
| 23 | |
| 24 | theorem productEquationImageProjection_surjective (a b : R) : |
| 25 | Function.Surjective (productEquationImageProjection a b) := by |
| 26 | rintro ⟨_, q, rfl⟩ |
| 27 | obtain ⟨r, rfl⟩ := (Ideal.span {a * b}).mkQ_surjective q |
| 28 | exact ⟨r, rfl⟩ |
| 29 | |
| 30 | theorem productEquationImageProjection_kernel [IsDomain R] (a b : R) (ha : a ≠ 0) : |
| 31 | (productEquationImageProjection a b).ker = Ideal.span {b} := by |
| 32 | ext r |
| 33 | constructor |
| 34 | · intro hr |
| 35 | have hz : (Ideal.span {a * b}).mkQ (a * r) = 0 := congrArg Subtype.val hr |
| 36 | obtain ⟨d, hd⟩ := Ideal.mem_span_singleton.mp ((Submodule.Quotient.mk_eq_zero _).mp hz) |
| 37 | exact Ideal.mem_span_singleton.mpr ⟨d, mul_left_cancel₀ ha (hd.trans (mul_assoc a b d))⟩ |
| 38 | · intro hr |
| 39 | obtain ⟨d, rfl⟩ := Ideal.mem_span_singleton.mp hr |
| 40 | apply Subtype.ext |
| 41 | change (Ideal.span {a * b}).mkQ (a * (b * d)) = 0 |
| 42 | apply (Submodule.Quotient.mk_eq_zero _).mpr |
| 43 | exact Ideal.mem_span_singleton.mpr ⟨d, (mul_assoc a b d).symm⟩ |
| 44 | |
| 45 | def productEquationImageEquiv [IsDomain R] (a b : R) (ha : a ≠ 0) : |
| 46 | (MultiplicationSequence.BundleCycles.equationEndomorphism a (ProductPeriodicComplex.BundleCycles.productEquationQuotient a b)).range ≃ₗ[R] R ⧸ Ideal.span {b} := |
| 47 | ((productEquationImageProjection a b).quotKerEquivOfSurjective |
| 48 | (productEquationImageProjection_surjective a b)).symm.trans |
| 49 | (Submodule.quotEquivOfEq _ _ (productEquationImageProjection_kernel a b ha)) |
| 50 | |
| 51 | theorem productEquationImage_length [IsDomain R] (a b : R) (ha : a ≠ 0) : |
| 52 | Module.length R (MultiplicationSequence.BundleCycles.equationEndomorphism a (ProductPeriodicComplex.BundleCycles.productEquationQuotient a b)).range = Ring.ord R b := |
| 53 | (productEquationImageEquiv a b ha).length_eq |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Divisors.LineBundles.ProductEquationImage.BundleCycles |