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.EquationEulerLength |
| 2 | import Mathlib.Algebra.Module.Submodule.Equiv |
| 3 | |
| 4 | /-! # Equation Euler Equiv -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.EquationEulerEquiv.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: multiplication Euler lengths under actual module isomorphisms |
| 12 | |
| 13 | Linearity gives compatibility with multiplication by the equation. |
| 14 | The induced kernel and cokernel isomorphisms preserve their finite |
| 15 | lengths, allowing prime-filtration factors to use their actual R/p |
| 16 | presentations. |
| 17 | -/ |
| 18 | |
| 19 | variable {R M N : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 20 | [AddCommGroup N] [Module R N] (a : R) (e : M ≃ₗ[R] N) |
| 21 | |
| 22 | theorem equationKernel_map_equiv : (MultiplicationSequence.BundleCycles.equationKernel a M).map e.toLinearMap = MultiplicationSequence.BundleCycles.equationKernel a N := by |
| 23 | ext y |
| 24 | constructor |
| 25 | · rintro ⟨x, hx, rfl⟩ |
| 26 | change a • e x = 0 |
| 27 | change a • x = 0 at hx |
| 28 | exact (e.map_smul a x).symm.trans ((congrArg e hx).trans e.map_zero) |
| 29 | · intro hy |
| 30 | refine ⟨e.symm y, ?_, e.apply_symm_apply y⟩ |
| 31 | change a • e.symm y = 0 |
| 32 | change a • y = 0 at hy |
| 33 | exact (e.symm.map_smul a y).symm.trans ((congrArg e.symm hy).trans e.symm.map_zero) |
| 34 | |
| 35 | def equationKernelEquiv : MultiplicationSequence.BundleCycles.equationKernel a M ≃ₗ[R] MultiplicationSequence.BundleCycles.equationKernel a N := |
| 36 | e.ofSubmodules _ _ (equationKernel_map_equiv a e) |
| 37 | |
| 38 | theorem equationRange_map_equiv : |
| 39 | (MultiplicationSequence.BundleCycles.equationEndomorphism a M).range.map e.toLinearMap = (MultiplicationSequence.BundleCycles.equationEndomorphism a N).range := by |
| 40 | ext y |
| 41 | constructor |
| 42 | · rintro ⟨_, ⟨x, rfl⟩, rfl⟩ |
| 43 | exact ⟨e x, (e.map_smul a x).symm⟩ |
| 44 | · rintro ⟨x, rfl⟩ |
| 45 | refine ⟨a • e.symm x, ⟨e.symm x, rfl⟩, ?_⟩ |
| 46 | exact (e.map_smul a (e.symm x)).trans (congrArg (fun y => a • y) (e.apply_symm_apply x)) |
| 47 | |
| 48 | def equationCokernelEquiv : MultiplicationSequence.BundleCycles.equationCokernel a M ≃ₗ[R] MultiplicationSequence.BundleCycles.equationCokernel a N := |
| 49 | Submodule.Quotient.equiv _ _ e (equationRange_map_equiv a e) |
| 50 | |
| 51 | include e |
| 52 | |
| 53 | theorem equationKernel_length_equiv : Module.length R (MultiplicationSequence.BundleCycles.equationKernel a M) = Module.length R (MultiplicationSequence.BundleCycles.equationKernel a N) := |
| 54 | (equationKernelEquiv a e).length_eq |
| 55 | |
| 56 | theorem equationCokernel_length_equiv : Module.length R (MultiplicationSequence.BundleCycles.equationCokernel a M) = Module.length R (MultiplicationSequence.BundleCycles.equationCokernel a N) := |
| 57 | (equationCokernelEquiv a e).length_eq |
| 58 | |
| 59 | theorem equationEulerLength_equiv |
| 60 | (hKM : Module.length R (MultiplicationSequence.BundleCycles.equationKernel a M) ≠ ⊤) |
| 61 | (hCM : Module.length R (MultiplicationSequence.BundleCycles.equationCokernel a M) ≠ ⊤) |
| 62 | (hKN : Module.length R (MultiplicationSequence.BundleCycles.equationKernel a N) ≠ ⊤) |
| 63 | (hCN : Module.length R (MultiplicationSequence.BundleCycles.equationCokernel a N) ≠ ⊤) : |
| 64 | EquationEulerLength.BundleCycles.equationEulerLength a M hKM hCM = EquationEulerLength.BundleCycles.equationEulerLength a N hKN hCN := by |
| 65 | unfold EquationEulerLength.BundleCycles.equationEulerLength |
| 66 | rw [equationKernel_length_equiv a e, equationCokernel_length_equiv a e] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Divisors.LineBundles.EquationEulerEquiv.BundleCycles |